Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-23-2011, 10:40 PM   PM User | #1
Scriptr
Regular Coder

 
Join Date: Oct 2011
Posts: 106
Thanks: 12
Thanked 0 Times in 0 Posts
Scriptr is an unknown quantity at this point
JDK problems

Every time I restart my laptop, I have to reinstall JDK. Any thoughts?
Scriptr is offline   Reply With Quote
Old 12-23-2011, 11:25 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,639
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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?
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
Scriptr (12-29-2011)
Old 12-29-2011, 05:24 AM   PM User | #3
Scriptr
Regular Coder

 
Join Date: Oct 2011
Posts: 106
Thanks: 12
Thanked 0 Times in 0 Posts
Scriptr is an unknown quantity at this point
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.
Scriptr is offline   Reply With Quote
Old 12-29-2011, 02:32 PM   PM User | #4
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,639
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
Fou-Lu is offline   Reply With Quote
Old 12-29-2011, 05:27 PM   PM User | #5
Scriptr
Regular Coder

 
Join Date: Oct 2011
Posts: 106
Thanks: 12
Thanked 0 Times in 0 Posts
Scriptr is an unknown quantity at this point
Will do. I'll have to wait for it to give me a problem again, though. It's been a while.
Scriptr is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:23 PM.


Advertisement
Log in to turn off these ads.