Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: JDK problems

  1. #1
    Regular Coder
    Join Date
    Oct 2011
    Posts
    106
    Thanks
    12
    Thanked 0 Times in 0 Posts

    JDK problems

    Every time I restart my laptop, I have to reinstall JDK. Any thoughts?

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    What do you mean you need to reinstall it?
    Are the directories missing for the jdk, the application not listed as an installed program, or the javac doesn't run?

  • Users who have thanked Fou-Lu for this post:

    Scriptr (12-29-2011)

  • #3
    Regular Coder
    Join Date
    Oct 2011
    Posts
    106
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fou-Lu View Post
    What do you mean you need to reinstall it?
    Are the directories missing for the jdk, the application not listed as an installed program, or the javac doesn't run?
    Everything that needs an import (even the stuff imported by default, like String) shows up as an error in eclipse, sites with java apps that I know to work return errors, and it still shows up in revoUninstaller. Then I reinstall using ninite (I used that on my desktop, and it works fine every time). I have my workspace as a folder in dropbox, but that would cause the same problems on my desktop, which is also set up that way. It isn't every time, either. About every third time, but it's random.

    and sorry it took so long to respond; I've been hard at work with a project that has to be ready by the 16th to ensure no legitimate sites fall victim to SOPA and the surrounding corporate warfare.

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    I don't know what these apps you are talking about are for.
    Assuming that JDK was installed per normal, the easiest way to check it is to compile a simple hello world program. Don't forget as well that javac is not a part of the system path by default, so you need to add it in or use the full path to javac.
    If javac runs when everything else is not working, the problem is elsewhere. Possibly due to UAC or even java.exe.
    Sounds to me like you are using an SVN of some sorts. This could also be the cause of your problems, but wouldn't explain the missing java.lang. Test it out with a simple compiled app first.

  • #5
    Regular Coder
    Join Date
    Oct 2011
    Posts
    106
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Will do. I'll have to wait for it to give me a problem again, though. It's been a while.


  •  

    Posting Permissions

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