LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-17-2007, 04:43 AM   #1
karthikeyhegde
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
problem with setting CLASS_PATH variable for compile java


hi
when i try to give command below to set classpath for java class files

set $class-path=%$CLASS_PATH%;apachetomcat5/conf/lib/servlet-api.jar
i get error permision dinied, pls anybody could help me to fix it?

thanks
karthikey
 
Old 04-17-2007, 04:51 AM   #2
tomerbd
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
regarding the ;

I think in linux you should use ':' instead of the ';' seperator for classpath
 
Old 04-17-2007, 05:06 AM   #3
karthikeyhegde
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tomerbd
I think in linux you should use ':' instead of the ';' seperator for classpath
ok but how to fix the error that "permision denied" n root also.
 
Old 04-19-2007, 01:45 AM   #4
tomerbd
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
I tried your command but i had other errors.
What if you try this:

Code:
export classpath=yourclasspathhere
 
  


Reply

Tags
classpath, variable


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java: inner class, variable accessibility problem nadroj Programming 2 10-05-2006 09:18 PM
Setting the path variable for Java Comp. lmellen Programming 4 12-30-2004 09:51 AM
Setting the path variable for Java Comp. lmellen Programming 1 06-27-2004 10:38 PM
Help php compile javac or java system environment variable antony_csf Programming 1 06-16-2004 01:12 PM
setting java VM environnement variable sgroy45 Linux - General 2 12-22-2002 10:51 AM


All times are GMT -5. The time now is 11:45 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration