21 Oct 2008 twisti   » (Master)

(free) OpenJDK on OpenSolaris, Part 64

After getting the 32-bit IcedTea built, I also want a 64-bit OpenSolaris version. But I can't get over this error:


----------
1. ERROR in
/export/home/twisti/projects/openjdk/icedtea6-bootstrap/build-hotspot-m64/openjdk-ecj/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ConnectorImpl.java
(at line 28)
        import com.sun.tools.jdi.LinkedHashMap;
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import com.sun.tools.jdi.LinkedHashMap cannot be resolved
----------
1 problem (1 error)make[7]: *** [../generated/sa-jdi.jar]
Error 255

I am absolutely sure I had the same issue with the 32-bit build, but I can't remember how I fixed it. Damn!

So I decided to build OpenJDK directly with my pre-built IcedTea. Again it took some workarounds, but it worked:


$ java -version
openjdk version "1.6.0-internal"
OpenJDK Runtime Environment (build
1.6.0-internal-twisti_19_oct_2008_17_12-b00)
OpenJDK Server VM (build 10.0-b19, mixed mode)

And the actually wanted 64-bit version:


$ java -d64 -version
openjdk version "1.6.0-internal"
OpenJDK Runtime Environment (build
1.6.0-internal-twisti_19_oct_2008_17_12-b00)
OpenJDK 64-Bit Server VM (build 10.0-b19, mixed mode)

Now I will try OpenJDK7.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!