How to make a .class file into a .java file?

figment
Asked Dec 31, 2009
Not 100% sure here as I'm taking java NEXT semester, but I'll take a stab at it. It sounds to me like you simply need to open whatever program you're writing your code in, and compile the entire thing into a java file as opposed to just saving it as a class.
Oni_Kami
Answered Dec 31, 2009
How do i compile it as a java?

Do i write
commands.java then compile?
figment Dec 31, 2009
Depends on the program you're using. Some programs it's as simple as going File>Export, where as others it can be much more complicated, and some programs will even require a third party compiler.
what you mean?
This is pic of what im talking about

[IMG]http://i45.tinypic.com/2ugea2g.jpg[/IMG]
figment Dec 31, 2009
Well why is it that you need to make this a .java file? Looks like you're creating a game, but what is it that you're trying to do that requires this to go from .class to .java?
I have to add stuff to that file. Which i can't see any thing without it.

Actually its a private server.
figment Dec 31, 2009

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories