Scilab in Eclipse

Tima meni.tima at hotmail.com
Wed May 9 09:47:39 CEST 2012


Hi, 
Thanks for your reply ^^
 I try it from me, but Eclipse, always, don't know SCI variable!
You define the variable in /etc/bash.bachrc , right? 

I tried with another method, by define a makefile where I put this lines:
********************
/SCI = /usr/share/scilab
CLASSPATH =
$(SCI)/modules/javasci/jar/org.scilab.modules.javasci.jar:$(SCI)/modules/types/jar/org.scilab.modules.types.jar
LIB_PATH = /usr/lib/scilab
all:
	javac -cp $(CLASSPATH) Example1.java
	java -cp $(CLASSPATH). -DSCI=$(SCI) -Djava.library.path=$(LIB_PATH)
Example1/
********************

but when I do* make all*, it appears: 

******************
/Exception in thread "main" java.lang.NoClassDefFoundError: Example1
Caused by: java.lang.ClassNotFoundException: Example1
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: Example1. Program will exit.
make: *** [all] Error 1/

******************


there is something missing in my makefile ??
Help Please! Really, It make me stuck!!
Regards,
Tima

--
View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3973422.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list