osama-raddad / encog-java

Automatically exported from code.google.com/p/encog-java
0 stars 0 forks source link

Cannot start the Encog Workbench #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the Encog Workbench
2. chmod +x workbench.sh
3. ./workbench.sh

What is the expected output? What do you see instead?
Instead of getting the application window coming up, I get this:

deadlock@netbux:~/Desktop/encog-workbench/encog-workbench-univ-2.0.0$ ls
copyright.txt  jar  workbench.bat  workbench.sh
deadlock@netbux:~/Desktop/encog-workbench/encog-workbench-univ-2.0.0$
./workbench.sh 
Exception in thread "main" java.lang.NoClassDefFoundError:
org/encog/workbench/EncogWorkBench
Caused by: java.lang.ClassNotFoundException: org.encog.workbench.EncogWorkBench
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
.  Program will exit.in class: org.encog.workbench.EncogWorkBench
deadlock@netbux:

What version of the product are you using? On what operating system?
2.0

Please provide any additional information below.

Original issue reported on code.google.com by Markos.F...@gmail.com on 16 Aug 2009 at 7:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Forgot to mention that I am running the program in Ubuntu Linux with JRE 1.6 
installed

deadlock@netbux:~/Desktop/encog-workbench/encog-workbench-univ-2.0.0/jar$ java 
-version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
deadlock@netbux:~/Desktop/encog-workbench/encog-workbench-univ-2.0.0/jar$ 

Original comment by Markos.F...@gmail.com on 16 Aug 2009 at 7:24

GoogleCodeExporter commented 9 years ago
Hi!

I've encounter the same issue. The problem is backslashes in classpath, you 
need to 
change it to forward slashes.
Here is a correct workbench.sh file:

#!/bin/sh
java -classpath 
jar/encog-core-2.1.0.jar:jar/encog-workbench-2.1.0.jar:jar/jcommon-
1.0.16.jar:jar/jfreechart-1.0.13.jar:jar/slf4j-api-1.5.6.jar:jar/slf4j-jdk14-
1.5.6.jar org.encog.workbench.EncogWorkBench

Original comment by Dmitry.S...@gmail.com on 3 Sep 2009 at 8:44

GoogleCodeExporter commented 9 years ago
I have the same problem and fixing the backslashes does not make a difference. 
OS X 10.6.

Original comment by blbro...@gmail.com on 22 Feb 2010 at 2:50

GoogleCodeExporter commented 9 years ago
I had the same problem in 10.6.2. I've attached the Workbench bundled as an
application so you can just double-click.

Original comment by jaschaep...@gmail.com on 19 Mar 2010 at 6:09

Attachments:

GoogleCodeExporter commented 9 years ago
The file attached by jaschaephraim does not work for me. Please find attached a
compressed file with an executable jar and a lib/ folder. They both have to be 
in the
same folder. I have tested it in Deian, Ubuntu and Windows XP and works 
properly.

Original comment by raulve...@gmail.com on 28 Apr 2010 at 7:44

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry I should have specified that I was referring to OS X 10.6.2 in response 
to an
earlier comment. It should work in OS X 10.6.

Original comment by jaschaep...@gmail.com on 28 Apr 2010 at 7:50

GoogleCodeExporter commented 9 years ago
Corrected the script generator.  The workbench.sh now has the correct path char.

Original comment by heatonre...@gmail.com on 18 Sep 2010 at 11:23

GoogleCodeExporter commented 9 years ago
After creating new project,though I creat file with 2 characters, I can not 
create training set and can not work to train and test.Please reply me Encog 
Workbench running step by step.

 Thank you.

Original comment by ayemyath...@gmail.com on 15 Mar 2013 at 9:26