|
|
|
Re: class file has wrong version 51.0,should be 49.0 [message #1703826 is a reply to message #1703591] |
Wed, 05 August 2015 08:47 |
frank ho Messages: 5 Registered: June 2015 |
Junior Member |
|
|
After modified this file : org.eclipse.jdt.launching.prefs under : <project folder>\.metadata\.plugins\org.eclipse.core.runtime\.settings,
this problem has been fixed.
The modification is :
add
<libraryLocations>\r\n<libraryLocation
jreJar\="D\:/Java/jdk7/jre/lib/resources.jar"
jreJavadoc\="http\://docs.oracle.com/javase/7/docs/api/"
jreSrc\="D\:/Java/jdk7/src.zip" pkgRoot\=""/>\r\n.........
to it.
eclipse is :
Eclipse Java EE IDE for Web Developers.
Version: Luna Release (4.4.0)
Build id: 20140612-0600
my questions are :
1. what is this file used for?
2. when use this file?
3. why I have to add these information to it by hand rather than generate these automatically when I set jdk in eclipse preference?
4. why this error occur if this file doesn't has <libraryLocations> when running project(the project compile success before running)?
[Updated on: Fri, 07 August 2015 03:00] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03469 seconds