LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02: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 02:45 AM.
 
Old 11-09-2003, 07:25 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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



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 02:37 PM
Several questions: In short Java SDK, Dual Boot with XP and Installing Nvidia Drivers cuscus1986 Linux - Newbie 4 01-08-2005 03:50 PM
Installing Java SDK 1.4.2_05 hevykevy7 Linux - Software 4 09-11-2004 04:39 AM
Installing JAVA SDK 1.3 on RedHat7.3 jenze76 Linux - Software 2 08-15-2004 10:31 AM
JAVA:problem in installing ECLIPSE SDk on LINUX nedian123 Programming 1 06-26-2004 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration