...

View Full Version : JDK problems



Scriptr
12-23-2011, 10:40 PM
Every time I restart my laptop, I have to reinstall JDK. Any thoughts?

Fou-Lu
12-23-2011, 11:25 PM
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?

Scriptr
12-29-2011, 05:24 AM
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.

Fou-Lu
12-29-2011, 02:32 PM
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.

Scriptr
12-29-2011, 05:27 PM
Will do. I'll have to wait for it to give me a problem again, though. It's been a while.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum