Thread: Java on Linux

Results 1 to 7 of 7
  1. #1 Java on Linux 
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    26
    Posts
    7,989
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    How would I configure a proper Java compiler for a Linux computer?


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Tom
    Tom is offline
    Registered Member
    Tom's Avatar
    Join Date
    Jul 2006
    Age
    27
    Posts
    1,148
    Thanks given
    8
    Thanks received
    86
    Rep Power
    902
    Most distributions have it in their repositories. Usually something like sun-java6-jdk.
    Or, you can go to the sun java website and download the jdk from there.
    uh
    Reply With Quote  
     

  3. #3  
    T X
    Guest
    Tbh i did what tome told me to do go to Add/remove install the sun-java6-jdk then ised a IDE and it works perfect
    Reply With Quote  
     

  4. #4  
    Renown Programmer
    veer's Avatar
    Join Date
    Nov 2007
    Posts
    3,747
    Thanks given
    354
    Thanks received
    1,368
    Rep Power
    3032
    install jdk6 from their pkg repo
    Reply With Quote  
     

  5. #5  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    26
    Posts
    7,989
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    Quote Originally Posted by T X View Post
    Tbh i did what tome told me to do go to Add/remove install the sun-java6-jdk then ised a IDE and it works perfect
    Well my test server and projects don't work very well with IDE's. I don't know why though

    Quote Originally Posted by Tom View Post
    Most distributions have it in their repositories. Usually something like sun-java6-jdk.
    Or, you can go to the sun java website and download the jdk from there.
    I did the second one. It was easier for me that way. Im not trying to install Java, i need a working compiler for it.

    Quote Originally Posted by super_ View Post
    install jdk6 from their pkg repo
    Read above statement


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    28
    Posts
    2,010
    Thanks given
    802
    Thanks received
    1,357
    Rep Power
    286
    If you are using a Debian-based system (like Ubuntu), then it is as simple as opening a terminal and typing:

    Code:
    sudo apt-get install sun-java6-jdk
    That is just installing.

    After that, you can use the command (after "cd"ing to your server directory, and assuming you have no packaging of your java files)
    Code:
    javac *.java
    Or something similar to that (look up javac usage)
    rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootnecklad
    Reply With Quote  
     

  7. #7  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    26
    Posts
    7,989
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    Quote Originally Posted by Defqon View Post
    If you are using a Debian-based system (like Ubuntu), then it is as simple as opening a terminal and typing:

    Code:
    sudo apt-get install sun-java6-jdk
    That is just installing.

    After that, you can use the command (after "cd"ing to your server directory, and assuming you have no packaging of your java files)
    Code:
    javac *.java
    Or something similar to that (look up javac usage)
    Thanks, but i figured it out a while ago.


    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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