Wednesday, November 14, 2012

Some irritating things solved when trying to compile c++ and java on Scientific Linux 6

Installed openjdk,java command working but javac command not found error

solved by

sudo yum install java-1.6.0-openjdk-devel

gcc installed but g++ command not found error

solved by

yum install gcc-c++

compiling a cpp file with g++ works find but code blocks shows an error with a return code from the gnome terminal 255

Solved by

yum install xterm

now run codeblocks from the terminal or application->programming-codeblocks

hope those works on Cent os or Fedora too

No comments:

Post a Comment