The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Running NetBeans 6 on SoyLatte (follow up)

Posted by fabriziogiudici on November 28, 2007 at 12:12 PM PST
Landon Fuller has released the R3 version of his preview of the Java 6 port for Mac OS X. This simplifies the setup of NetBeans 6 and I've fixed a final problem with it.

Now, to run NetBeans 6 with SoyLatte, you just need:
  1. run setenv DISPLAY :0.0 (or similar commands for other shells)
  2. launch X11 from /Application/Utilities
  3. patch $NETBEANS_HOME/etc/netbeans.conf with the appropriate L&F settings:

    netbeans_default_options="... other options ... --laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel"

  4. patch $NETBEANS_HOME/harness/run.xml with:
    <target name="run" depends="-prepare-as-app,-prepare-as-platform">
        ...
            <exec os="Linux SunOS Solaris Darwin Mac OS X" dir="." executable="sh" failonerror="yes">
            ...
            </exec>
    </target>
  5. If you're developing a NetBeans RCP application, add this property to your nbproject/project.properties:
    run.args.extra=... other settings ... --laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel


Technorati Tags: , , ,
Comments
Comments are listed in date ascending order (oldest first)