How to compile Java and C++ programes in opensuse 10.2

Status
Not open for further replies.

mahendraraut

Broken In
I have tried to compile Java and C++ programes on Fadora 4 before in terminal,
now i have installed opensuse linux 10.2
but there is only JAVA runtime environment but not java compiler. what to do now?.
Is it available there or i have to Install it?. and how? from where i will get it?
plz help.
 

mehulved

18 Till I Die............
type javac in the terminal and see what you get. I don't know if opensuse DVD contains jdk or not, but you can install it from YAST. For c++ there's g++
 

mediator

Technomancer
*www.stanton-finley.net/fedora_core_4_installation_notes.html#Java

for compiling c programs => "gcc source.c -o source"
for compiling c++ prog => "g++ source.c -o source"
running the prog => "./source"
 
Status
Not open for further replies.
Top Bottom