Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Do I need to reinstall Java?  RSS feed

 
Janeice DelVecchio
Bartender
Posts: 1810
12
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apparently, something is pretty messed up. I'm getting the following message, that I have never seen before, and I'm getting it on known-good and new applications. Is there a fix for this, or do I have to reinstall?



Here's the code... I made it because I was getting this error on something else that WAS working before.
 
Dinah Gans
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was there a change to your environmental variables? That's one idea.

Are you trying to save to a flash drive? I was having similar error messages using a flash drive where it wouldn't compile after I edited a .java file on my school computer.

I was able to fix it without reinstalling, I believe I just copied it to the C: drive, compiled, and copied back to my flash drive.

Hope this helps or if not someone else can help.
 
Janeice DelVecchio
Bartender
Posts: 1810
12
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dinah Gans wrote:Was there a change to your environmental variables? That's one idea.


You know I checked and there was nothing changed, I ran a Java update and rebooted and it worked fine.

Weird.

Thanks!
 
Henry Wong
author
Sheriff
Posts: 22818
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Having a classpath set incorrectly can cause this issue too.

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!