Unix Technical Forum

HP-UX 10.20 Environment variables

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:16 PM
John Eigelaar
 
Posts: n/a
Default HP-UX 10.20 Environment variables

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:16 PM
John Pezzano
 
Posts: n/a
Default Re: HP-UX 10.20 Environment variables

Set is used only for csh, not sh.

JohnP

"John Eigelaar" <jeigelaar@yahoo.co.uk> wrote in message
newsan.2005.06.27.12.05.02.345428@yahoo.co.uk...
> 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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 07:16 PM
John Eigelaar
 
Posts: n/a
Default Re: HP-UX 10.20 Environment variables

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
> newsan.2005.06.27.12.05.02.345428@yahoo.co.uk...
>> 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 ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 07:16 PM
Dennis Handly
 
Posts: n/a
Default Re: HP-UX 10.20 Environment variables

: 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com