Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    6
    Rep Power
    0

    Default Weird problem: Terms and Conditions keep showing up, can't use Java at all

    I recently updated some of my Java software. I typed in "java -version" and got the Terms and Conditions, to which I agreed -- everything seemed fine.

    Then I typed in "java -version" again, and the terms appeared again. Hmmph. Same thing happens when I try to execute a java program I wrote.

    I restarted, and the problem didn't go away. I then tried uninstalling and reinstalling the Java 6 packages, and still no luck.

    Wth?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Czar of Fishies View Post
    I recently updated some of my Java software. I typed in "java -version" and got the Terms and Conditions, to which I agreed -- everything seemed fine.
    I'm not sure what you are talking about. java -version gives the JDK version you have installed in your machine. There is no contain any terms and conditions. Did you try this on command prompt?

  3. #3
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    6
    Rep Power
    0

    Default

    The terms that show up are definitely for JRE. Btw, the compiler and everything work just fine (I'm using GCJ). JRE seems to be the only issue, except for when I ask for the version. (I'm quite confused.)

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,327
    Rep Power
    25

    Default

    I'm using GCJ
    Is that a Linux version of Sun's JDK? Can you get rid of it and use Sun's JDK?

  5. #5
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    6
    Rep Power
    0

    Default

    GCJ is the Java compiler for Linux. It's required for a lot of Linux IDE's, so I can't get rid of it. I'm pretty sure the problem is with the JRE only -- some config file must be out of whack or something.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Czar of Fishies View Post
    The terms that show up are definitely for JRE. Btw, the compiler and everything work just fine (I'm using GCJ). JRE seems to be the only issue, except for when I ask for the version. (I'm quite confused.)
    I'm confused here too now. You said that you can compile and run a Java application here. So when you stuck on JRE? What you have to do with that?

  7. #7
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    6
    Rep Power
    0

    Default

    I can compile a program. JRE is required to *run* it, so therefore when I try to execute the program, the TOS message shows up.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  9. #9
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    6
    Rep Power
    0

    Default

    Yeah, I can agree to the terms, and then it acts like it's doing some stuff, and then it prints "Done." Kind of implying that I'm not going to see that message again. But every time I do anything involving Java (aside from compiling), it happens again.

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Once you uninstall, check that any related documents/logs etc are available on your PC. If so delete them all. Then scan your PC using virus scanner. Because this is unusual behavior, may be an effect of a virus. Then install latest JDK version again and test it.

Similar Threads

  1. need help, weird question kinda.
    By carlos123 in forum New To Java
    Replies: 6
    Last Post: 01-22-2008, 03:19 AM
  2. Java terms
    By Shaolin in forum New To Java
    Replies: 2
    Last Post: 12-27-2007, 05:02 PM
  3. Weird data output
    By Shaolin in forum New To Java
    Replies: 12
    Last Post: 12-11-2007, 04:27 PM
  4. weird looking shape JButton is it possible?
    By unhurt in forum AWT / Swing
    Replies: 8
    Last Post: 11-03-2007, 09:10 AM

Posting Permissions

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