DIGIT-ARC read-only archive · snapshot: July 23, 2026

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

4 posts · originally from https://geek.digit.in/community/threads/how-to-compile-java-and-c-programes-in-opensuse-10-2.50580/

mahendraraut
mahendraraut Original post #1
Feb 25, 2007 at 1:56 AM
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.
M
Feb 25, 2007 at 2:06 AM
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
Feb 25, 2007 at 3:05 AM
*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"
aditya.shevade
Feb 26, 2007 at 6:14 PM
or for C++, use Anjuta, it comes with SuSE DVD, install it, I dunno about the CD contents.