Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I am trying to make NativeJ load MyApp.class, but I can seem to do so. How do I add MyApp.class to the CLASSPATH?

Classpath load nativej
0
Posted

I am trying to make NativeJ load MyApp.class, but I can seem to do so. How do I add MyApp.class to the CLASSPATH?

0

Typically, you should package MyApp.class into a jar file, and add the jar file to the CLASSPATH. You can find more information about creating jar files here. However, if for some reason you only wish to use the class file, you can add a single period “.” to the CLASSPATH, in which case NativeJ will look for class files under the same directory as the EXE.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123