Category: Java SE

Nexus installation on Tomcat 7 with JDK7

I tried to install Nexus 1.9.2.2 OSS on my Tomcat 7.0.20 with the new Oracle JDK 7. This was not a big success. Ok first of all make sure to use the unpacked version of the nexus war or else it wont be able to find the NEXUS_PLEXUS_WORK environment variable.

Second, you need to patch the unpacked war. Strip out the xstream-1.3 and add the latest snapshot. Also add the latest xmlpull.org API jar to the WEB-INF/lib of the unpacked nexus war.

More info see this JIRA ticket.

Java 7 and 8 JSRs are here!

During the last few weeks I did not really have a lot of time to update my blog. I had to prepare a few presentations and workshops on Java EE 5, JPA 1.0, EJB 3, JSF 1.2 and JBoss Seam. You can imagine this takes a lot of time ;-) During the process I also had to do some work for a new Java startup in which I`m actively participating called JPoint (Dutch).

But it`s time to write a blog post because a lot of interesting stuff is happening in Java land. First, IBM announced they will join the OpenJDK project. Development effort will shift from Apache Harmony to the OpenJDK project. This basically means the end of the Apache Harmony project.

Last week Oracle finally submitted the JSRs for Java 7 and 8. As already mentioned at the JavaOne 2010 keynote a lot of features have been dropped from Java 7 and will be moved to Java 8. JDK development will be done under the OpenJDK project.

Java module system
The Java module system (Project Jigsaw), which has my particular interest, will be moved to Java 8.

Timeline
Java 7 is expected to ship somewhere around mid 2011 and Java 8 is scheduled for end 2012.

More info
InfoQ has written up a nice article describing the contents of Java 7 and 8, have a look here.