[scilab-Users] use scilab with existing java

e-letter inpost at gmail.com
Thu Nov 3 00:09:26 CET 2011


On 02/11/2011, Sylvestre Ledru <sylvestre.ledru at scilab.org> wrote:
>> The bash profile file contains:
>>
>> export JAVA_HOME=/usr/local/java/java/jre/bin/java
> This declaration is wrong.
> JAVA_HOME must point to a path which should be
> /usr/local/java/java
> here
>

But this works for other java programs?

> JAVA_HOME=/usr/local/java/java scilab
> should start Scilab
>

scilab didn't start, command terminal output:

/usr/local/java/java/jre/bin/java /usr/local/scilab/scilab/bin/scilab
Exception in thread "main" java.lang.NoClassDefFoundError:
.usr.local.scilab.scilab.bin.scilab
Caused by: java.lang.ClassNotFoundException: .usr.local.scilab.scilab.bin.scilab
	at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
Could not find the main class: /usr/local/scilab/scilab/bin/scilab.
Program will exit.

> FYI,
> SCIVERBOSE=1 scilab
> will give you some debug information.
>

Sorry but it is not understood how to use this command



More information about the users mailing list