LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 10-17-2005, 03:52 PM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
apt-get j2sdk1.4, now where is my path?


I added http://www.tux.org.... to my sources.list to get the Java 2 SDK. Did the apt thing and it all went well...

but now I cannot find the installed package ANYWHERE to export my path and use it!

any ideas where its at?

thnaks LQ'ers!
 
Old 10-17-2005, 04:40 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
but now I cannot find the installed package ANYWHERE to export my path and use it!
You don't need to export your path to use it
 
Old 10-17-2005, 04:45 PM   #3
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
but when I type java -version it says that java is an unknown command...

and when i installed j2sdk1.4 it pulled the j2re with it, so that should be there as well

Last edited by lefty.crupps; 10-17-2005 at 04:54 PM.
 
Old 10-17-2005, 05:18 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
i am using j2sdk1.4 on my debian box and when i type java -version i get the version using a graphical interface(desktop) or not.
open a new terminal and type again. if it fails try
Code:
which java
Code:
dpkg -L j2sdk1.4|grep bin|grep java
it is not necessary to logout-login but you could do so to check again
 
Old 10-18-2005, 01:19 PM   #5
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
"which java" gives no output.
"java -version" still says
bash: java: command not found

i know that DSL isn't strictly debian, but this should still work, right? what am i missing?

this works fine on my MEPIS box...

(edited)
OK, I tried apt-get install j2sdk* and this time two errors:

W: cannot stat source package list: www.tux.org sid/Main Packages...
E: You don't have enough space in /var/cache/apt/archives

SO I don't have Java SDK like I thought...

This whole install is on a USB drive with a qemu.img of about 200MBs. What can I remove to give APT more space? For example, I don't need:
Dillo
Siag
Beaver
Sylpheed
FLWriter
xZGV
but these aren't .deb (apt) packages so I am not sure how to remove them...

Last edited by lefty.crupps; 10-18-2005 at 03:51 PM.
 
  


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
Install with apt-get in other path Frunktz Debian 16 02-17-2006 05:22 AM
Two questions: $PATH and some apt-get help. Lokathor Debian 7 10-28-2005 12:21 AM
help classpath problem j2sdk1.4.2_04 antony_csf Linux - Software 3 06-17-2004 12:46 AM
apt-get source for j2sdk1.4 (1.4.0.99 bet) chas Debian 10 01-23-2004 09:26 PM
Help in Cofigurating J2SDK1.4.2 Eros_ Linux - Software 16 07-21-2003 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 03:25 AM.

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