Question:
What is the best free Java compiler?
1970-01-01 00:00:00 UTC
What is the best free Java compiler?
Six answers:
2016-01-27 12:13:39 UTC
free java compiler
Ruby
2015-08-21 01:39:58 UTC
This Site Might Help You.



RE:

What is the best free Java compiler?

i have the Eclipse compiler, buts its giving me problems like running the wrong java file, when i wanted a different one run. So i gave up on Eclipse, and want to know what is the best free Java compiler besides Eclipse?
_
2010-05-11 18:10:15 UTC
Eclipse is not a Java compiler; it is an IDE (Integrated Development Environment). Running the wrong Java file would be a user issue, not a compiler issue.
2010-05-11 18:09:49 UTC
Eclipse isn't a java compiler. It's a Java Editor.



For a Java Editor I recommend crimson editor (though most will say Eclipse)



For a java compiler use this in a .bat file

@echo off

Title Magestickown's Perfect Compiler

color 0a

cls



echo If you have problems while compile make sure it has your java version..

echo Change "jdk1.6.0_18" with current version

echo What would you like to do?

:option

set /p userinp=Choose 1 to compile or 2 to Exit:

set userinp=%userinp:~0,1%

if "%userinp%"=="1" goto compile

if "%userinp%"=="2" goto exit



echo Invalid Command!

pause

goto option



:compile

"%SystemDrive%\Program Files\Java\jdk1.6.0_18\bin\javac.exe" *.java



echo Sucessful compile! What would you like to do?

set /p userinp=Choose 1 to compile again or 2 to Exit:

set userinp=%userinp:~0,1%

if "%userinp%"=="1" goto compile

if "%userinp%"=="2" goto exit

:exit

exit



replace

"Java\jdk1.6.0_18\" with your version. For example, if I had version 16 i would replace "java\jdk1.6.0_18\" with "java\jdk1.6.0_16\"
Jaypax
2010-05-11 18:09:44 UTC
What you have is an Integrated Development Environment or IDE, which Eclipse is - its not a Java compiler. Get it right.



You can try Netbeans(free), BlueJ(free) or if you can afford to by it Borland's JBuilder(obviously not free).
va derhoo
2010-05-11 18:22:30 UTC
Just Use Netbeans from sun it self, the one and only develop java. it's free to download and update.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...