Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.


  Search this Thread
Old 01-11-2008, 08:44 PM   #1
LQ Newbie
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
java and DSL

I can't seem to get DSL to talk to my broad band router yet so i download from the DSL repository in windows and then copy to a pen drive.

downloaded jre1_5_0.tar.gz and unpacked with winzip to jre1_5_0.tar

downloaded xmahjongg.tar.gz and unpacked with winzip to xmahjongg.tar

copied all four to the myDSL/optional folder < do not know which the myDSl loader prefers.>

when i rmb the dsl desktop/Install optional Extensions/Xmahjongg
i get the Xmahjongg icon.

when i rmb the dsl desktop/Install optional Extensions/jrel1_5_0

when i open a terminal window and enter java i get bash: java: command not found

my question is:What can i do to install the java and javac commands much like mahjong meaning it installs only when i install it as an optional extension? replies are welcome

Thanks for your time and effort !
Old 01-13-2008, 06:35 AM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Well, you would have to put the path to your jre at the bottom of your /home/username/.bash_profile or your /etc/profile. Something like this:
export J2RE_HOME=/path/to/jre/bin
This will not work straightaway; log out if you use bash_profile or simply use this command (must be root) in the other case: source /etc/profile.

You can also set it up just for the duration of a session by starting up a terminal and entering:
export PATH=$PATH:/path/to/your/jre/bin
e.g. export PATH=$PATH:/opt/jre1.6.0_04/bin


install, jre, mydsl

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
D-Link DSL-200 Rev B DSL modem -- success!! ludeKing Linux - Hardware 1 03-11-2007 07:32 PM
installing Cups in DSL and using DSL to share a network printer fakie_flip DamnSmallLinux 0 09-13-2006 10:20 PM
Dsl Modem Installation -- Aztech Dsl Turbo 100 psganesh Linux - Networking 0 07-01-2004 03:04 AM
Java and C problems on DSL stupidclese Linux - Newbie 9 01-17-2004 12:50 PM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 05:09 AM

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

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