TechSpot

Java Problem

By Blowoff
May 24, 2013
Post New Reply
  1. So I'm on my laptop and I'm trying to play a game that needs Java. I downloaded Java but when I click 'verify if you have java' on the java site it tells me that I don't have it. I've tried uninstalling and then installing Java multiple times. My browser(firefox) is up to date. I really want to fix this problem so any help would be appreciated.
     
  2. JC713

    JC713 TS Evangelist Posts: 7,029   +913

    I have gotten this issue a few times. The latest update should have solved it. Try Google Chrome or Internet Explorer.
     
  3. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    Java per se is a runtime library (the call it a JRE). Download the latest and install that. Then the plugins are easier to manage.

    Frankly, most of us are disabling the Java Plugin due to drive-by attacks.
     
  4. Blowoff

    Blowoff TS Rookie Topic Starter

    I've tried IE and Chrome.
     
  5. PigeonUK

    PigeonUK TS Member

    Try deleting your browsers cache.

    Chrome:
    1. Click the Chrome menu [​IMG] on the browser toolbar.
    2. Select Tools.
    3. Select Clear browsing data.
    4. In the dialog that appears, select the checkboxes for the types of information that you want to remove.
    5. Use the menu at the top to select the amount of data that you want to delete. Select beginning of time to delete everything.
    6. Click Clear browsing data.
     
  6. JC713

    JC713 TS Evangelist Posts: 7,029   +913

    That wouldnt effect Java at all.
     
  7. LookinAround

    LookinAround TechSpot Chancellor Posts: 8,374   +167

    Try using the JavaRa tool to uninstall then try reinstalling Java
     
  8. PigeonUK

    PigeonUK TS Member


    Agreed but I'm not responding to the installation of Java, I'm responding to the methods that the Java's site uses to detect whether the user has Java installed.

    As stated, 'uninstalling and then installing Java multiple times', this could corrupt any browser implemented detection.

    However thinking about it, I would like to ask the thread starter whether they are able to run Java applications so we can rule out this being any compatibility error that disallows him from running programs that rely on Java.

    Clearing his cache would reset any browser side notification of him having Java installed therefore it would allow Java's site to re-instate any detection software that would be transferred over to the user in-order to detect that Java is installed correctly.

    Although, please bear in mind that this is the method of troubleshooting I have advised was declared for reasons involving trial and error that are relevant to fixing issues on the browser's side.

    If I'm wrong well pha', what would I know? I'm a pigeon.
     
  9. JC713

    JC713 TS Evangelist Posts: 7,029   +913

    Alright then.
     
  10. LookinAround

    LookinAround TechSpot Chancellor Posts: 8,374   +167

    LOL :p
     
    PigeonUK likes this.
  11. tipstir

    tipstir TS Ambassador Posts: 4,686   +86

    Chrome has it own java

    type: chrome://plugins/

    Adobe Flash Player (2 files) - Version: 11.7.700.203
    Shockwave Flash 11.7 r700

    See it reads 2 files that means you have two versions loaded.
    Disable the built-in one from Chrome for Flash
    If not disable other flash an enable Chrome Flash again
    Also run: chrome://conflicts
    See if you have any conflicts.

    Also check Chrome Support of Issues with Apps Used
    https://support.google.com/chrome/answer/185112?hl=en&rd=1
     
     
  12. Blowoff

    Blowoff TS Rookie Topic Starter

    Well I've read all of these and the suggestions do not help at all. I'm not able to run any Java applications. Whenever I do so it tells me that I should download it. I'm now on Google Chrome and I still have the same error.
     
  13. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    Let's clear the air - -

    Are you trying to run a Java Applet in the browser(give us a screen shot of the Plug-ins of your browser)
    OR
    to run a Java application on the HD (eg: see this information )
     
  14. Blowoff

    Blowoff TS Rookie Topic Starter

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    The last picture is actually from IE. These pictures are taken with only Java 7 Update 21 installed. I'm doing all of this because I'm trying to run a .jar file on my computer and that needs java.
     
  15. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    :grin: The plug-in does not help you at all - - you need the JRE loaded and the command line JAVA XXX.JAR
     
  16. Blowoff

    Blowoff TS Rookie Topic Starter

    I've had JRE downloaded before but it still didn't help.

    EDIT: I'm going to re-download it. Which one should I download? x86 or x64? My laptop is 64bit but I've read people should still download 32bit since more things are compatible with it.
     
  17. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    Can you use CMD and see

    If not, uninstall and reinstall the JRE.
     
  18. Blowoff

    Blowoff TS Rookie Topic Starter

    I'm going to re-download it. Which one should I download? x86 or x64? My laptop is 64bit but I've read people should still download 32bit since more things are compatible with it.

    I used CMD and it said Java is not recognized as an internal or external command

    "C:\Users\Artur>java -version
    java version "1.7.0_17"
    Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)"
     
  19. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    Java IS installed correctly!

    in the CMD prompt window, cd to the location of the JAR file and then
    java ./xxx.jar
     
  20. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    Yeck! java .\xxx.jar (sorry)
     
  21. Blowoff

    Blowoff TS Rookie Topic Starter

    I pasted the above what I quoted and it told me that it's not recognized as an internal or external command. Then I put in java ./xxx.jar and for that it told me " 'java' is not recognized as an internal or external command, operable program, or batch file. The weird thing is though that I can run the .jar with Java(TM) Platform SE Binary with no problem but it puts me in offline mode and doesn't load.

    EDIT: Still the same message as I stated.
     
  22. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    Hey? Offline? what does that mean? To me it says you can't access the Internet.

    I fouled the jar reference - - should be .\xxx.jar OR an absolute path to it.
     
  23. Blowoff

    Blowoff TS Rookie Topic Starter

    [​IMG]

    Yeah I tried both and it still gave me the same result. So which JRE should I DL?
     
  24. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    Oops; try this first
    java -jar test.jar
     
  25. jobeard

    jobeard TS Ambassador Posts: 13,449   +324

    hmm; very atypical. Notice Java Development Kit - - that's the JDE, not the JRE.

    The JRE is the runtime library needed by all users of Java.
    The JDE is only necessary to compile java programs . .
    javac test.java creates test.jar

    I also note that your vInsert script compiler is invoking the JDE so you need to verify the install requirements of that tool.
     


Add New 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.