Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2003

    Linux has its Javac ?

    Hello /all only i need to ask .. something about java .. is linux .. has a compiler (JAVAC) or i must install the JDK to use it on Linux .. i mean linus has its special compiler or not .. and how to use .. this compiler ..thanks

  2. #2
    Linux Engineer
    Join Date
    Mar 2003
    I'm not a programmer but I did mess with java sometime back. I just did a little searching on the net and seems clear you have to get the developers jdk from sun for linux. Its free for Win so should be free for linux.

    Good Luck,

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  3. #3
    Just Joined!
    Join Date
    Apr 2003
    Australia & England
    I think it depends on which distribution, but in the majority of cases, there is a java compiler, it is provided by Blackdown.
    You should try:
    $ which java
    $ which javac
    $ echo $JAVA_HOME
    $ echo $CLASSPATH
    $ java -version

    If you have success with these, then you should be fine, otherwise you may want to download Sun's JDK - as indicated in the previous post.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts