Problem in configuring eclipse to point to a jdk instead of jre
Hi all,
I am trying to use eclipse as the IDE with the m2eclipse plugin; I
have created the project structure using maven2 in the command line;
then I create the eclipse project files with "mvn eclipse:eclipse"
When I import the project into eclipse... the maven2 builder has
errors such as "tools.jar is missing" or "1 artifact is missing"
I searched a few forumns and found that eclipse didn't use JDK but JRE
to compile classes and tools.jar is only available under JDK....
So my question is how to solve this problem? I've tried to create
another JRE to point to JDK folder... but failed
PS. I could build the whole project under command line "mvn clean
compile"
I'm using a Windows XP Professional OS; maven 2.0.7; jdk 1.5.0.12;
eclipse Europa
From Jason (Kusanagihk)
.
Relevant Pages
- RE: More Info About $| = 1;
... Might it have something to do with Eclipse? ... use strict; ... use warnings; ... the command line does nothing until I enter some text, ... (perl.beginners) - Eclipse: Ant no com.sun.tools.javac.Main ?
... I can compile in ANT from the command line. ... I thought my eclipse project was working, but I did an update of my JDK ... on the classpath 'JRE System Libraries' ... (comp.lang.java.softwaretools) - commapi problem configuration
... Run from command line. ... port in use by Unknown Windows Application ... The set up in autoexec.bat was for command line.If u use Eclipse try ... (comp.lang.java.programmer) - Re: Wish console unresponse when script started from Eclipse Editor
... > I am using Eclipse as an editor for Tcl/Tk scripts using the Eclipse ... I have set up an Eclipse external tool command to run ... > am having is that if I do a 'console show' in my scripts, ... (comp.lang.tcl) - Re: Eclipse compiler compliance
... * I am referring to compilation from the command line or from any tool that gives you direct access to setting the standard javac options, I cannot speak for 'doing it from Eclipse'. ... a simple text editor, I worked on a large project recently in which both JBuilder and Eclipse proved quite valuable. ... think is a great IDE for those that are experienced, but I fail to see what that has to do with this thread since no one was classified as a "learner" and the OP was specifically asking about Eclipse. ... (comp.lang.java.programmer) |
|