Hi Niels, thanks for your help but I guess it doesn't work. I tried the
command that you gave me and this is what I got:


e...@eman-laptop:~$ java -classpath /usr/local/ilog/cplex90/lib/cplex.jar\ 
-Djava.library.path=3D /usr/local/ilog/cplex90/lib/i86_linux2_glibc2.3_gcc3.2 
LPex1Exception in thread "main" java.lang.NoClassDefFoundError: 
.usr.local.ilog.cplex90.lib.i86_linux2_glibc2.3_gcc3.2
   at gnu.java.lang.MainThread.run(libgcj.so.90)
Caused by: java.lang.ClassNotFoundException: 
.usr.local.ilog.cplex90.lib.i86_linux2_glibc2.3_gcc3.2 not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.90)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at gnu.java.lang.MainThread.run(libgcj.so.90)


I think I am missing up things so I will give you what I have done:

The LPex1.java under my home directory

the ilog folder is under the /usr/local folder which has the .jar file
in the library at the mintioned path

they are in different directories so if I want to run the LPex1 should I
save it under the /usr/local directory!

the following was the way that I got from the ilogcplex tutorial to run
java:

e...@eman-laptop:~$ javac -classpath /usr/local/ilog/cplex90/lib/cplex.jar 
LPex1.java
e...@eman-laptop:~$ java 
-Djava.library.path=/usr/local/ilog/cplex90/bin/i86_linux2_glibc2.3_gcc3.2 
LPex1Exception in thread "main" java.lang.NoClassDefFoundError: LPex1
   at gnu.java.lang.MainThread.run(libgcj.so.90)
Caused by: java.lang.ClassNotFoundException: LPex1 not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/local/ilog/cplex90/lib/cplex.jar],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.90)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at gnu.java.lang.MainThread.run(libgcj.so.90)

-- 
Eclipse did not install AppletViewer
https://bugs.launchpad.net/bugs/323763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to