Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: basic config issue (multiple part question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: basic config issue (multiple part question)



Hi Michael,

See <http://www.netbeans.org/issues/show_bug.cgi?id=48117> for a starting point for tailoring NetBeans on OS X.

NetBeans allows you to use any platform equal to or older than the platform it starts up with. By default, it starts with 1.4 on OS X. To use 1.5, set the variable netbeans_jdkhome to
"/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home"
or use the --jdkhome startup switch.


As noted in other posts NetBeans is very flexible about which jvm can be used for both source and execution. It is not necessary to modify the symbolic links.

If you need more help, let me know.

Travis
------

--On August 27, 2005 6:57:47 PM -0700 Michael Steinfeld <email@hidden> wrote:



--- Michael Steinfeld <email@hidden>
wrote:

 Date: Sat, 27 Aug 2005 18:33:02 -0700 (PDT)
 From: Michael Steinfeld
 <email@hidden>
 Subject: basic config issue (multiple part question)
 To: email@hidden

 Hi and thanks to those who take the time to
 reply....

 I am running OS X 10.4.2

 java version "1.4.2_09"

 I wanted to switch to using 1.5 with netbeans 4.1. I
 noticed at java.com there is not a binary update.

 I did update to 1.5.0 via developer.apple.com
 According to apple this is not a replacement for JDK
 1.4.2. Why would I need the 1.4 version if I have
 downloaded the update?

 Next, In school we are using 1.5 with netbeans 4.1
 on
 a windows environment. At home I have only OS X and
 Linux. My Instructor said using OS X in class is
 fine,
 but I am concerned about compatability issues (
 which
 using the scanner class in school forced me to>
upgrade
 to 1.5 at home) are then any I should be aware of?

 Last but not least...

 /usr/bin/java is 1.4.2 I would like to replace that
 with 1.5 I noticed it was a symlink and tried to
 rename java (1.4) to java_backup ( I was afraid to
 delete it ). Can i just delete the symlink with "rm
 /usr/bin/java"? Then symlink:


/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/...java to /usr/bin/java

 or is there a better solution? I want netbeans to
 use
 1.5.0 on default which I have looked how to do but
 to
 no avail.

 Is there an environment variable I can set in my
 .bashrc file like

JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home

 that netbeans will use as default?

 Any assistance is greatly appreciated. Thanks!
 --mike




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >basic config issue (multiple part question) (From: Michael Steinfeld <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.