This is a discussion on HP-UX 10.20 Environment variables within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi, This is propably a silly question for the ghurus, but I have troble getting my Java CLASSPATH environment ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, This is propably a silly question for the ghurus, but I have troble getting my Java CLASSPATH environment variable setup at logon. I added the "set CLASSPATH=/stuff/with/java/classes" and "export CLASSPATH" in /etc/profiles without any luck. What am i missing here ? John Eigelaar |
| |||
| Set is used only for csh, not sh. JohnP "John Eigelaar" <jeigelaar@yahoo.co.uk> wrote in message news > Hi, > > This is propably a silly question for the ghurus, but I have troble > getting my Java CLASSPATH environment variable setup at logon. > > I added the "set CLASSPATH=/stuff/with/java/classes" and "export > CLASSPATH" in /etc/profiles without any luck. > > What am i missing here ? > > John Eigelaar |
| |||
| On Mon, 27 Jun 2005 09:25:28 -0400, John Pezzano wrote: > Set is used only for csh, not sh. > > JohnP > > "John Eigelaar" <jeigelaar@yahoo.co.uk> wrote in message > news >> Hi, >> >> This is propably a silly question for the ghurus, but I have troble >> getting my Java CLASSPATH environment variable setup at logon. >> >> I added the "set CLASSPATH=/stuff/with/java/classes" and "export >> CLASSPATH" in /etc/profiles without any luck. >> >> What am i missing here ? >> >> John Eigelaar What should I be doing ? Is /etc/profile the right place for these things ? |
| ||||
| : On Mon, 27 Jun 2005 09:25:28 -0400, John Pezzano wrote: : > Set is used only for csh, not sh. : What should I be doing? Is /etc/profile the right place for these things? As John said, for a real shell you should use: export CLASSPATH=/stuff/with/java/classes profile is fine if all of your java applications use the same CLASSPATH. |
| Thread Tools | |
| Display Modes | |
|
|