• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sdk on linux

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
-glenn
 
Mike Brown
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I did that but it only shows the jre. Does that mean that the sdk is not installed?
 
Mike Brown
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have any other advice for me?
 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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/.
reply
    Bookmark Topic Watch Topic
  • New Topic