+ 2
How can I compile Java Programs on Code::Blocks ?
It says that I need to install some sort of compiler for Java !! I do have the latest JDK installed !
5 odpowiedzi
+ 4
in my memory, you can. but its kinda tacky in a way, because how different the compiler are.
i'm not so sure if its codeblock or devc++ that i manage to slip javac in. but yeah, just dont. its unecesarry struggle.
+ 3
You can't compile java code on code::blocks as it is ment to be used for C/C++. For java you need seprate IDE like Eclips IDE.
edit:- even though code::blocks support text highlighting feature for java also but to compile it you need another compiler.
+ 3
That's new. I'm surprised that CodeBlocks would even show the message telling you to install JDK. Save yourself the effort and just install a Java IDE I guess lol.
https://www.jetbrains.com/idea/
0
Well Java is case sensitive. So, you can get the value 'TRUE' even if you print the answers in uppercase. Wrong.