Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: ruler on May 05, 2009, 11:22:16 pm
-
Hello guys,
I am pretty new to programming. My course requires me to use java. Can someone please list a step by step process of setting up CodeBlocks so I can code, compile, debug and run programs through codeblocks??
I already have the Codeblocks 8.2 downloaded and also the Java SE Development Kit 6 Update 6.
Thank you!
-
HI ruler,
please have a look at the wiki page:http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
-
please list a step by step process of setting up CodeBlocks so I can code, compile, debug and run programs through codeblocks??
This does not work, really. C::B is a C++ IDE which can be used with languages very close to C++ (like C, Python, probably). Java differs in many aspects from C++. One aspect is that is does not have/use a linker. The build system of C::B is developed with a linker in mind.
However - C::B features Java syntax highlighting and in theory it is possible to setup compile commands for each file individually which would enable to compile Java programs. But I don't think this makes sense and that's what you want.
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
describes the steps accordingly (like mariocup said).