Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error while trying to save .java files(Eclipse workspace does not save .java files)
Error while trying to save .java files [message #1807205] Fri, 24 May 2019 15:12 Go to next message
Vinicius Albuquerque is currently offline Vinicius AlbuquerqueFriend
Messages: 1
Registered: May 2019
Junior Member
I reinstalled both the java and the eclipse workspace and it continues the SAME Error, I can not run OS Files saved in .java NEM anything Like, if anyone can help thanks !!!
Re: Error while trying to save .java files [message #1807225 is a reply to message #1807205] Sat, 25 May 2019 03:42 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
You're showing command line invocations of javac and asking about that, but that's not longer an Eclipse question. You don't need javac when using Eclipse; the Java files are compiled by Eclipse's own compiler. If you want to use javac for some other reason, you should Google about how javac is used. For example, your command window shows that you're in folder that does not contain the *.java files so of course javac can't find them. And in general you're going to have to use more options that what you're showing. If these are very simple Java files without a package declarations and no imports from libraries other than those in the JDK, you should make sure that your command window's current directory is the directory where those *.java files are located.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:eclipse broken
Next Topic:create custom annotation
Goto Forum:
  


Current Time: Fri Apr 26 20:18:44 GMT 2024

Powered by FUDForum. Page generated in 0.08579 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top