maybe i am doing something wrong... but i need some help :)
i was using m2eclipse and decided to give q4e a try. i am using a
clean eclipse 3.3.0 (the j2ee download), installed q4e version 0.2.1
from the update site and checked out the projects. in addition i
copied a java 1.6 jre into <eclipse>/jre (simple way to run eclipse
with 1.6). i then configured java 1.4 as default jre/jdk in eclipse. i
did this for the projects too where needed.
so: when i try to 'locally install' the project the build fails.
09:27:27 CEST info Compilation failure
Unable to locate the Javac Compiler in:
E:\eclipse\eclipse-3.3.0-q4e\jre\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
Unable to locate the Javac Compiler in:
E:\eclipse\eclipse-3.3.0-q4e\jre\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
there seems to be no reason why this project tries to run 'install'
with that jre. the project points to a jdk which is ignored. setting
JAVA_HOME in eclipse did not help.
any hints or suggestions would be welcome :)
thanks
regards
ossi
--
A world without C++ is chaos.
thanks for you reply.
i tried to copy the jdk 1.6 into the jre folder. the projects now at
least tries to compile. yet its the wrong jdk. we have projects that
rely on 1.4, some will be moved to 1.5, some not. so both jdk's need
to be configured in eclipse. q4e should not use the system default.
eclipse creates an own environment and ignores external settings
(which is sometimes boring but the only solution to allow multiple
jdk's to be used at the same time).
should this be reported to the bug tracker?
currently the projects compile with a 1.6 jdk for version 1.4. a bad
thing. but at the moment it at least tries to compile.
the multimodule built only runs for the first module. the second
module fails since the classes of module1 are missing. how does q4e
resolve dependencies? the dependant jar's are in the local repository,
also the project in eclipse is opened. do i need to manually define
project dependencies? or is it enough to include the plugin
dependencies in the project classpath?
thanks a lot :)
On 19 Sep., 10:10, "erle mantos" <eman...@gmail.com> wrote:
> Have you tried setting your PATH to point to the JDK's /bin first
> before anything else
> so that the JDK installation will be used to launch Eclipse ?
>
http://groups.google.com/group/q4e-dev/browse_thread/thread/18f458544f187749
Maybe you could jive in that discussion and share your thoughts ..
On 9/19/07, ossi <knu...@gmail.com> wrote:
>