plane in simple i got a program on my computer that has the file extention ".java"
what program would i need to run this?
Page 1 of 1
Java
#2
Posted 28 October 2008 - 06:13 PM
A file with the extension .java is an uncompiled java file; in other words, it is just a plain text file. In order to run it, one would need to compile the file into a .class file. The Java Runtime Environment has all of the necessary files to compile the .java file. After it is compiled, your computer should automagically know what to do with it.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens
#4
Posted 30 October 2008 - 06:58 PM
To compile it? You would use javac.exe, which is part of the java SDK.
Java SE Development kit
How to use the compiler
Where to go when you need help
Compiling a .java file is way too long of an explanation, so you will need to do the legwork yoursefl. Are you just wondering what the code does? Or do you know what the code does, and you want to run it?
Java SE Development kit
How to use the compiler
Where to go when you need help
Compiling a .java file is way too long of an explanation, so you will need to do the legwork yoursefl. Are you just wondering what the code does? Or do you know what the code does, and you want to run it?
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens
#6
Posted 03 November 2008 - 06:27 PM
You might be able to get a java developer like bluej or something else. It might not work but hell, its a chance.
BlueJ
Unfortunately you also need JDK 5 or 6 not JRE to run it. There is a link to it on bluej's website.
All you have to do is create a project. stick the .java file in the project folder (Created for you by BlueJ) and reopen BlueJ then if you see an orange box with a name on it (doesn't matter whatthe name is) hit Ctrl-K to compile. Hope that helps
BlueJ
Unfortunately you also need JDK 5 or 6 not JRE to run it. There is a link to it on bluej's website.
All you have to do is create a project. stick the .java file in the project folder (Created for you by BlueJ) and reopen BlueJ then if you see an orange box with a name on it (doesn't matter whatthe name is) hit Ctrl-K to compile. Hope that helps
If I'm posting, I probably have something horribly wrong with my computer, there's no obvious explanation for it, that's just the way it is.
Share this topic:
Page 1 of 1

Help


Back to top











