[newbie] re java

2005-01-28 Thread Dave Needham

-- hi greham
soory dont understand. how do i get a shell up to put comands in,need step by 
step please.new to linux.


Many Thanks To All Who Reply
Best Wishes
Dave



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] re java

2005-01-28 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 28 Jan 2005 10:25, Dave Needham wrote:
 -- hi greham
 soory dont understand. how do i get a shell up to put comands in,need step
 by step please.new to linux.

System  Terminals  Konsole

OTOH, you probably have a black screen on your taskbar?  That will start 
konsole.

Anne
- -- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB+htBkFAvMr/nNX8RAv/fAKCRxXXvmARvxLOyUDr1xjrMGPc1pQCglabK
Pv6XwomT1RXqSy55SxjhAFg=
=2uTY
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] re java

2005-01-28 Thread Graham Watkins
Dave Needham wrote:
-- hi greham
soory dont understand. how do i get a shell up to put comands in,need step by 
step please.new to linux.

Hi Dave -don't have time for detailed instructions as I have to go out. 
I'd probably get them wrong anyway.

Assuming you are in KDE, there is a little icon of a monitor on your 
taskbar towards the lefthand side. klick on this and you have a shell to 
type commands in. You should (I think) su to root for this (type su 
root without the quotes and enter root password at the prompt).

Good luck
There are some real geniuses here who pick this up and run with it.
Over to you guys.
Graham

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] re java

2005-01-28 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 28 Jan 2005 11:15, Graham Watkins wrote:
 Assuming you are in KDE, there is a little icon of a monitor on your
 taskbar towards the lefthand side. klick on this and you have a shell to
 type commands in. You should (I think) su to root for this (type su
 root without the quotes and enter root password at the prompt).

 Good luck

 There are some real geniuses here who pick this up and run with it.

Not claiming to be one of the geniuses ;-) But -

Type 'su' and you can enter root commands.  To get out, back to your own 
shell, type 'exit'.

Better, though, is to use the menu Session  New Root Session.  This will open 
in a tab and you will always know by the colour whether you are using the 
root session or user one.  Again, 'exit' is the way to close the session.

Anne
- -- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB+iQEkFAvMr/nNX8RAsOqAJ48Plu5DbCQt4wDpL1N/Si7/4dwigCeJyU1
mc3qP/SK6/vdIAw864NDCDI=
=tkKu
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] re java

2005-01-28 Thread Graham Watkins
Dave Needham wrote:
-- hi greham
soory dont understand. how do i get a shell up to put comands in,need step by 
step please.new to linux.

Hi Dave -don't have time for detailed instructions as I have to go out. 
I'd probably get them wrong anyway.

Assuming you are in KDE, there is a little icon of a monitor on your 
taskbar towards the lefthand side. klick on this and you have a shell to 
type commands in. You should (I think) su to root for this (type su 
root without the quotes and enter root password at the prompt).

Good luck
There are some real geniuses here who can pick this up and run with it.
Over to you guys.
Graham

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] re: java

2003-01-24 Thread Mark Weaver
Raffaele Belardi wrote:

To check the path(s), type
$ env | grep PATH

or
$ echo $PATH

I don't think java.rpm sets up the path to the executables. You can do 
it by hand adding it to your .bashrc. Or, you can create a 
/etc/profile.d/local.sh as root, and put those settings there, so they 
will be loaded by all the users when they login.

For example, here's my /etc/profile.d/local.sh (but for .bashrc it would 
be the same):
-
# Configuration variables added by me

# variables for Forte Java Developement environment
export JDK_HOME=/usr/local/j2sdk1.4.0/
PATH=$PATH:/usr/local/j2sdk1.4.0/bin

# variable for Mozilla 1.0
export MOZILLA_FIVE_HOME=/usr/local/mozilla
-

The ony advantage I see of having a ~/bin is that its content will not 
be deleted (provided /home is in its own partition) when you upgrade the 
distribution. But be warned that normally rpm packages will install in a 
system directory (i.e. /usr/local or the like) and it will not be easy 
to convince them to use ~/bin instead. I abandoned the ~/bin almost 
immediately.
Unless, of course, you plan to develop your own stuff. In this case, a 
~/bin and the proper path is the way to go.

raffaele

