LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-09-2003, 03:43 AM   #1
hadding
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 40

Rep: Reputation: 15
Angry Installing Java SDK 1.4.2 grrr...........


The Sun Java SDK is really starting to piss me off. I set my $PATH even my $CLASSPATH (even though the Sun docs so ya don't need $CLASSPATH for 1.4.x . Supposedly smart enough to figure that all out. umm..... bullshit) Finally I added :. to the end of my classpath and it seems to work half ass. What the hell does :. mean ?? Keep getting package does not exist errors even though I'm sitting here looking @ them right where my $CLASSPATH points to.

Throw me a frickin bone people.

_h

Last edited by hadding; 11-09-2003 at 03:45 AM.
 
Old 11-09-2003, 08:25 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I going to do a little guessing here, but I think that bit you've added at the end ought to be :./ not :.

With the ./, you're adding your current directory to your classpath and I think that is why you're getting the error message. Just a . doesn't quite do it. And the : is just the approved separator between the individual paths on the classpath.

That said, I run into this problem as well from time to time. The only reliable solution I've found is using the -classpath flag when I compile and run

javac -classpath ./:/any/other/driectory/I/need Filename.class
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why There is no Java 2 SDK ? JOKe Debian 5 03-08-2005 03:37 PM
Several questions: In short Java SDK, Dual Boot with XP and Installing Nvidia Drivers cuscus1986 Linux - Newbie 4 01-08-2005 04:50 PM
Installing Java SDK 1.4.2_05 hevykevy7 Linux - Software 4 09-11-2004 05:39 AM
Installing JAVA SDK 1.3 on RedHat7.3 jenze76 Linux - Software 2 08-15-2004 11:31 AM
JAVA:problem in installing ECLIPSE SDk on LINUX nedian123 Programming 1 06-26-2004 10:37 PM


All times are GMT -5. The time now is 04:51 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration