wood burning stoves
The moose likes Mac OS and the fly likes OSX - setting Classpath - hint. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "OSX - setting Classpath - hint." Watch "OSX - setting Classpath - hint." New topic

OSX - setting Classpath - hint.

Brynley Blake

Joined: Jun 11, 2003
Posts: 3

To all those struggling as I did...


An excerpt of the read me follows...basically it is almost identical to setting class path under WinXP.

To install RCEnvironment.prefPane just copy it to ~/Library/PreferencePanes or /Library/PreferencePanes and launch System Preferences. You may have to create the directory first.

Using RCEnvironment is very simple. Use the '+' and '-' buttons to add or remove variables from the list. Once you have set up the list of variables the way you want, just press the 'Apply' button. Duplicate and blank names are not allowed. At any time, you can 'Revert' back to the current state of variables.

Once you have saved changes to your environment, you must logout and log back in for any changes to take effect.
Venkatraman Kandaswamy
Ranch Hand

Joined: Jul 07, 2004
Posts: 120
Thanks for this tip !!! It picked up my environment settings. It works beautifully.

Out of curiosity : other than eclipse, JEdit what other Java tools do you use in a mac? Do you use XCode? Is it good enough for Java??

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63868


We're pleased to have you here with us here on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
Ben Poole
Ranch Hand

Joined: Jul 17, 2003
Posts: 33
I'm not sure I follow here: that does look like a valid name to me: "Venkatraman Kandaswamy". Isn't it?

[Bear: it is now; originally the last name was omitted]

Anyway, WRT Venkatraman's question, Xcode is just fine as a Java IDE, although I tend to use Eclipse on my Mac at home -- if nothing else for the sake of muscle memory! (I use Eclipse on my XP machine at work)
[ November 08, 2004: Message edited by: Bear Bibeault ]
Cayenne Woods

Joined: Nov 06, 2004
Posts: 4
I looked at this and it seems very cool - however, in my case it still wouldn't help, far as I can see.

I need to know _exactly_ what to put in here, if anyone could tell me.

I have one book with animated cd that has a path line like:
set path=(lib:/usr/local/bin:usr/ucb:bin:/sbin:/usr/bin:/usr/sbin:/usr/etc:/
I'm sure this is supposed to mean something, but dunno what!

have another topic on this, but again any non-programmer veryvery beginner tips much appreciated.

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511

I have that same RC* set also and it does resemble the one on WinXP.

My question(s) are:

(1) I set the JAVA_HOME to /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2

in that same directory, where do I find the files that I put for my CLASSPATH?

Any help, would be most appreciative....
I agree. Here's the link: http://aspose.com/file-tools
subject: OSX - setting Classpath - hint.
It's not a secret anymore!