Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need Help Exporting a jar File with Eclipse

807569Aug 3 2006 — edited Aug 6 2006
Ok, i feel like an idiot...maybe i am. I just posted a question, and 2 seconds later i have anouther problem...lame.

So, i am trying to export a jar file using eclipse. My classes use SysTray for Java (http://systray.sourceforge.net/) so i had to add the systray jar file to the build path. When i export, how can i export both my classes and the SysTray for java jar?

Right now, i am only able to export my classes, and when i try to execure the jar, it tells me that no main class could be detected even though i selected it in the export options. I imagine that the problem originates from the fact that i am not able to export both jar files, and thus the import statement import snoozesoft.systray4j.*; causes the program to crash.

Help would be apprecieted, thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2006
Added on Aug 3 2006
3 comments
149 views