Skip to Main Content

New to Java

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!

How do you make a .class file?

807599Mar 24 2007 — edited Mar 24 2007
When I said you in the subject i literally meant you. I have been trying to compile an application into an executable with a native compiler for a long time now and I have finally figured out what the problem is. I use jGrasp to develop, compile, and run all the applications that I write in Java. Well apparently jGrasp does not make good enough .class files. I tried compiling my program and I kept getting the same error whenever I tried. When I tried compiling one of the samples that came with the native compiler that I'm using, it worked. I opened the sample application in jGrasp, deleted the .class file, and compiled and ran it in jGrasp thereby creating a new .class file. This time when I tried to compile their sample program, I got the same errors as mine. So what program are you supposed to use to make a .class file? How do you personally do it?

thanks, lateralus
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2007
Added on Mar 24 2007
9 comments
1,137 views