File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Do I need to reinstall Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Do I need to reinstall Java?" Watch "Do I need to reinstall Java?" New topic
Author

Do I need to reinstall Java?

Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1660
    
  11

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.


When you do things right, people won't be sure you've done anything at all.
Dinah Gans
Greenhorn

Joined: Feb 15, 2010
Posts: 8
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.


Dinah
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1660
    
  11

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

Joined: Sep 28, 2004
Posts: 18756
    
  40


Having a classpath set incorrectly can cause this issue too.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do I need to reinstall Java?