Author Topic: Newbei to Programming - Help setup Java and Codeblocks  (Read 7578 times)

ruler

  • Guest
Newbei to Programming - Help setup Java and Codeblocks
« 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!

mariocup

  • Guest
Re: Newbei to Programming - Help setup Java and Codeblocks
« Reply #1 on: May 06, 2009, 08:17:48 am »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Newbei to Programming - Help setup Java and Codeblocks
« Reply #2 on: May 06, 2009, 09:06:05 am »
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).
« Last Edit: May 06, 2009, 09:08:02 am by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