• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

OSX - setting Classpath - hint.

 
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.
 
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
 
Marshal
Posts: 67279
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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
 
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 ]
 
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
 
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....
 
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!