Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 8 of 8

Thread: Java Control Panel

  1. #1
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Java Control Panel

    Silly question here, but I just updated to the java version (7u51) and I am attempting to access the new Exception Site List feature. Unfortunately, my Java Control Panel insists on running on version 7u45. I guess the java updater doesn't change the computer's system version or something (god knows why not). Does anyone know what I need to do to fix this?
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/


  2. #2
    Member
    Join Date
    Nov 2013
    Location
    Bangalore, India
    Posts
    70
    My Mood
    Cool
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Default Re: Java Control Panel

    This could be because new JDK is yet to be updated in PATH environment variable. Kindly check that and update if the update is installed successfully. As you said it could well be due to failure in java version update.

  3. #3
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: Java Control Panel

    I attempted to update the environment values manually because the update did not.

    The PATH variable contains a reference to:
    %JAVA_HOME%\bin

    The JAVA_HOME variable contains:
    C:\Program Files (x86)\Java\jdk1.7.0_51

    Other java-related variables I have are:
    CLASSPATH
    and
    QTJAVA

    Still no difference. The computer has been restarted since editing the variables.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  4. #4
    Forum VIP
    Join Date
    Jun 2011
    Posts
    317
    My Mood
    Bored
    Thanks
    47
    Thanked 89 Times in 74 Posts
    Blog Entries
    4

    Default Re: Java Control Panel

    What version does https://www.java.com/verify/ report?

  5. #5
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: Java Control Panel

    That site reports: Version 7 Update 51
    While "java -version" in the command prompt reports: Version 7 Update 45
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  6. #6
    Forum VIP
    Join Date
    Jun 2011
    Posts
    317
    My Mood
    Bored
    Thanks
    47
    Thanked 89 Times in 74 Posts
    Blog Entries
    4

    Default Re: Java Control Panel

    Running Windows7? Try 'where java' in the command prompt. 'which java' on linux.

  7. #7
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: Java Control Panel

    Yes, Windows 7.
    "where java" returned:
    C:\Windows\System32\java.exe
    C:\Program Files (x86)\Java\jdk1.7.0_51\bin\java.exe
    I assume the former takes precedence over the latter, and the former is running the old version? What would I do to fix this?
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  8. #8
    Forum VIP
    Join Date
    Jun 2011
    Posts
    317
    My Mood
    Bored
    Thanks
    47
    Thanked 89 Times in 74 Posts
    Blog Entries
    4

    Default Re: Java Control Panel

    Unfortunately 'which' isn't as intelligent as 'where' so I can't really say which takes precedence. It's an odd command and seems to behave a little like a search for environment variables but common sense would dictate that an older version of JRE is borking up your classpath. I'd almost guarantee you that C:\Windows\System32\java.exe -version would show you the old version and the source of your problems.

    If it were me I would completely uninstall Java and wipe clean all references in the environmental variables. Re-install, re-add the enviro vars and re-verify. Try and get as close to a clean slate as you can because something went wrong with the update.

Similar Threads

  1. WiiMote AR-Drone Control using Java
    By clavius11 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 10th, 2013, 09:01 AM
  2. Java Control Panel quit unexpectedly while using the libjvm.dylib plugin
    By Lebogang in forum What's Wrong With My Code?
    Replies: 0
    Last Post: November 21st, 2012, 03:14 AM
  3. How to make a simple and efficient web control panel.
    By kelsmith11 in forum Java Theory & Questions
    Replies: 3
    Last Post: October 18th, 2011, 02:28 PM
  4. Applet using .mp3 control in java
    By ychopade in forum Java Applets
    Replies: 0
    Last Post: July 15th, 2010, 07:26 AM