Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OSX - setting Classpath - hint.

 
Brynley Blake
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

To all those struggling as I did...

http://www.rubicode.com/Software/RCEnvironment/

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
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??

Venkat
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64855
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"venkatraman",

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.

Thanks!
bear
Forum Bartender
 
Ben Poole
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Cayenne
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello...

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....
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic