Add a Java nature to the project in .project:
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
Create the file .classpath with the JDK/JRE libraries (and optionally the default output directory):
Then you might want to add to the classpath the libraries which could not be detected at creation time.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
This method is alternative to the one detailed here.
No comments:
Post a Comment