This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes sdk on linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "sdk on linux" Watch "sdk on linux" New topic

sdk on linux

Mike Brown

Joined: Oct 19, 2003
Posts: 25
Hello all. I am somewhat new to Java. And completely new to linux. I am having trouble installing the sdk on my suse 9.0 system. I'm sure that the fact that I have a limitied understanding of what it takes to make any kind of application work in linux has something to do with it. Anyway I am excited about learning linux and I want to continue Java with linux. I would appreciate any advice. I have been running the rpm -i command and nothing seems to happen. How can I check to see if it is installed and ready to go? What is the best download to use with suse? There are two types available from sun.One is the self extracting file and the other is a self extracting rpm file. I have some books but I cant seem to find enough info on what it takes to download, install and run an application. Sorry such a newbie question. Any advice or push in the right direction would really be appreciated. Thanks
Glenn Opdycke-Hansen
Ranch Hand

Joined: Feb 16, 2001
Posts: 40
To test if java has been installed, execute:
java -version
from a shell. what you may be missing is either the java home in the path or the java home env variable needs to be set. (probably both)
If I recall correctly, suse has a jdk that can be installed. Also, there might be a link in /usr/ that helps the system find the jdk.

Mike Brown

Joined: Oct 19, 2003
Posts: 25
Ok, I did that but it only shows the jre. Does that mean that the sdk is not installed?
Mike Brown

Joined: Oct 19, 2003
Posts: 25
Do you have any other advice for me?
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Type in >whereis javac, if nothing comes back, then you prolly didn't install it or downloaded the wrong file.
If you are going to download, use the bin one instead of rpm. Install under /usr/local/.
Don't get me started about those stupid light bulbs.
subject: sdk on linux
Similar Threads
jdk on linux 8.0
Installation of Java in Linux
Java 1.4.2_02 for HP-UX
Running Java on Redhat 9
which java sdk?