Problem using Sun ONE Studio 4 to create a jad.

Started by
1 comment, last by Moose6912 19 years, 8 months ago
When i create a JAD using their build function and try to run it.I get a "Unable to load Imageset class" error.I've already included the imageset class into the jar contents.The .class file is not present in the folder even though i've compiled the .java file without error.The imageset.java file was originally copied over from another folder. [Edited by - Moose6912 on August 15, 2004 6:36:12 AM]
Advertisement
I have found the build system in Sun ONE to be quite picky.. and since I wanted to add things like precompiling, obfuscation and preverifying, I skip the standard compile completely and use Ant scripts (like multiplatform make files) to do my building.. it works a treat and you have total control. I believe there is even an ant library called antenna with J2ME specific tasks, though I've yet to try it out.
Have a look in the Sun ONE help. It has a help set dedicated to Ant. There's also an ant wizard that will let you create basic ant scripts that you can build on. Once you have set up an ant, you can right click on it in the interface and all your build targets are selectable.

If anyone has any better suggestions, please feel free to correct me :)
Thank you.I will look into ant scripts soon.

This topic is closed to new replies.

Advertisement