I don't exactly understand what you exactly mean ''Change JAVA_HOME to
the JDK". JAVA_HOME env var is not set, I simply installed sun-java6
JDK from Karmic (interestingly enough, Lucid do not contain the sun
java packages...). There is only one java binary on the system. I
tried to set JAVA_HOME explicitly to /usr/lib/jvm/sun-java6-bin, but
the results are the same.

Meanwhile I tried it with openjdk:

f...@fery-laptop:~/tmp$ mvn --version
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_18
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-24-generic" arch: "i386" Family: "unix"

But the error is the same. :(

There is no Java5 in the Ubuntu Karmic or Lucid, and I didn't want to
install it by hand.

It seems that there is some curse on my machines (2 notebooks, 3
different type of network connection) to obstruct maven here. :) But I
would really wonder what is the cause of the problem. I will happily
help if you need some more logs or investigation.

Matt, I am planning to start playing with ZK framework, and quickstart
the system with appfuse, as I am not really experienced with java web
world. I picked out struts2 randomly instead of the GUI-less core
because I guessed it is easier to replace the dependencies instead of
writing many things from scratch (web.xml etc.). (And also the modular
project seemed nicer to me, and there is no modular core archetype.)

Could you please pick up an appropriate archetype for me, make a
full-source, (the 'mvn eclipse:eclipse' is also welcomed ;)) and send
me the .tgz (.zip) directly? Just for learning (that's why I wanted
full-source) and playing, so the snapshot is also ok if you feel it
better. . :)

Thanks,
Ferenc

On Wed, Aug 4, 2010 at 6:03 PM, Matt Raible <m...@raibledesigns.com> wrote:
> Other things I can think of:
>
> 1. Change JAVA_HOME to the JDK instead of the JRE.
> 2. Try Java 5.
>
> On Wed, Aug 4, 2010 at 10:00 AM, Ferenc Engárd <ferenc.eng...@gmail.com>
> wrote:
>>
>> I have purged the maven2 package and reinstalled.
>>
>> f...@fery-laptop:~$ mvn --version
>> Apache Maven 2.2.1 (rdebian-1)
>> Java version: 1.6.0_20
>> Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux" version: "2.6.32-24-generic" arch: "i386" Family: "unix"
>>
>> Nothing changed. :( Any other idea?
>>
>> Ferenc
>>
>> On Wed, Aug 4, 2010 at 5:27 PM, Matt Raible <m...@raibledesigns.com>
>> wrote:
>> > I'm guessing this is caused by your Maven installation. I'd suggest
>> > re-installing 2.2.1 and making sure "which mvn" points to your new
>> > installation.
>> > On Aug 4, 2010, at 9:18 AM, Ferenc Engárd wrote:
>> >
>> > Then ther root of the problem must be locally, but I have absolutely no
>> > idea
>> > where to search.
>> >
>> > Tried 2.0.2, the log is here below. This f*** junit 4.4 is the guilty
>> > here,
>> > too...
>> >
>> > Cleaned repo, empty settings.xml, plain ADSL connection, tested with
>> > 2.0.2
>> > and 2.1.0.M1... Anybody else has any idea? Maybe some more verbose log?
>> >
>> > Ferenc
[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to