Or, you could simply place symlinks from the java executables into 
/usr/bin and you wouldn't have to fuss with any of the PATH stuff cause 
/usr/bin is already in all the $USER paths.

Mark


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] re: java

2003-01-22 Thread Josenildo Marques
Hi !

Here's how I installed j2re-1_4_1_01-linux-i586-rpm.bin.

chmod a+x j2re-1_4_1_01-linux-i586-rpm.bin

then
./j2re-1_4_1_01-linux-i586-rpm.bin

and fin'lly
rpm -Uvh  j2re-1_4_1_01-linux-i586-rpm

Then, following the instructions on the mozilla plugins page

$ln -s /usr/java/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so 
~/.mozilla/plugins/libjavaplugin_oji.so

Mozilla can see it now.

My first question is: How can I know if java in my PATH ? (In case I want to 
run a program that depends on it)

[cyberhades@localhost cyberhades]$ $PATH
bash: 
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/cyberhades/bin:
 
No such file or directory

Second question: Am I supposed to create a ~/bin directory ? Would there be an 
advantage in creating it ?

Thanks in advance.






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] re: java

2003-01-22 Thread Raffaele Belardi
To check the path(s), type
$ env | grep PATH

or
$ echo $PATH

I don't think java.rpm sets up the path to the executables. You can do 
it by hand adding it to your .bashrc. Or, you can create a 
/etc/profile.d/local.sh as root, and put those settings there, so they 
will be loaded by all the users when they login.

For example, here's my /etc/profile.d/local.sh (but for .bashrc it would 
be the same):
-
# Configuration variables added by me

# variables for Forte Java Developement environment
export JDK_HOME=/usr/local/j2sdk1.4.0/
PATH=$PATH:/usr/local/j2sdk1.4.0/bin

# variable for Mozilla 1.0
export MOZILLA_FIVE_HOME=/usr/local/mozilla
-

The ony advantage I see of having a ~/bin is that its content will not 
be deleted (provided /home is in its own partition) when you upgrade the 
distribution. But be warned that normally rpm packages will install in a 
system directory (i.e. /usr/local or the like) and it will not be easy 
to convince them to use ~/bin instead. I abandoned the ~/bin almost 
immediately.
Unless, of course, you plan to develop your own stuff. In this case, a 
~/bin and the proper path is the way to go.

raffaele

[EMAIL PROTECTED] wrote:
Hi !

Here's how I installed j2re-1_4_1_01-linux-i586-rpm.bin.

chmod a+x j2re-1_4_1_01-linux-i586-rpm.bin

then
./j2re-1_4_1_01-linux-i586-rpm.bin

and fin'lly
rpm -Uvh  j2re-1_4_1_01-linux-i586-rpm

Then, following the instructions on the mozilla plugins page

$ln -s /usr/java/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so 
~/.mozilla/plugins/libjavaplugin_oji.so

Mozilla can see it now.

My first question is: How can I know if java in my PATH ? (In case I want to 
run a program that depends on it)

[cyberhades@localhost cyberhades]$ $PATH
bash: 
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/cyberhades/bin: 
No such file or directory

Second question: Am I supposed to create a ~/bin directory ? Would there be an 
advantage in creating it ?

Thanks in advance.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] re: java runtime environment

2002-05-22 Thread Michael Kovary

could you simply paste the contents of your text file into a mail message, 
because whenever I try to download it Hotmail send me into an endless loop 
of re-entering my password.


From: Kurt [EMAIL PROTECTED]
To: Michael Kovary [EMAIL PROTECTED]
Subject: Re: [newbie] re: java runtime environment
Date: Wed, 22 May 2002 11:38:47 -0500

 message1.txt 




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] re: java runtime environment

2002-05-21 Thread Michael Kovary


Sorry about replying to your address, but that's what hotmail did.  Sigh.
I've finished copying the files but when making the symlink I'm told the the 
file already exists, does this mean I can leave it alone or do I have to 
delete the old one first?

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Re: Java path

2002-01-08 Thread Carter Lyle

Well, after a few responses from yall, it appears ther is no Java on my 
machine.? When I view a page in Mozilla or Netscape, all java stuff works 
fine, Konquerorcant find any cups of Java on my machine, is their the JRE on 
one of the install discs? I have install discs 1  2  the 1st commercial app 
CD - Mandrake 8.1

Thanks again-
Carter




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com