Why doesn't my java work?

By jokenkil
Jul 24, 2009
  1. i tried playing runescape a couple of days ago and it said that java wasnt installed on my computer and i went to the link it gave to download it and it said i cant download it because it was already installed. then i went and treid enabling it and i cant find it anywhere. so wat is the problem and how can i fix it?
  2. LookinAround

    LookinAround Ex Tech Spotter Posts: 6,491   +181


    Why don't you try
    1) Uninstall your current Java (XP: Control Panel-> Add/Remove Programs. Or in Vista see this link)
    2) Then go to and click to download the latest version
    3) When it's done, you should see the animation which verifies your Java is installed correctly

    If still problems, let us also know
    1) Which browser you're using
    2) In your browser click Help->About to also report the version number of the browser you're using

    /* EDIT */
    Also which version of Windows and Service Pack level and make sure you're up to date with all Windows updates
  3. jokenkil

    jokenkil TS Rookie Topic Starter Posts: 42

    i tried to uninstall it and it wont uninstall
  4. jobeard

    jobeard TS Ambassador Posts: 8,945   +585

    check your environment variables

    MyComputer->>properties->Advanced Tab->Env Vars

    your need a CLASSPATH and JAVARTE under SYSTEM VARS

    what do you show?
  5. jokenkil

    jokenkil TS Rookie Topic Starter Posts: 42

    i checked my environment variables

    i seen classpath but i dont see javarte
  6. jobeard

    jobeard TS Ambassador Posts: 8,945   +585

    get a command prompt and just enter JAVA
    the return should be like
    Usage: java [-options] class [args...]
               (to execute a class)
       or  java [-options] -jar jarfile [args...]
               (to execute a jar file)
    where options include:
        -client       to select the "client" VM
        -server       to select the "server" VM
        -hotspot      is a synonym for the "client" VM  [deprecated]
                      The default VM is client.
        -cp <class search path of directories and zip/jar files>
        -classpath <class search path of directories and zip/jar files>
                      A ; separated list of directories, JAR archives,
                      and ZIP archives to search for class files.
                      set a system property
                      enable verbose output
        -version      print product version and exit
                      require the specified version to run
        -showversion  print product version and continue
        -jre-restrict-search | -jre-no-restrict-search
                      include/exclude user private JREs in the version search
        -? -help      print this help message
        -X            print help on non-standard options
                      enable assertions
                      disable assertions
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertions
                      disable system assertions
                      load native agent library <libname>, e.g. -agentlib:hprof
                        see also, -agentlib:jdwp=help and -agentlib:hprof=help
                      load native agent library by full pathname
                      load Java programming language agent, see java.lang.instrument
                      show splash screen with specified image
    echo %path% should contain C:\Program Files\Java\jre1.x.y_zzz\bin
  7. jokenkil

    jokenkil TS Rookie Topic Starter Posts: 42

    it says java is not reconized as an internal or external command
  8. LookinAround

    LookinAround Ex Tech Spotter Posts: 6,491   +181

    Hi jokenkil
    Let's back up and have you re-attempt to install java. If you continue to have problems you must be more specific about your system specs to get more specific help.

    1. Click here to go
    2. Click the Free Java Download button on that web page
    3. Does it install?
    >> If yes, be sure to also click on the java web site to allow it to verify it installed java correctly (you'll see an animation)
    >> If install FAILS
    • Go back to the page again. Note under the download button, you'll see a Do i have Java link you should click. You'll also find help additional help info on the java web site
    • However, if the java site doesn't help you fix your problem, you need to give us more specific info to get more specific help. Tell us which version of Windows (e.g. XP or vista) you are running and which Windows' Service Pack (SP) level is installed. Also what browser are you using? (and as i asked before click Help->About in your browser to tell us the version number of your browser

    Hi jobeard
    A side note: From your posts, i suspect you're thinking of and maybe still running an older java release?
    As best i can tell the newer Java versions (which is currently release 6 update 14) doesn't set the PATH variable at all it seems (e.g. i'm running XP Pro SP3 and i don't see any reference to java in my own PATH vs. only seeing it in CLASSPATH)
  9. jobeard

    jobeard TS Ambassador Posts: 8,945   +585

    it could be that I have the SDK (ie the developers install) where we use the java command to compile the source into the class files
  10. LookinAround

    LookinAround Ex Tech Spotter Posts: 6,491   +181

    Yep.:grinthumb Makes sense as i only have Java JRE installed myself.

    So.... jokenkil
    The net result.... Please try the install again per instructions in my last post (post #8). And be sure to give tell us more about your system specs/exact errors if it should fail again.
  11. jokenkil

    jokenkil TS Rookie Topic Starter Posts: 42

    it didnt work again and it said that it is allready installed but it wont work im using internet explorer version 8 and windows vista
  12. LookinAround

    LookinAround Ex Tech Spotter Posts: 6,491   +181

    Go back to
    Under the Download button click the link that says Do I have Java?

    You should be seeing an image similar to below, right?
    1) What version does it say is installed? (note that Version 6 Update 14 is the latest. as you see displayed in the image below)
    2) Then also click the link on the website that says Test Your Virtual Java Machine. Does it say it is working?
    3) Also note you'll find many Help links on the java web site to give you more info about your java installation

    I'd advise you test/verify/install directly from the Java website to install and check your installation. Don't do so through your game website. Use the java site to diagnose and fix any problems.

    /* EDIT */
    btw.. i'd also be certain to run Windows Update to make sure you have all the latest updates and fixes applied to your computer
  13. jobeard

    jobeard TS Ambassador Posts: 8,945   +585

    hmm; When attempting to update, I had to get brutal with Java; Uninstall failed as did an attempt to reinstall.
    I had to use regedit to obliterate JAVA reference (hint: delete even class keys which have a subkey reference to C:\Program Files\Java\*).
    Once that was clean, the raw files C:\Program Files\Java\jre* could be deleted
    and that lead to a successful Install of the update.

    be sure to take a Restore Point before attempting this approach AND
    be careful to avoid any key with JavaScript reference;

    Test #2 above proves the Java Applet is properly installed and configure which is
    typically what is important to the majority of users.
  14. jokenkil

    jokenkil TS Rookie Topic Starter Posts: 42

    i went to and it said i did not have java installed so i tried to install again but again it failed and there is nothing on the java website that has helped me
  15. LookinAround

    LookinAround Ex Tech Spotter Posts: 6,491   +181

    But when it fails it must be giving you some error code number and message. It would be helpful if you could tell us the error code number and the message to get an idea of WHY it's failing
  16. jokenkil

    jokenkil TS Rookie Topic Starter Posts: 42

    it gives a message but no error code the message is (Another version of this product is already installed. installation of this version cannot continue. to configure or remove the existing version of this product, use add/remove programs on the control panel.) i have tried to delete the existing product but it wont delete and i was on the java website and it told me i dont have java installed
  17. jokenkil

    jokenkil TS Rookie Topic Starter Posts: 42

    i got it fixed by rebooting my windows cd
Topic Status:
Not open for further replies.

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a comment
TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...

Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.