Find the answer to your Linux question:
Results 1 to 6 of 6
I'm a bit rusty at linux, and I need some help re-installing a java compiler (for some reason my current one wont find the java.util.Scanner class). I downloaded a .bin ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Location
    Alaska
    Posts
    55

    N00b question


    I'm a bit rusty at linux, and I need some help re-installing a java compiler (for some reason my current one wont find the java.util.Scanner class). I downloaded a .bin from the main Java site, and I have no idea how to run it.
    Thanks in advance.

    P.S. I'm running BackTrack 4

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,025
    This page should help you get your software installed.
    Last edited by jayd512; 04-07-2011 at 07:22 PM. Reason: spelling
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Nov 2010
    Location
    Alaska
    Posts
    55
    Thank you. I forgot to make it executable.
    I knew it was something insignificant like that.
    Thanks for the help.

    Also, I'm going to post here again if my Java compiler still doesn't work right.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2010
    Location
    Alaska
    Posts
    55
    Sorry for the double post, but I'm having issues again.

    I ran the .bin and it made a folder on my desktop with a readme file. The file redirected me to here:
    Java SE 6 Platform Installation
    I don't really understand what to do...
    The name of the folder is "jdk1.6.0_24" (without the quotes of course)
    Can somebody help explain?
    Thanks again in advance.

  6. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you should be able to install sun jdk from repo, but here you go

    using latest Sun Java JRE

  7. #6
    Just Joined!
    Join Date
    Nov 2010
    Location
    Alaska
    Posts
    55
    Thanks, but I need JDK. JRE works just fine. I need JDK so I can compile Java files, and gcj is saying that it can't find any of the files I import. Any idea on how to fix this?

Posting Permissions

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