• Post Reply Bookmark Topic Watch Topic
  • New Topic

javac command line  RSS feed

 
Cecil Phillip
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm fairly new to linux. right now I'm running SuSE 9.1 with KDE 3.3. I just installed jdk 1.5. I was relatively tedious for me to make my os accept the jre. Now I'm trying to be able to use java/javac etc on the command line, for all users of the system. can anyone tell me how can i do this ??
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In which way was it tedious, to let the system accept the jre?

To make java/javac easily available to the public:

edit (as root) /etc/profile

or where it is installed.

additional insert a line, after the JAVA_HOME-line of course:


Take a cup of coffee, login as foobar or whoever, and issue:
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!