• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OSX - setting Classpath - hint.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
reply
    Bookmark Topic Watch Topic
  • New Topic