/srv/irclogs.ubuntu.com/2010/02/04/#ubuntu-java.txt

eon01hello04:21
eon01I have problems with instalation of JADE in Ubuntu04:21
eon01Any one here ?04:21
nthykiereon01: what is the issue?06:43
eon01Hello nthykier , when I execute " java jade.Boot –gui " I have errors06:52
eon01Exception in thread "main" java.lang.NoClassDefFoundError: jade/Boot06:52
eon01nthykier, I configured classpath correctly with the 4 jar files of JADE06:53
nthykiereon01: Are you sure it is called "jade.Boot" or that the jars in the classpath are all spelled correctly, because that is about my best guess here07:12
eon01nthykier, Yes Jars in the classpath are correctly spelled , in the end of the error I see this : Could not find the main class: jade.Boot.  Program will exit.07:13
persiaeon01: Which release?07:14
eon013.707:14
eon01persia, 3.707:15
persiaThat's for jade?  Which Ubuntu release?07:16
eon01persia, 9.1007:17
persiaNo idea then.  You're sure to meet the JRE requirements for JADE.07:18
nthykierI get the same error if I run: java non-existant-class - I don't think it is the JRE that fails07:19
eon01yes , I'm not sure about setting the JAVA_HOME persia07:19
nthykierHow do you set the classpath? Environment variable?07:20
eon01sudo gedit /etc/environment07:20
eon01then add the jars to the classpath07:21
nthykierwhat does env | grep -i CLASSPATH print?07:21
eon01oops it prints nothing07:22
persiaMy memory is that nothing ever sources /etc/environment, but rather that some tools will extract specific values from it.07:23
persiaI forget precisely the file, but try adding it to something like ~/.Xsession07:23
persiaAlternately, try from the command line with `CLASSPATH=... java jade.Boot -gui`07:24
persia(where ... is replaced with the actual value you wanted)07:24
eon01persia, I tried this : CLASSPATH..... java jade.Boot and I think it works07:27
persiaIn that case, it's definitely the CLASSPATH setting that's not exported to your environment.  If you want to launch it from a .desktop file, you're going to have to find a way to export the variable to your entire session.07:28
nthykieror wrap the java call in shell script that sets the CLASSPATH07:28
eon01Agent container Main-Container@eon-Spider is ready.07:29
eon01but I dont see any GUI ?!07:29
* persia doesn't know anything at all about JADE07:30
* nthykier does not either07:32
eon01me too , it's my first time working with JADE07:33
eon01Java wiith Linux is so obscure  :(((07:34
eon01Thanks for help guys , nthykier , persia :)))07:36
nthykieryou are welcome07:36

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!