aspose file tools*
The moose likes Beginning Java and the fly likes java has encountered an error and needs to close Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java has encountered an error and needs to close" Watch "java has encountered an error and needs to close" New topic
Author

java has encountered an error and needs to close

Krishnakanth PPS
Greenhorn

Joined: Aug 21, 2004
Posts: 7
I m trying to relearn JAVA again..... but this time whenever I try to compile any java program, it says " javac.exe has encountered an error and needs to close" and it has 2 buttons DEBUG and close, I click on either of them and it closes them..... I m not using any IDE, but trying do that from the DOS editor......

please help me
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Are you using Windows 98?
I have no idea what is causing the error, but I can remember getting that running a java program on Windows 98 once, but it was fine on Windows 2000.
or better still, switch to Linux
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
I think I would uninstall the jdk and reinstall it. I have several programs on my Win2k computer that do that fairly regularly, but javac is not one of them. In my case, it usually says that it's trying to write to memory 0000 or something like that.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java has encountered an error and needs to close