Yea, axis2 trunk sources build fine but only with oracle-6-java installed which is not the standard for Ubuntu.
And the installation of oracle-6-java was a nightmare on Ubuntu. This as opposed to oracle-7-java. I have seldom read so much crap in the web about how to install oracle-6-java than with and for Ubuntu. Oracle allows to download an jdk-6u43-linux-i586-rpm.bin <javascript:%20void(0)> and jdk-6u43-linux-i586.bin <javascript:%20void(0)> for Linux x86. it unpacks into a .rpm, and then what? $ cd /usr/lib/jvm $ alien -i jdk-6u43-linux-i586.rpm alien unpacks and creates a directory and in the end it kills it so where did alien install the jdk? then a bit later on, after reading tons of web-crap, I found out myself that the jdk-6u43 was installed at /usr/lib/java while all other java kits are at /usr/lib/jvm As I had multiple runs of alien to find out what goes wrong, I can not say when the kit got actually installed. So I just declared and exported JAVA_HOME=/usr/lib/java/jdk-6u43 and all was OK for java -version, mvn -version and ant -version and buiding axis2 from trunk was just a sniff, error free on its first attempt including surefire testing on Ubuntu 12.04 Josef Von: Shameera Rathnayaka [mailto:shameerai...@gmail.com] Gesendet: Montag, 25. März 2013 17:14 An: java-user@axis.apache.org Cc: axis-u...@ws.apache.org Betreff: Re: [axis2] trunk not building on Ubuntu H i Stadelmann, It is working fine with jdk 6 , but not jdk 7, getting some test failures in kernel with jdk 7. (here i am talking about oracle jdks) my environment: OS- Ubuntu 12.04, Maven 3.0.4 Thanks, Shameera. On Mon, Mar 25, 2013 at 6:22 PM, Stadelmann Josef <josef.stadelm...@axa-winterthur.ch> wrote: Hi I just like to know if on a Ubuntu 10.04 with jdk java-7-oracle, maven-3.0.5, ant-1.8.4 should build and test error free? At my site it is a nightmare! I have built OpenJDK 8 on that Ubuntu system! Then I used that built OpenJDK 8 for NetBeans 7.3 BUT I was unable to build axis2 latest trunk sources! So I changed away from OpenJDK and installed a Java-7-Oracle jdk on my Ubuntu 10.04 I took a terminal window, left of NetBeans 7.3, and re-tried to build axis2 trunk again. absolute no luck, it's a nightmare. it fails with surefire tests, so I started to <exclude> each one which did not run and made progress; but now at integration testing, there are just too many sure fire tests not running. So I gave up and ask here. Hence I just like to know if on a Ubuntu 10.04 with jdk java-7-oracle, maven-3.0.5, ant-1.8.4 should build and test error free? Did someone try this build? What up building axis2 on Ubuntu - or is Ubuntu for the foxes, can I give up this attempt? Josef -- Best Regards, Shameera Rathnayaka. Blog : http://shameerarathnayaka.blogspot.com/ <http://shameerarathnayaka.blogspot.com/>