Aqua Status and Build Process Questions

Henri Gomez henri.gomez at gmail.com
Sun Jul 31 05:25:20 PDT 2011


Hi Scott

You mentioned  OpenJDK 7 and NetBeans 7.

Did you try to use NetBeans 7 to make Java 7 apps or to run NetBeans 7
with OpenJDK 7 ?

2011/7/30 Scott Palmer <swpalmer at gmail.com>:
> I've been doing my own builds and I'm starting to question if I'm doing them correctly.
> First I tried to run Netbeans 7.0.1rc1 and ran into this issue:
> http://java.net/jira/browse/MACOSX_PORT-203
>
> But I used the trick mentioned there to get Netbeans to launch and I noticed this in the log:
>
>        "Custom UI class apple.laf.AquaLookAndFeel not on class path."
>
> From the project status page (http://wikis.sun.com/display/OpenJDK/Mac+OS+X+Port+Project+Status) it looks like the Aqua LnF is mostly complete, and I thought I read here that it was enabled weeks ago.
>
> But Netbeans 7.0.1rc1 doesn't seem to enable the screen  menu bar and uses the Java default LnF.
>
> I build by pulling and updating the main repo, then running the get_source.sh script.  Then I run this custom batch script to build the code:
>
> #!/bin/bash
> export LANG=C
> unset JAVA_HOME
> export CC=/Developer/usr/bin/llvm-gcc-4.2
> export CXX=/Developer/usr/bin/llvm-g++-4.2
> export ALLOW_DOWNLOADS=true
> export SA_APPLE_BOOT_JAVA=true
> export ALWAYS_PASS_TEST_GAMMA=true
> export ALT_BOOTDIR=`/usr/libexec/java_home -v 1.6`
> make $1
>
>
> Whenever the build fails I make sure to do a "make clean" and then "make" and it seems to work.
>
> Then I can run Java 7 with:
>  `/usr/libexec/java_home -v 1.7`/bin/java
>
> The path returned for java_home is:
>  /Users/scott/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
>
> and java -version returns:
>
> $ `/usr/libexec/java_home -v 1.7`/bin/java -version
> openjdk version "1.7.0-internal"
> OpenJDK Runtime Environment (build 1.7.0-internal-scott_2011_07_28_22_41-b00)
> OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
>
> The timestamp on the version indicates it is using what I've just compiled.
>
> Am I missing something, or is Aqua still not usable?
>
>
> Regards,
>
> Scott


More information about the macosx-port-dev mailing list