|
|
|
|||||
|
Problem executing IceJ
Hi,
I have been developing aplications with Ice in C++, and now I am trying to use java with eclipse in Linux instead of C++. I hadn't problems with the installation, and the application I am now developing compile perfectly, but when I try to execute it, it throws this exception: > java.lang.NoClassDefFoundError: IceStorm/NoSuchTopic: Ice/UserException If I comment the code using IceStorm, then I get this exception: > java.lang.NoClassDefFoundError: Ice/Object or the same, but with Ice/Util instead of Ice/Object I have added the external jar and all the configuration of the buildpath seems to be right, so I don't know what is happening. Do you have any idea? Thanks for your time
__________________
Name: Fernando García Gómez Company: UPM (Politecnic University of Madrid), electronic engineering department. (http://www.die.upm.es/ ) Project: SLUG (not url yet) |
|
|||||
|
Hello!
Have you established the classpath including the directory of the generated code and the externals .jar when you run your application? In my case, I use the following command included in my Makefile: java -classpath classes/:/usr/share/java/Ice.jar Agent Regards.
__________________
Full name: David Vallejo Fernández University of Castilla-La Mancha (Spain) ICE Project: basic-fipa-multiagentsystem |
|
|||||
|
Hi David,
yes I have included all the necessary .jar files in the eclipse project, I am using IceEJ show I have included /usr/share/java/IceE-1.1.0.jar. The problem is that it seems to recognize all the paths because I haven't problems during the compilation, the problems appears at the execution. Thanks (gracias)
__________________
Name: Fernando García Gómez Company: UPM (Politecnic University of Madrid), electronic engineering department. (http://www.die.upm.es/ ) Project: SLUG (not url yet) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IceJ and Eclipse | albertods | Help Center | 0 | 10-19-2006 01:08 PM |
| IceJ 3.1.0 Problem | rc_hz | Help Center | 2 | 08-17-2006 05:47 AM |
| Too many open files with IceJ | lucsat | Help Center | 4 | 11-01-2005 08:34 AM |
| IceJ and Ice C++ | damingyipai | Help Center | 2 | 03-19-2004 12:37 AM |
| DB 4.0.14 and IceJ problems | christoph | Bug Reports | 5 | 03-03-2003 04:54 AM |