LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-06-2003, 09:04 PM   #16
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Original Poster
Rep: Reputation: 15

How do you create sh file or something like
 
Old 11-06-2003, 09:09 PM   #17
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by unwrittenlaw
How do you create sh file or something like
Assuming that you're using KDE ...
Press <Alt>+<F2>
type kwrite<enter>
Once the editor opens, type
Code:
xport PATH=$PATH:/usr/java/j2sdk/bin:.
export CLASSPATH=/usr/java/j2sdk/lib:.
In the menu, select File -> saveAs
call it .profile, click OK

Cheers,
Tink
 
Old 11-06-2003, 11:58 PM   #18
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Original Poster
Rep: Reputation: 15
How do i Create a file called 'java.sh' as 'root' in '/etc/profile.d'
 
Old 11-07-2003, 12:12 AM   #19
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Re: Java Install Please Help!!!

Quote:
Originally posted by unwrittenlaw
I need help on setting the path on my java. is located on /usr/java/j2sdk...etc... and i just need help on setting my PATH thank you so much
what is the full j2sdk folder name?
 
Old 11-07-2003, 12:58 AM   #20
lifted_one
LQ Newbie
 
Registered: Nov 2003
Location: phx
Distribution: Mandrake 9.1; Redhat 9
Posts: 9

Rep: Reputation: 0
Quote:
Originally posted by unwrittenlaw
How do i Create a file called 'java.sh' as 'root' in '/etc/profile.d'
1. Log out.

2. Log back in as username "root". If you did not install this operating system on the computer that you are working on, then you will not know what the password is for username "root". If that is the case, then get they guy who knows what the password is for username "root"

3. Open your favorite text editor (kwrite, gedit, ..)

4. write whatever you need to write.

5. Save the file inside "/etc/profile.d" and call it "java.sh"
 
Old 11-08-2003, 09:42 PM   #21
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Original Poster
Rep: Reputation: 15
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.

i been trying to install Limewire and this happen can some please Help
 
Old 11-08-2003, 11:12 PM   #22
lifted_one
LQ Newbie
 
Registered: Nov 2003
Location: phx
Distribution: Mandrake 9.1; Redhat 9
Posts: 9

Rep: Reputation: 0
In a shell (command prompt) type:

java -version


If your JVM is installed properly, you should see the following text:

java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
 
Old 11-08-2003, 11:42 PM   #23
lifted_one
LQ Newbie
 
Registered: Nov 2003
Location: phx
Distribution: Mandrake 9.1; Redhat 9
Posts: 9

Rep: Reputation: 0
Here is the reslt of my succesful install


[lifted_one@localhost lifted_one]$ java -version
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
[lifted_one@localhost lifted_one]$ cd limewire
[lifted_one@localhost limewire]$ ls
LimeWireLinux.bin*
[lifted_one@localhost limewire]$ ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

[lifted_one@localhost limewire]$ cd ..
[lifted_one@localhost lifted_one]$ cd LimeWire
[lifted_one@localhost LimeWire]$ ls
collections.jar* LimeWire.jar* SOURCE*
COPYING* LimeWire.lax* themes.jar*
COPYING~* logicrypto.jar* UninstallerData/
data.ser* MessagesBundle.properties* update.ver*
jl011.jar* MessagesBundles.jar* xerces.jar*
lax.jar README.txt* xml.war*
LimeWire* runLime.sh*
LimeWire_Installer_InstallLog.log runLime.sh~*
[lifted_one@localhost LimeWire]$ LimeWire
 
  


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
java does not install in opt but install in usr bbmak Linux - Software 6 10-02-2005 11:13 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
How Do you install Java? wizjr1 Fedora 3 07-03-2004 08:52 AM
Java Install marlaina1 Linux - Software 5 03-22-2004 11:58 AM
Help with java install (again...) MidgetmanUK Linux - Newbie 3 10-04-2003 08:36 AM

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

All times are GMT -5. The time now is 09:17 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
Open Source Consulting | Domain Registration