LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2008, 05:18 AM   #1
canonas
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Exclamation Exception in thread "main" java.lang.NoClassDefFoundError: org/aspectj/lang/Signature


Hey
I have been trying to use compiler for Argos...and badly the person who developed it is not reachable.The compiler is given in jar file and needs java 1.5 ,java bdd, and aspect j 1.5 to be in the class path...but whenever i issue (as specified) java5 backends.ArgosCompiler

i get the error

ps: java 5 is an alias for my jdk/1.5.0/java/bin


just search for Argos Compiler on google and follow the first result...have a look...


I have set the classpath,

glieres:~/aspectj1.5/bin/argosCompiler.jar_FILES$ echo $CLASSPATH
/usr/local/soft/jdk/1.5.0/:/home/saxena/aspectj1.5/lib/aspectjrt.jar:/home/saxena/javaBDD/JavaBDD/


and java_home

glieres:~/aspectj1.5/bin/argosCompiler.jar_FILES$ echo $JAVA_HOME
/usr/local/soft/jdk/1.5.0/



I have tried it many times..but I keep getting the same error as mentioned above.

and my java version :
glieres:~/aspectj1.5/bin/argosCompiler.jar_FILES$ java5 -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

Last edited by canonas; 06-13-2008 at 05:21 AM.
 
Old 06-14-2008, 06:38 AM   #2
wget
LQ Newbie
 
Registered: Apr 2008
Distribution: Slackware 12.0 Kernel 2.6.25, LFS 2.6.25.1 Kernel
Posts: 25

Rep: Reputation: 15
I tried it and managed to get it running, here's what I did if it helps:

Downloaded aspect1.5.0 javabdd argosCompiler.jar

I ran the installer for aspect-1.5.0.jar - java -jar aspect-1.5.0.jar and installed it in my home directory

Unpacked the javabdd to my Desktop
argosCompiler.jar was downloaded to my desktop too

ran:

java -cp /home/gary/aspectj1.5/lib/aspectjrt.jar:/home/gary/Desktop/JavaBDD/javabdd-1.0b2.jar:/home/gary/Desktop/argosCompiler.jar backends.ArgosCompiler


and it appears to work (what ever it is)
 
Old 06-16-2008, 03:59 AM   #3
canonas
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
hey thanks ...i was doing the same thing but a little stupidity..

Last edited by canonas; 06-16-2008 at 04:01 AM.
 
Old 06-16-2008, 04:00 AM   #4
canonas
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Wink

java5 -cp /home/saxena/aspectj1.5/lib/aspectjrt.jar : JavaBDD/javabdd-1.0b2.jar :argosCompiler.jar backends.ArgosCompiler what i was doing was using the tab fill in the folder names and which led to mean something else to shell...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception in thread "main" java.lang.NoClassDefFoundError: LinuxNewbie999 Programming 2 03-24-2008 12:12 AM
Exception in thread "main" java.lang.ClassFormatError: onmyown.Main (unrecognized cla zimboney Fedora 4 07-20-2007 01:00 PM
Exception in thread "main" java.lang.UnsupportedClassVersionError manolakis Programming 2 01-20-2007 10:56 AM
Exception in thread "main" java.lang.NoClassDefFoundError: Lobais Linux - Software 19 06-23-2004 08:42 AM
Exception in thread "main" java.lang.NoClassDefFoundError: melinda_sayang Programming 2 04-27-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration