Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Woody FX

Retroguard: Exception in tread

This topic is 5402 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

A problem with retroguard! Here is the full message i get when after compiling and while obfuscating java RetroGuard step1.jar step2.jar script.rgs Then the message i get returned after this line is Exception in thread "main" java.lang.NoClassDefFoundError : RetorGuard unjar into tmpclasses Anybody got an idea what could be causing this ? I know it is a long shot !! Brian thanks

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I don''t really do java, but NoClassDefFoundError might mean it can''t find the class with the main function.

Share this post


Link to post
Share on other sites
Set the classpath when you run the Retroguard.
For example, our development batch file runs retroguard as follows


"%JDK_PATH%\bin\java" -classpath "%RETROGUARD_PATH%\retroguard.jar";"%EMPTYAPI_PATH%\emptyapi.zip";"%NOKIA_PATH%\lib\classes.zip";. RetroGuard "%JAR_FILE%" "..\%JAR_FILE%" ..\exclude.rgs

Where emptyapi.zip is the class files to link to for MIDP1.
Make a search on java.sun.com, there''s some information there as well

Share this post


Link to post
Share on other sites
The problem was the retroguard folder was moved!!

Thanks for the help lads!!

[edited by - Woody FX on March 2, 2004 7:44:31 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The problem was the retroguard folder was moved!!

Thanks for the help lads!!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!