[newbie] java for root

2005-02-23 Thread Jay Warwick
I have installed jre1.5.0_01 and can use it as a user but not root. To
do this I added PATH=$PATH:/usr/local/bin/jre1.5.0_01/bin
in /etc/profile.  Is this correct, what else do I need to do?

Thanks

JW



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



[Fwd: Re: [newbie] java for root]

2005-02-23 Thread Jay Warwick
 Forwarded Message 
 From: Q.H. Wang [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] java for root
 Date: Wed, 23 Feb 2005 15:16:41 +
  I have installed jre1.5.0_01 and can use it as a user but not root. To
  do this I added PATH=$PATH:/usr/local/bin/jre1.5.0_01/bin
  in /etc/profile.  Is this correct, what else do I need to do?
 
 If you've followed the instructions from SUN for JRE installation, there 
 should be no any problem. I installed jre1.4.x and 1.5.x and jdk 1.5.x. All 
 of them worked perfectly.
 
 For you problem, it might be a path problem, I guess. Are you sure it (java) 
 is in your root path? What do you get if you run which java as root?
 
 Bests,
 
 Q.H.
 

Result of which java as follows:

which: no java in
(/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)

This doesn't make sense to me as I have installed Java
within /usr/local/bin

If I remember rightly, there is another line required in /etc/profiles
to EXPORT_PATH.  Is this right, to what path if it is already installed
in /usr/local/bin?

Thanks,

JW



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



Re: [Fwd: Re: [newbie] java for root]

2005-02-23 Thread Q.H. Wang


 Result of which java as follows:

 which: no java in
 (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbi
n)


I guess this is the reason which means java is not in your path! You'd check 
where you installed JRE. When java is in your path the command which java's 
gonna tell you the exact location of java.

Similarly what I got is 

[EMAIL PROTECTED] which java
/usr/bin/java
[EMAIL PROTECTED] ls /usr/bin/java -la
lrwxrwxrwx  1 root root 30 Feb  4 17:32 /usr/bin/java 
- /usr/java/jdk1.5.0_01/bin/java*


I'm not sure what's going on with your /etc/profile. If you have exported the 
PATH you edited, it's out of my mind why it's not working. 

I didn't edit the /etc/profile, just simply made a symbol link to put the java  
(/usr/java/jdk1.5.0_01/bin/java) into /usr/bin (/usr/bin/java). I guess this 
way is more straightforward. 

Here is a link that you may have interest, especially the step 7 there.
http://jabref.sourceforge.net/installation.html

HTH.

Q.H.




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



[newbie] java

2005-01-28 Thread Dave Needham
hi all.ive just dwnloaded java j2re-1_4_1_01 linux i586-rpm.bin
how do install it please.ive double clicked on it but nothing.
-- 


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] java

2005-01-28 Thread Graham Watkins
Dave Needham wrote:
hi all.ive just dwnloaded java j2re-1_4_1_01 linux i586-rpm.bin
how do install it please.ive double clicked on it but nothing.

This may help (quoted from the readme file that helped with my own 
installation). Change details to match your own version no. of course.

 - Make the shell script executable
% chmod +x j2re-1.4.2-01-linux-ARCH.bin
  (Replace ARCH with the architecture of your system, e.g.
  replace ARCH with i586 if your on an Intel system.)
- Change to the directory you want to install into, e.g /usr/local
% cd /usr/local
- Extract the contents of the Java 2 SDK by running the shell 
script
% ./j2re-1.4.2-01-linux-ARCH.bin
  (Replace ARCH with the architecture of your system, e.g.
  replace ARCH with i586 if your on an Intel system.)
- Add j2re1.4.2/bin to PATH, e.g. if you installed into /usr/local
% export PATH=/usr/local/j2re1.4.2/bin:$PATH

Hope this helps.

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



Re: [newbie] Java programming

2005-01-18 Thread Jan Rubbrecht
I usually just buy the books from amazon.com (or any other site that
sells books).
So far, I haven't found one good tutorial online that doesn't p*ss me
off because of lack of information, no good or complete explanation,
lack of teaching ability of the author etc.
On the book selling sites, you can make a good choice, read reviews
about the books, and they offer books in all price ranges.
Use a courier service though, coz ttpost often loses those shipments ;-)

PS. please check the reply-to address (newbie@linux-mandrake.com)

On Mon, 17 Jan 2005 19:06:16 -0400, Charles Lee Ying
[EMAIL PROTECTED] wrote:
 can someone pls identify himself/herself as a good java programmer.
 
 I just want you to point me in the direction of a good tutorial for
 doing programming in graphics using Java. I've tried those provided by
 Sun, but they are mostly good for basic stuff and I need something a
 little more advanced that is especailly focused on graphics and not
 general Java topics.
 
 charles
 
 ps. the tutorial should be able to refresh you in the basics and show
 how it progresses to the more advanced, so that I can understand how it
 gets there !
 
 
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 
 
 



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



[newbie] Java programming

2005-01-17 Thread Charles Lee Ying
can someone pls identify himself/herself as a good java programmer.
I just want you to point me in the direction of a good tutorial for 
doing programming in graphics using Java. I've tried those provided by 
Sun, but they are mostly good for basic stuff and I need something a 
little more advanced that is especailly focused on graphics and not 
general Java topics.

charles
ps. the tutorial should be able to refresh you in the basics and show 
how it progresses to the more advanced, so that I can understand how it 
gets there !


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



Re: [newbie] Java VM Problems

2004-12-28 Thread Paul Smith
On Sun, 26 Dec 2004 16:37:49 -0500, Dave Ashmore [EMAIL PROTECTED] wrote:
  Trouble is, I'm trying to install LimeWire (the P2P program), and I
  keep getting told that there is no VM on my machine. Thats crap! I
  know full well there is! :-)
 
  Now, It's installed to /usr/java (where I always used to install it),
  and my .bash_profile has been suitably amended for the latest version
  of the J2RE.

Apollon is better and easier of installing than LimeWire. Have a look at:

http://apollon.sourceforge.net/

Paul

PS: Since I am a GMail user, please be sure that you reply to the list.


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



Re: [newbie] Java VM Problems

2004-12-27 Thread Dave Ashmore
J wrote:
Hi All,
I've just installed J2RE 1.4.2_06 on my machine.
Trouble is, I'm trying to install LimeWire (the P2P program), and I 
keep getting told that there is no VM on my machine. Thats crap! I 
know full well there is! :-)

Now, It's installed to /usr/java (where I always used to install it), 
and my .bash_profile has been suitably amended for the latest version 
of the J2RE.

I'm at a loss as to why it wont work.
.bash_profile is pasted below, just in case I have done something 
wrong whilst modifying it, although all I have done is changed 
j2re1.4.2_03 to j2re1.4.2_06, to bring it up to date with the latest 
version.

export JAVA_HOME=/usr/java/j2re1.4.2_06
export PATH=$JAVA_HOME/bin:$PATH
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
   . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
Any ideas? I have even tried a restart (yes, I had to once after 
installing an older version  modifying!)

Thanks,  Seasons Greetings etc,
James
I can't help ya with Java but I have found gnutella to work good for me.
As root:
urpmi gtk-gnutella
Works for me.
--
Regards
Dave Ashmore
MDK 10.1 Official Mozilla 1.7.3


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



[newbie] Java VM Problems

2004-12-26 Thread J
Hi All,
I've just installed J2RE 1.4.2_06 on my machine.
Trouble is, I'm trying to install LimeWire (the P2P program), and I keep 
getting told that there is no VM on my machine. Thats crap! I know 
full well there is! :-)

Now, It's installed to /usr/java (where I always used to install it), 
and my .bash_profile has been suitably amended for the latest version of 
the J2RE.

I'm at a loss as to why it wont work.
.bash_profile is pasted below, just in case I have done something wrong 
whilst modifying it, although all I have done is changed j2re1.4.2_03 to 
j2re1.4.2_06, to bring it up to date with the latest version.

export JAVA_HOME=/usr/java/j2re1.4.2_06
export PATH=$JAVA_HOME/bin:$PATH
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
   . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
Any ideas? I have even tried a restart (yes, I had to once after 
installing an older version  modifying!)

Thanks,  Seasons Greetings etc,
James
--
 Sent using Mozilla Thunderbird on Mandrake Linux 10.1
 100% virus free, as it's nothing to do with Microsoft!
 
 73 de 2E0ZZY
 Yaesu FT-902DM 50w with quad band nested dipoles
 Yaesu FT-7800E Dual Band, Watson W20 Vertical
 Tait T500 SII 70.425  70.450MHz - Now with G6OHM 4 Ch. Conversion!
 Packet: [EMAIL PROTECTED]



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



Re: [newbie] Java VM Problems

2004-12-26 Thread Edward Holcroft
I had this problem with Limewire when I upgraded to j2re1.4.2_05 with Mandrake 
10.1 Powerpack DVD.

My .bashprofile does not have the lines you refer to, it is just the default, 
but /etc/profile has the following lines which I added, which fixed the 
problem to which you refer:

JAVA_HOME=/usr/lib/jdk-1.4.2_05/jre
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=$PATH:$JAVA_HOME/lib:

export JAVA_HOME PATH CLASSPATH

As you can see I changed the reference in JAVA_HOME to point 
to /usr/lib/jdk-1.4.2_05/jre/bin/ instead of at the symbolic link 
(/user/java/j2re1.4.2_05). This is probably not the most elegant solution and 
I am not even sure why there were symbolic links used in the first place. All 
I know is after I did this, without use of symbolic links, LimeWire worked - 
no more message about Java VM not installed. I always seem to struggle with 
symbolic links, and this got around it.

Please let me know if this works for you.

Ed

On Sunday, 26 December 2004 12:52, J wrote:
 Hi All,

 I've just installed J2RE 1.4.2_06 on my machine.

 Trouble is, I'm trying to install LimeWire (the P2P program), and I keep
 getting told that there is no VM on my machine. Thats crap! I know
 full well there is! :-)

 Now, It's installed to /usr/java (where I always used to install it),
 and my .bash_profile has been suitably amended for the latest version of
 the J2RE.

 I'm at a loss as to why it wont work.

 .bash_profile is pasted below, just in case I have done something wrong
 whilst modifying it, although all I have done is changed j2re1.4.2_03 to
 j2re1.4.2_06, to bring it up to date with the latest version.

 export JAVA_HOME=/usr/java/j2re1.4.2_06
 export PATH=$JAVA_HOME/bin:$PATH
 # .bash_profile

 # Get the aliases and functions
 if [ -f ~/.bashrc ]; then
 . ~/.bashrc
 fi

 # User specific environment and startup programs

 PATH=$PATH:$HOME/bin

 export PATH
 unset USERNAME

 Any ideas? I have even tried a restart (yes, I had to once after
 installing an older version  modifying!)

 Thanks,  Seasons Greetings etc,

 James


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



Re: [newbie] Java VM Problems

2004-12-26 Thread J
Edward Holcroft wrote:
As you can see I changed the reference in JAVA_HOME to point 
to /usr/lib/jdk-1.4.2_05/jre/bin/ instead of at the symbolic link 
(/user/java/j2re1.4.2_05). This is probably not the most elegant solution and 
I am not even sure why there were symbolic links used in the first place. All 
I know is after I did this, without use of symbolic links, LimeWire worked - 
no more message about Java VM not installed. I always seem to struggle with 
symbolic links, and this got around it.

Please let me know if this works for you.
 


 

Hi Edward,
Tried that, with /etc/profile and .bash_profile (I had to modify that 
for 9.2  10CE), and even restarted, as I found that if it's currently 
in use, then it needs a restart to take effect

Nothing, Nada, Nichts!!
Still getting the no VM found error message.
I'm not too worried about LimeWire, as I have the Apollon gnutella 
plugin installed, but I cant get Apollon to install using the so called 
All In One Installer, as it keeps tripping up on my version of QT, as 
it's asking for an earlier version, and it's too much like hard work to 
retrograde to that particular version.

The Apollon RPM from PLF works ok but I cant seem to find it on the 
PLF site anymore... If I could get the PLF RPM, I'd be ok, as I have 
giFT and the other plugins already installed, I just need the Apollon GUI!

Thanks,
James
--
 Sent using Mozilla Thunderbird on Mandrake Linux 10.1
 100% virus free, as it's nothing to do with Microsoft!
 
 73 de 2E0ZZY
 Yaesu FT-902DM 50w with quad band nested dipoles
 Yaesu FT-7800E Dual Band, Watson W20 Vertical
 Tait T500 SII 70.425  70.450MHz - Now with G6OHM 4 Ch. Conversion!
 Packet: [EMAIL PROTECTED]



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



Re: [newbie] Java VM Problems

2004-12-26 Thread Josenildo Marques
On Sun, 2004-12-26 at 10:52 +, J wrote:
 Hi All,
 
 I've just installed J2RE 1.4.2_06 on my machine.
 
 Trouble is, I'm trying to install LimeWire (the P2P program), and I keep 
 getting told that there is no VM on my machine. Thats crap! I know 
 full well there is! :-)
 
 Now, It's installed to /usr/java (where I always used to install it), 
 and my .bash_profile has been suitably amended for the latest version of 
 the J2RE.
 
 I'm at a loss as to why it wont work.
 
 .bash_profile is pasted below, just in case I have done something wrong 
 whilst modifying it, although all I have done is changed j2re1.4.2_03 to 
 j2re1.4.2_06, to bring it up to date with the latest version.
 
 export JAVA_HOME=/usr/java/j2re1.4.2_06
 export PATH=$JAVA_HOME/bin:$PATH
 # .bash_profile
 
I have the latest LimeWire here and this line on .bashrc

export PATH=/usr/java/j2re1.4.2_05/bin/:$PATH


-- 
Josenildo Marques 
ICQ 289971493 +++ Homepage http://planeta.terra.com.br/arte/cyb/ 
Fotolog http://fotolog.terra.com.br/imaginis 
usuário Linux registrado No. 341648 
13:43:20 up 10:52, 2 users, load average: 0.16, 0.16, 0.15
** 
A imaginação é mais importante que o conhecimento. Albert Einstein



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



Re: [newbie] Java VM Problems

2004-12-26 Thread Simon Roberts
in a terminal: cd to the directory that has your java install; change to the 
subdirectory bin; type ./java -version

If that doesn't run java and tell you stuff about it, it's either not 
executable (which suggests you did the install wrong, or not as root perhaps) 
or really screwed up. Having old versions around can sometimes cause confusion 
if it finds one binary for java but mismatched libs and .jars.

If it does run when you do it like that, then you mistyped your path stuff, or 
perhaps the thing isn't executable as the user your trying to run the program 
as.

-Original Message-
From: Josenildo Marques [EMAIL PROTECTED]
Sent: Dec 26, 2004 11:46 AM
To: newbie@linux-mandrake.com
Subject: Re: [newbie] Java VM Problems

On Sun, 2004-12-26 at 10:52 +, J wrote:
 Hi All,
 
 I've just installed J2RE 1.4.2_06 on my machine.
 
 Trouble is, I'm trying to install LimeWire (the P2P program), and I keep 
 getting told that there is no VM on my machine. Thats crap! I know 
 full well there is! :-)
 
 Now, It's installed to /usr/java (where I always used to install it), 
 and my .bash_profile has been suitably amended for the latest version of 
 the J2RE.
 
 I'm at a loss as to why it wont work.
 
 .bash_profile is pasted below, just in case I have done something wrong 
 whilst modifying it, although all I have done is changed j2re1.4.2_03 to 
 j2re1.4.2_06, to bring it up to date with the latest version.
 
 export JAVA_HOME=/usr/java/j2re1.4.2_06
 export PATH=$JAVA_HOME/bin:$PATH
 # .bash_profile
 
I have the latest LimeWire here and this line on .bashrc

export PATH=/usr/java/j2re1.4.2_05/bin/:$PATH


-- 
Josenildo Marques 
ICQ 289971493 +++ Homepage http://planeta.terra.com.br/arte/cyb/ 
Fotolog http://fotolog.terra.com.br/imaginis 
usuário Linux registrado No. 341648 
13:43:20 up 10:52, 2 users, load average: 0.16, 0.16, 0.15
** 
A imaginação é mais importante que o conhecimento. Albert Einstein





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



Re: [newbie] Java VM Problems

2004-12-26 Thread J
Simon Roberts wrote:
in a terminal: cd to the directory that has your java install; change to the subdirectory 
bin; type ./java -version
If that doesn't run java and tell you stuff about it, it's either not 
executable (which suggests you did the install wrong, or not as root perhaps) 
or really screwed up. Having old versions around can sometimes cause confusion 
if it finds one binary for java but mismatched libs and .jars.
If it does run when you do it like that, then you mistyped your path stuff, or perhaps the thing isn't executable as the user your trying to run the program as.
 

Hi Simon,
I did it, and got this:
[EMAIL PROTECTED] j2re1.4.2_06]$ cd bin
[EMAIL PROTECTED] bin]$ ./java -version
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
[EMAIL PROTECTED] bin]$
So there is nothing wrong with the actual install.
I just gotta go figure the PATH wording now. (technically, it 
shouldnt have varied from 1.4.2_03 that I had previously! apart from _06)

Ho Hum!
James
--
 Sent using Mozilla Thunderbird on Mandrake Linux 10.1
 100% virus free, as it's nothing to do with Microsoft!
 
 73 de 2E0ZZY
 Yaesu FT-902DM 50w with quad band nested dipoles
 Yaesu FT-7800E Dual Band, Watson W20 Vertical
 Tait T500 SII 70.425  70.450MHz - Now with G6OHM 4 Ch. Conversion!
 Packet: [EMAIL PROTECTED]



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



[newbie] Java flaw.

2004-12-06 Thread Simon Utley
Flaw in the Sun Java Plugin is elusive and very dangerous. Quoted from the 
virus threat centre. I am running 10.0 official. Does this apply to me, how 
do I fix it??
Thanks.
-- 
Linux Counter number 359744. http://counter.li.org/
Mandrake Linux release 10.0 (Official) for i586
Linux Kernel 2.6.3-7mdk
GnuPG Key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE94E2292


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



Re: [newbie] Java flaw.

2004-12-06 Thread Paul
Op Mon, 6 Dec 2004 17:30:45 + schreef Simon Utley:

Flaw in the Sun Java Plugin is elusive and very dangerous. Quoted from
the virus threat centre. I am running 10.0 official. Does this apply to
me, how do I fix it??

What is the flaw? What is the URL of the site where you found out about
this? Without some more info it is difficult to see if something is
dangerous or not...

Paul

-- 
Many ideas grow better when transplanted into another mind
than in the one where they sprang up.
- Oliver Wendell Holmes

http://www.nlpagan.net/linux.php
Have you visited http://twiki.mdklinuxfaq.org yet?


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



Re: [newbie] Java flaw.

2004-12-06 Thread Simon Utley
On Monday 06 Dec 2004 18:03, Paul wrote:


 What is the flaw? What is the URL of the site where you found out about
 this? Without some more info it is difficult to see if something is
 dangerous or not...
The following link takes you to the article:
http://www.virusthreatcenter.com/article.aspx?articleId=219tag=vtc.nl

-- 
Linux Counter number 359744. http://counter.li.org/
Mandrake Linux release 10.0 (Official) for i586
Linux Kernel 2.6.3-7mdk
GnuPG Key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE94E2292


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



Re: [newbie] Java flaw.

2004-12-06 Thread Paul
Op Mon, 6 Dec 2004 18:33:46 + schreef Simon Utley:

On Monday 06 Dec 2004 18:03, Paul wrote:


 What is the flaw? What is the URL of the site where you found out
about this? Without some more info it is difficult to see if something
is dangerous or not...
The following link takes you to the article:
http://www.virusthreatcenter.com/article.aspx?articleId=219tag=vtc.nl

As it says on the page:

Applicability

This affects the Java Software Development Kit and Java Runtime
Environment on Solaris, Windows, and Linux. \x{201C}JDK and JRE
5.0\x{201D} are not affected according to Sun, but \x{201C}SDK and JRE
1.4.2_05 and earlier, all 1.4.1 and 1.4.0 releases, and 1.3.1_12 and
earlier\x{201D} are vulnerable.

and also:

Fix - Upgrade or disable Java

Sun reports that there is no fix for this threat and no workaround,
and you need to upgrade to newer versions to fix the problem. SDK and
JRE 1.4.2_06 and later and SDK and JRE 1.3.1_13 and later are free of
the problem according to Sun.

So if you are not certain, it is best to get the latest Java plugin and
install that.

Paul
-- 
Many ideas grow better when transplanted into another mind
than in the one where they sprang up.
- Oliver Wendell Holmes

http://www.nlpagan.net/linux.php
Have you visited http://twiki.mdklinuxfaq.org yet?


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



Re: [newbie] Java flaw.

2004-12-06 Thread Simon Utley
On Monday 06 Dec 2004 19:00, Paul wrote:


 So if you are not certain, it is best to get the latest Java plugin and
 install that.

Thanks for your advice Paul, I have done that now.
Regards.
-- 
Linux Counter number 359744. http://counter.li.org/
Mandrake Linux release 10.0 (Official) for i586
Linux Kernel 2.6.3-7mdk
GnuPG Key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE94E2292


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



Re: [newbie] Java and konqueror

2004-12-02 Thread Poogle
On Thursday 02 Dec 2004 02:37, Paul Kaplan wrote:
 I installed jre-1.5.0 from sun onto mdk 10.1.  I am able to get the java
 plugin to work for firefox 1.0 and for opera 7.54, but not for konqueror.
 I tried having konqueror look for the java plugin
 in /usr/lib/mozilla-firefox-1.0/plugins/
 /usr/java/jre1.5.0/plugin/i386/ns7/ and /usr/java/jre1.5.0/lib/i586 (the
 way opera handles java), but no luck.

 Any suggestions?
 TIA
 Paul

Being a dinosaur I'm still on 9.1 (really just not had time to migrate
everything yet) but in Konqueror 3.1.0 using the same Sun jre 1.5 my path to
java is /usr/java/jre1.5.0/bin/java - this seems to work for me
--

http://www.poogle.co.uk



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



[newbie] Java and konqueror

2004-12-01 Thread Paul Kaplan
I installed jre-1.5.0 from sun onto mdk 10.1.  I am able to get the java 
plugin to work for firefox 1.0 and for opera 7.54, but not for konqueror.  
I tried having konqueror look for the java plugin 
in /usr/lib/mozilla-firefox-1.0/plugins/ /usr/java/jre1.5.0/plugin/i386/ns7/ 
and /usr/java/jre1.5.0/lib/i586 (the way opera handles java), but no luck.

Any suggestions?
TIA
Paul


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



[newbie] java vulnerability

2004-11-24 Thread Bill Winegarden
Hi everyone,
I'm sure many have already reacted to this news but for those that haven't 
heard; there is a cross platform (linux included) java vulnerability that 
could compromise your machine to the user level. It has been address in the 
latest java jre.

Info is here

http://www.linuxsecurity.com/articles/general_article-10295.html

I have to relink my browsers now, doh!

Regards,
Bill W.


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



Re: [newbie] java problem

2004-09-19 Thread Russ Kepler
On Sunday 19 September 2004 02:57 am, Thereidos wrote:

  Unfortunately that code doesn't have the same meaning.  JAVA_HOME isn't
  defined or exported (I'm assuming that you meant JAVA_HOME in the first
  line), and the JAVA_HOME bin directory is now at the end of PATH.

 Yes, I meant JAVA_HOME. As for the order of appearing in PATH: The point
 was to first declare and then export. The order was irrelevant. But
 thanks for pointing me out.

I believe you missed the meaning in the second sentence of the paragraph, 
here's the original that was posted:


Unfortunately that code doesn't have the same meaning.  JAVA_HOME isn't 
defined or exported (I'm assuming that you meant JAVA_HOME in the first 
line), and the JAVA_HOME bin directory is now at the end of PATH.  The 
problem could very well be from a early version of Java that's expecting 
CLASSPATH and so the new directory should be placed at the start of the PATH 
if you want to be sure.  Putting it at the end is a better solution, but only 
after making sure that nothing earlier in the PATH will affect it.


Perhaps I wasn't as clear as I could have been - I often skip over things when 
I reply, it's a bad habit when the question/answer cycle is a long one.  

The problem as originally expressed was that the java executable was being 
found but the Swing jars weren't being located.  In my experience this was 
likely because older Java versions would expect the jar files (sort of like 
.so for C or .pm for Perl) to be specified in a CLASSPATH env variable.  
Later versions of Java have used JAVA_HOME; Java 1.4.2 (at least) seems happy 
to use whatever path in which the java executable was found and not to 
require either CLASSPATH or JAVA_HOME (at least on my current installation).  
So Java was being found, just not the version of Java that he expected.  
Putting the new path at the end of the PATH variable would have left him 
looking at the old java executable and one that might not have been 
compatible with the newer jar files pointed to by JAVA_HOME.

The other point was that once EXPORTed a variable does not have to be 
reEXPORTed, so the export PATH is unnecessary.  Some folks get into the 
habit of using an EXPORT in front of a variable assignment, I try to avoid it 
as each variable exported fractionally increases the cost of starting a new 
shell or command.  The only variables that you want to export are those you 
want the child processes to get.  But the main point was that the PATH 
assignment doesn't need to be reEXPORTed.

I hope I explained my reasoning better in this reply.


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



Re: [newbie] java problem

2004-09-19 Thread Thereidos
W licie z nie, 19-09-2004, godz. 17:21, Russ Kepler pisze: 
 I hope I explained my reasoning better in this reply.

Yeah, I believe we've got a little bit misunderstood. Everything differs
on experience gained through the work with it.

Let's end this thread. OK?
-- 
Cezary 'Thereidos' Morga [EMAIL PROTECTED]
Registered Linux User No. 362185 http://counter.li.org
GG# 169903 ICQ# 328-700-565 Jabber: [EMAIL PROTECTED]



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



[newbie] java problem

2004-09-18 Thread Russell Butler
Hi all
Anyone have some experience in setting up java connectivity?
I am trying to run a java utility called varsha - supposed to enable 
making DVD menus.

When I try to run it from a  shell I get:
	$ java -jar varsha.jar
	java.lang.NoClassDefFoundError: javax/swing/JFrame
   		at java.lang.ClassLoader.defineClass0 (ClassLoader.java)
   		at java.lang.ClassLoader.defineClass (ClassLoader.java:179)
   	at java.security.SecureClassLoader.defineClass 
(SecureClassLoader.java:33)
   	at kaffe.lang.AppClassLoader$JarSource.findClass 
(AppClassLoader.java:143)
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:291)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:121)
   at kaffe.jar.ExecJarName.main (ExecJarName.java:55)
   at kaffe.jar.ExecJar.main (ExecJar.java:75)

Googling this, it appears that the java link is not in my PATH.
I set .bashrc to:
$ cat /home/russellb/.bashrc
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export JAVA_HOME = /usr/java/j2re1.4.2_05/
export PATH = $JAVA_HOME/bin:$PATH
Now when I open a new shell in KDE I get:
	bash: export: `=': not a valid identifier
	bash: export: `/usr/java/j2re1.4.2_05/': not a valid identifier
	bash: export: `=': not a valid identifier
	bash: export: 		 
`/bin:/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/russellb/bin:/usr/java/j2re1.4.2_05/bin:': 
not a valid identifier

But:
   $ echo $PATH
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/russellb/bin:/usr/java/j2re1.4.2_05/bin:
Can anyone enlighten me what is going on here? I am stumped.
Thanks
Russell


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



Re: [newbie] java problem

2004-09-18 Thread Thereidos
W licie z sob, 18-09-2004, godz. 14:42, Russell Butler pisze: 
   export JAVA_HOME = /usr/java/j2re1.4.2_05/
   export PATH = $JAVA_HOME/bin:$PATH
 
 Now when I open a new shell in KDE I get:
 
   bash: export: `=': not a valid identifier
   bash: export: `/usr/java/j2re1.4.2_05/': not a valid identifier
   bash: export: `=': not a valid identifier
   bash: export:
 `/bin:/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/russellb/bin:/usr/java/j2re1.4.2_05/bin:':
  
 not a valid identifier

There should be no spaces between variables and '='. It should look like
this :
export JAVA_HOME=/usr/java/j2re1.4.2_05
export PATH=$JAVA_HOME/bin:$PATH

But I would do it this way :

JAVA=/usr/java/j2re1.4.2_5
PATH=$PATH:$JAVA_HOME/bin
export PATH

Note: If you'll make variable ending with '/' and then export it with
'/bin' on the end you'll get /usr/java/j2re1.4.2_05//bin (double '/').
-- 
Cezary 'Thereidos' Morga [EMAIL PROTECTED]
Registered Linux User No. 362185 http://counter.li.org
GG# 169903 ICQ# 328-700-565 Jabber: [EMAIL PROTECTED]



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



Re: [newbie] java problem

2004-09-18 Thread Russ Kepler
On Saturday 18 September 2004 07:13 am, Thereidos wrote:

 There should be no spaces between variables and '='. It should look like
 this :
 export JAVA_HOME=/usr/java/j2re1.4.2_05
 export PATH=$JAVA_HOME/bin:$PATH

That looks correct.

 But I would do it this way :

 JAVA=/usr/java/j2re1.4.2_5
 PATH=$PATH:$JAVA_HOME/bin
 export PATH

Unfortunately that code doesn't have the same meaning.  JAVA_HOME isn't 
defined or exported (I'm assuming that you meant JAVA_HOME in the first 
line), and the JAVA_HOME bin directory is now at the end of PATH.  The 
problem could very well be from a early version of Java that's expecting 
CLASSPATH and so the new directory should be placed at the start of the PATH 
if you want to be sure.  Putting it at the end is a better solution, but only 
after making sure that nothing earlier in the PATH will affect it.

As a note I'm sure that only the JAVA_HOME will have to be exported as PATH 
already will be exported.  So the final would be:

export JAVA_HOME=/usr/java/j2re1.4.2_05
PATH=$JAVA_HOME/bin:$PATH



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



Re: [newbie] Java problem. (can't install jdk1.3.1_11 onto mandrake 9.2 properly)

2004-07-15 Thread Stephen Kuhn
On Fri, 2004-07-16 at 05:06, frankieh wrote:
 Hi guys,
 
 I have not played with Java on linux till now, and I have been given a
 java application I need to install for a payment gateway client.
 (by payment gateway client I mean the application is part of the client
 side software required for the payment gateway to be used.)
 
 Anyway, long story short, this java app requires a java between 1.1 and
 1.3.x (it doesn't work on 1.4 so I had to remove that first.)
 To that end I downloaded jdk1.3.1_11 rpm from Suns site and installed it
 on the machine. seemed to go fine.
 
 Then I put a shortcut to /usr/java/jdk1.3.1_11/bin/java into
 /usr/bin/java so that the system could see the binary.
 So far so good, giving a: java -version
 as root returns:
 
 [EMAIL PROTECTED] fixit]# java -version
 java version 1.3.1_11
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_11-b02)
 Java HotSpot(TM) Client VM (build 1.3.1_11-b02, mixed mode)
 
 
 again, so far so good,
 but when I try to run the install bin file for the java app, I get this:
 
 [EMAIL PROTECTED] fixit]# ./paymentclient_30.bin
 Preparing to install...
 tail: `-1' option is obsolete; use `-n 1'
 Try `tail --help' for more information.
 ./paymentclient_30.bin: line 325: [: `)' expected, found -z
 WARNING! The amount of /tmp disk space required and/or available
 could not be determined.  The installation will be attempted anyway.
 Extracting the installation resources from the installer archive...
 Configuring the installer for this system's environment...
 
 Launching installer...
 
 head: `-1' option is obsolete; use `-n 1'
 Try `head --help' for more information.
 /usr/java/jdk1.3.1_11/bin/i386/native_threads/java: error while loading
 shared libraries: libjvm.so: cannot op
 en shared object file: No such file or directory
 
 The shared lib it is looking for is available in three places:
 [EMAIL PROTECTED] fixit]# locate libjvm.so
 /usr/java/jdk1.3.1_11/jre/lib/i386/client/libjvm.so
 /usr/java/jdk1.3.1_11/jre/lib/i386/server/libjvm.so
 /usr/java/jdk1.3.1_11/jre/lib/i386/classic/libjvm.so
 
 And yet it can't find any of them.
 
 Does anyone have any idea how I might fix this?
 
 
 regards
 
 
 Franki

You're going to need to edit your /etc/ld.so.conf and include the lib
dirs in there and re-run ldconfig to rebuild the cache

stephen kuhn - proprietor
__
illawarra computer services :: a kuhn media australia venture
http://kma.0catch.com  :: mobile 0410.728.389
Serving Sydney, The Illawarra, South Coast and Rural NSW
__
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
__
  Certified virus-free since we don't use Microsoft products

Once upon a time there was a beautiful young girl taking a stroll
through the woods. All at once she saw an extremely ugly bull frog
seated on a log and to her amazement the frog spoke to her. Maiden,
croaked the frog, would you do me a favor? This will be hard for you to
believe, but I was once a handsome, charming prince and then a mean,
ugly old witch cast a spell over me and turned me into a frog. Oh,
what a pity!, exclaimed the girl. I'll do anything I can to help you
break such a spell. Well, replied the frog, the only way that this
spell can be taken away is for some lovely young woman to take me home
and let me spend the night under her pillow. The young girl took the
ugly frog home and placed him beneath her pillow that night when she
retired. When she awoke the next morning, sure enough, there beside her
in bed was a very young, handsome man, clearly of royal blood. And so
they lived happily ever after, except that to this day her father and
mother still don't believe her story.



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



Re: [newbie] Java problem. (can't install jdk1.3.1_11 onto mandrake 9.2 properly)

2004-07-15 Thread frankieh
Stephen Kuhn wrote:
On Fri, 2004-07-16 at 05:06, frankieh wrote:
Hi guys,
I have not played with Java on linux till now, and I have been given a
java application I need to install for a payment gateway client.
(by payment gateway client I mean the application is part of the client
side software required for the payment gateway to be used.)
Anyway, long story short, this java app requires a java between 1.1 and
1.3.x (it doesn't work on 1.4 so I had to remove that first.)
To that end I downloaded jdk1.3.1_11 rpm from Suns site and installed it
on the machine. seemed to go fine.
Then I put a shortcut to /usr/java/jdk1.3.1_11/bin/java into
/usr/bin/java so that the system could see the binary.
So far so good, giving a: java -version
as root returns:
[EMAIL PROTECTED] fixit]# java -version
java version 1.3.1_11
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_11-b02)
Java HotSpot(TM) Client VM (build 1.3.1_11-b02, mixed mode)
again, so far so good,
but when I try to run the install bin file for the java app, I get this:
[EMAIL PROTECTED] fixit]# ./paymentclient_30.bin
Preparing to install...
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
./paymentclient_30.bin: line 325: [: `)' expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined.  The installation will be attempted anyway.
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
/usr/java/jdk1.3.1_11/bin/i386/native_threads/java: error while loading
shared libraries: libjvm.so: cannot op
en shared object file: No such file or directory
The shared lib it is looking for is available in three places:
[EMAIL PROTECTED] fixit]# locate libjvm.so
/usr/java/jdk1.3.1_11/jre/lib/i386/client/libjvm.so
/usr/java/jdk1.3.1_11/jre/lib/i386/server/libjvm.so
/usr/java/jdk1.3.1_11/jre/lib/i386/classic/libjvm.so
And yet it can't find any of them.
Does anyone have any idea how I might fix this?
regards
Franki

You're going to need to edit your /etc/ld.so.conf and include the lib
dirs in there and re-run ldconfig to rebuild the cache
stephen kuhn - proprietor
Thanks Mr Stephen,
But James beat you to it.. so I gave him an honourary Linux knighthood.
tis funny,  I have done that several times in the past, and it just 
never occured to me this time.
go figure.

rgds
Franki


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



[newbie] Java and Firefox

2004-05-18 Thread JoeHill

Okay, it's my day to ask a lot of stupid questions.

I cannot get Firefox to recognize that I have Java installed. I have the path
set to the java executable (tried java and java_vm and also just the path to
them) and even copied the javaplugin.jar to
/usr/lib/mozilla-firefox-0.8/plugins, still no go.

Any clues for the clueless?

-- 
JoeHill RLU #282046 /  www.orderinchaos.org
Kernel 2.4.22-21.tmb.1mdk Mandrake Linux release 9.2 (FiveStar) for i586
+++
10:21:03 up 1 day, 12:33, 2 users, load average: 0.27, 0.14, 0.10
+++
Microsoft Palladium: The world is a fearful place (because we allowed it to be
by introducing vulnerable designs followed by clueless security initiatives) so
let us fix it for you. --Cringely


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



Re: [newbie] Java and Firefox

2004-05-18 Thread David Robertson
On Tue, 2004-05-18 at 17:25, JoeHill wrote:
 Okay, it's my day to ask a lot of stupid questions.
 
 I cannot get Firefox to recognize that I have Java installed. I have the path
 set to the java executable (tried java and java_vm and also just the path to
 them) and even copied the javaplugin.jar to
 /usr/lib/mozilla-firefox-0.8/plugins, still no go.
 
 Any clues for the clueless?

For me, ls -l /usr/lib/mozilla-firefox-0.8/plugins gives

libjavaplugin_oji.so -
/usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*

Note that libjavaplugin_oji.so has to be a symbolic link to the plugin -
copying it won't work.

I have j2re1.4.2 compiled for gcc 3.2 installed.

HTH

David

-- 
Unitam logica falsa tuam philosophiam totam suffodiant





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



Re: [newbie] Java and Firefox

2004-05-18 Thread Bryan Phinney
On Tuesday 18 May 2004 10:25 am, JoeHill wrote:
 Okay, it's my day to ask a lot of stupid questions.

 I cannot get Firefox to recognize that I have Java installed. I have the
 path set to the java executable (tried java and java_vm and also just the
 path to them) and even copied the javaplugin.jar to
 /usr/lib/mozilla-firefox-0.8/plugins, still no go.

 Any clues for the clueless?

With Opera, the correct path to use to specify java 
is /usr/java/j2re1.4.2_03/lib/i386.  You might try that path and see if it 
works better.


-- 
Bryan Phinney
Software Test Engineer


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



Re: [newbie] Java and Firefox

2004-05-18 Thread JoeHill
On Tue, 18 May 2004 10:43:39 -0400
Bryan Phinney disseminated the following:

  I cannot get Firefox to recognize that I have Java installed. I have the
  path set to the java executable (tried java and java_vm and also just the
  path to them) and even copied the javaplugin.jar to
  /usr/lib/mozilla-firefox-0.8/plugins, still no go.
 
  Any clues for the clueless?
 
 With Opera, the correct path to use to specify java 
 is /usr/java/j2re1.4.2_03/lib/i386.  You might try that path and see if it 
 works better.

No love, but many thanks for the suggestion. I know Java is working, as
Java-based apps work like my router-config interface, it's just Firefox (and
Galeon for that matter). Weird, all I've ever had to do is install Java and the
browsers picked it up automatically.

-- 
JoeHill RLU #282046 /  www.orderinchaos.org
Kernel 2.4.22-21.tmb.1mdk Mandrake Linux release 9.2 (FiveStar) for i586
+++
10:55:49 up 1 day, 13:08, 3 users, load average: 1.55, 1.21, 0.96
+++
These neocons have made a horrible mess of things, but that gives them no
pause. They went to war with a nation that had no weapons of mass destruction
and few connections to terrorism, but have coddled Pakistan, which sponsored the
Taliban and Al Qaeda and which recently was revealed as the source of nuclear
weapons technology for North Korea, Iran and Libya. -- Robert Scheer,
robertscheer.com


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



Re: [newbie] Java and Firefox

2004-05-18 Thread JoeHill
On Wed, 19 May 2004 05:48:50 +0300
David Robertson disseminated the following:

  Any clues for the clueless?
 
 For me, ls -l /usr/lib/mozilla-firefox-0.8/plugins gives
 
 libjavaplugin_oji.so -
 /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*
 
 Note that libjavaplugin_oji.so has to be a symbolic link to the plugin -
 copying it won't work.

...so in /usr/lib/mozilla-firefox-0.8/plugins, I did:

ln -s /usr/java/j2re1.4.1_05/lib/i386/libjavaplugin_jni.so

...but still no go.

Thanks for the suggestion!

-- 
JoeHill RLU #282046 /  www.orderinchaos.org
Kernel 2.4.22-21.tmb.1mdk Mandrake Linux release 9.2 (FiveStar) for i586
+++
11:05:03 up 1 day, 13:17, 3 users, load average: 1.08, 1.19, 1.06
+++
If the Nuremberg laws were applied, then every post-war American president
would have been hanged. -- Noam Chomsky


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



Re: [newbie] Java in Mdk 10

2004-04-06 Thread Jerry
On Sun, 04 Apr 2004 15:06:46 -0500
Carl J. Bauman [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
 
  I just did an install of Mdk 10 CE and all went well until I tried to 
  upgrade a couple of apps.
 
  I use Opera as my browser and never had a problem with java but with 
  the new install, java won't work.  I downloaded the latest from Sun 
  and followed the install instructions and created a symbolic link in 
  /usr/lib/opera/plugins to javaplugin_oji.so but it still doesn't work.
 
  I used to have the same problem with Netscape but never with Opera.  
  What am I doing wrong?
 
  Rich
 
 
 I'm currently having the same problem with Netscape 7.1 and would like 
 to know if there is a work around for my situation as well.
 
 Thanks,
 Carl

The problem I had with it was the path was (not sure how to phrase this...) 'too 
deep.'  I had it in /home/jerry/java/j2sdk1.4.2_03/jre/plugin/i386/ns610-gcc32/ and 
moving it to /usr/java worked.
(what I did:)
su
root password
mkdir /usr/java
mv /home/jerry/java/j2sdk1.4.2_03/* /usr/java/
exit

then update the links:

ln -s /usr/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so 
/usr/local/mozilla/mozilla/plugins/libjavaplugin_oji.so 
(yours may be a different destination dir)

It's been a while since i've used opera but IIRC you can have it look for plugins in 
your mozilla plugin directory

HTH.


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



Re: [newbie] java path for Konquerer

2004-03-16 Thread Charlie M.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On March 15, 2004 07:42 pm, acid wrote:
 what should be the correct path to java for Konqueror web browser be so I
 can use chat rooms?
 mine is currently:/usr/java/j2re1.4.2_03/lib/i386/libjava.so
 which only gives me  a 'applet loading' screen for days.
 I know it's in the /lib/i386/ folder because thats the directory  I set for
 Opera, and it works. Opera only needs the directory java is in , Konqueror
 requires you t point to the exact file which obviously isn't /libjava.so.

My java is set to; Global, Use security manager, Shutdown applet server when 
inactive, 60 second time out and the path I'm using is just java. The 
appropriate plug-in for Konqueror is in /usr/lib/mozilla/plugins which should 
contain a symbolic link to the correct location. My browsers all work, test 
them at:

http://www.expertit.co.uk/support/browsertest/

 I'd use Opera but I hate it. so please tell me which file I should point to
 in the /i386/ directory.
 There is a executive file named aw_robot or something  but that doesn't
 seem to work, there are a bunch of .so files, I imagine it's one of them ,
 but which one?

Just use the plug-ins and let the software work maybe?

Regards;
Charlie
- -- 
Edmonton,AB,Canada User #244963 at http://counter.li.org
Many people are desperately looking for some wise advice which will
recommend that they do what they want to do.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAVzYcZqvqlrLPr5YRAtpHAJ9DmCbytKpPwDOcfqjzIk8mE6ECDQCfbMrq
StZuF6CnG0c4RyXq5zydWyQ=
=vZkF
-END PGP SIGNATURE-

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


Re: [newbie] java path for Konquerer

2004-03-16 Thread acidblue
OK thanks for the replies fellow's. I got it working now.
- Original Message - 
From: Charlie M. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 9:15 AM
Subject: Re: [newbie] java path for Konquerer


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On March 15, 2004 07:42 pm, acid wrote:
  what should be the correct path to java for Konqueror web browser be so
I
  can use chat rooms?
  mine is currently:/usr/java/j2re1.4.2_03/lib/i386/libjava.so
  which only gives me  a 'applet loading' screen for days.
  I know it's in the /lib/i386/ folder because thats the directory  I set
for
  Opera, and it works. Opera only needs the directory java is in ,
Konqueror
  requires you t point to the exact file which obviously isn't
/libjava.so.

 My java is set to; Global, Use security manager, Shutdown applet server
when
 inactive, 60 second time out and the path I'm using is just java. The
 appropriate plug-in for Konqueror is in /usr/lib/mozilla/plugins which
should
 contain a symbolic link to the correct location. My browsers all work,
test
 them at:

 http://www.expertit.co.uk/support/browsertest/

  I'd use Opera but I hate it. so please tell me which file I should point
to
  in the /i386/ directory.
  There is a executive file named aw_robot or something  but that doesn't
  seem to work, there are a bunch of .so files, I imagine it's one of them
,
  but which one?

 Just use the plug-ins and let the software work maybe?

 Regards;
 Charlie
 - -- 
 Edmonton,AB,Canada User #244963 at http://counter.li.org
 Many people are desperately looking for some wise advice which will
 recommend that they do what they want to do.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (GNU/Linux)

 iD8DBQFAVzYcZqvqlrLPr5YRAtpHAJ9DmCbytKpPwDOcfqjzIk8mE6ECDQCfbMrq
 StZuF6CnG0c4RyXq5zydWyQ=
 =vZkF
 -END PGP SIGNATURE-








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




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


[newbie] java path for Konquerer

2004-03-15 Thread acid
what should be the correct path to java for Konqueror web browser be so I can 
use chat rooms?
mine is currently:/usr/java/j2re1.4.2_03/lib/i386/libjava.so
which only gives me  a 'applet loading' screen for days.
I know it's in the /lib/i386/ folder because thats the directory  I set for 
Opera, and it works. Opera only needs the directory java is in , Konqueror 
requires you t point to the exact file which obviously isn't /libjava.so.

I'd use Opera but I hate it. so please tell me which file I should point to in 
the /i386/ directory.
There is a executive file named aw_robot or something  but that doesn't seem 
to work, there are a bunch of .so files, I imagine it's one of them , but 
which one?


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


[newbie] java vm machine

2004-01-24 Thread Bill W.
Hi Everyone,
I am trying to install the Gallery Constructor on my 9.1 (with many upgrades) 
laptop. I keep getting an error about not finding java vm in my path. I know 
that I have java installed on the machine but I guess one question is ... is 
'virtual machine' included in the standard java install? Also, it's about 
time I learn to how to 'put something in my path'. 
Anyone have any success with this prog?
Looking for any pointers.

Thanks and regards,
Bill W.


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


Re: [newbie] java vm machine

2004-01-24 Thread Shawn Protsman
Bill,

Did you download the JRE or SDK from Sun's web site?  Either of these 
has the virtual machine.  Edit .bash_profile to add a path for Java:

 export PATH=/usr/java/j2sdk1.4.1_01/bin:$PATH

Shawn

On Saturday, Jan 24, 2004, at 12:37 US/Central, Bill W. wrote:

Hi Everyone,
I am trying to install the Gallery Constructor on my 9.1 (with many 
upgrades)
laptop. I keep getting an error about not finding java vm in my path. 
I know
that I have java installed on the machine but I guess one question is 
... is
'virtual machine' included in the standard java install? Also, it's 
about
time I learn to how to 'put something in my path'.
Anyone have any success with this prog?
Looking for any pointers.

Thanks and regards,
Bill W.


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


Re: [newbie] JAVA compile

2003-10-30 Thread Raffaele Belardi
Do you have the java compiler installed? I am not sure it is installed 
by default. javac is probably the compiler provided by SUN.

raffele

[EMAIL PROTECTED] wrote:
Hi all,
I am trying to compile with java but when i try from
shell javac file.java i am geting
bash:javac:command not found  message.
How could i fix this?
my system is mdk9.1
thx
emin
__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/




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


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


Re: [newbie] JAVA compile

2003-10-30 Thread Bryan Phinney
On Wednesday 29 October 2003 11:10 pm, emim limam wrote:
 Hi all,
 I am trying to compile with java but when i try from
 shell javac file.java i am geting
 bash:javac:command not found  message.
 How could i fix this?
 my system is mdk9.1
 thx
 emin

Make sure you have java installed and then make sure that java is in your 
path.

echo $PATH should show you something along the lines of:

blahblahblah:/usr/java/j2re1.4.1_03/bin

if you don't have java in the path, you need to add it in or explicitly point 
to it.

-- 
Bryan Phinney
Software Test Engineer


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


[newbie] JAVA compile

2003-10-29 Thread emim limam
Hi all,
I am trying to compile with java but when i try from
shell javac file.java i am geting
bash:javac:command not found  message.
How could i fix this?
my system is mdk9.1
thx
emin

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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


[newbie] Java Developer Kit???

2003-10-21 Thread emim limam
Hhi guys, I need a nice and easy to use Java Developer
GUI. Is there any one i can use easily?
I am not advance in programming and also linux. So i
neet something really easy to configure and use? 
Like Jcreator.
any help and recommendation appreciated.
emin

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


Re: [newbie] Java Developer Kit???

2003-10-21 Thread Guy Rouillier


emim limam wrote:
Hhi guys, I need a nice and easy to use Java Developer
GUI. Is there any one i can use easily?
I am not advance in programming and also linux. So i
neet something really easy to configure and use? 
Like Jcreator.
any help and recommendation appreciated.
emin
There are many from which to choose, and preferences are very 
individual.  I've used both JBuilder (from Borland) and Eclipse and like 
them both.  Eclipse is freely available, and there is a version of 
JBuilder also available for free download.

--
Guy Rouillier

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


[newbie] Java plugin... why doesn't work ?

2003-10-17 Thread Flávio
Hi folks!!

I need your great help again...

I trying to access a site that use java plugin (www.listasdaqui.com.br)
I already was to www.java.com and download the plugin...
The plugin is already installed...
But always that I try to access the page my browser (Mozilla 1.4.1) ask 
me to install the plugin...

Why this is happens ??

I dowloaded the plugin and install it with rpm -iv j2*.rpm and all 
goes fine...
(at least I don't receive any erros messages)

Thanx for any help...

Flávio Henrique

Using:
Mandrake 9.1 - KDE 3.1 - Mozilla 1.4.1

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


[newbie] Java programming question?

2003-08-19 Thread Patrick Coffey
Hi,
   I'm still relatively new to linux so I was hoping someone might know a 
quick answer to this question, when I try to run a very simple program I 
wrote it gives me the error:

Exception in thread main java.lang.NoClassDefFoundError: lab1/java

It didn't give me any errors when I compiled it, so I figure it must be 
something I'm doing wrong. Any thoughts?

_
bGet MSN 8/b and enjoy automatic e-mail virus protection.  
http://join.msn.com/?page=features/virus


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


Re: [newbie] Java programming question?

2003-08-19 Thread Michael Lothian
I once got this error in windows when I didn't have my PATH set propperly

Some info here

http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/classpath.html

I remember in windows I had to set the CLASSPATH=.   That's a fullstop 
(period to americans I think)

Mike

Patrick Coffey wrote:

Hi,
   I'm still relatively new to linux so I was hoping someone might 
know a quick answer to this question, when I try to run a very simple 
program I wrote it gives me the error:

Exception in thread main java.lang.NoClassDefFoundError: lab1/java

It didn't give me any errors when I compiled it, so I figure it must 
be something I'm doing wrong. Any thoughts?

_
bGet MSN 8/b and enjoy automatic e-mail virus protection.  
http://join.msn.com/?page=features/virus



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



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


Re: [newbie] Java programming question?

2003-08-19 Thread Kevin J CItron





Mkae sure you set your CLASSPATH to the location of your java class that

contains a main. You can either set it in your shell. Or as an argument
to the java vm.

In other words. If I have a class defined as

class Foo {
 
 public static void main(String[] args){
   System.out.println("Hello World");
 }
};

I compile this class in directory /tmp

The result of the compilation would leave me with a file named
Foo.class in /tmp

To run this program from tmp I would do this:

java -cp. Foo

The output should be Hello World



Patrick Coffey wrote:
Hi, 
 I'm still relatively new to linux so I was hoping someone might know a
 quick answer to this question, when I try to run a very simple program I
 wrote it gives me the error: 
 
"Exception in thread "main" java.lang.NoClassDefFoundError: lab1/java" 
 
It didn't give me any errors when I compiled it, so I figure it must be  something
I'm doing wrong. Any thoughts? 
 
_ 
bGet MSN 8/b and enjoy automatic e-mail virus protection.
 http://join.msn.com/?page=features/virus 
 
 
  

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


-- 

Kevin J Citron
Sr. Object Imagineer
Optimized Objects, Inc.
EL Paso, Texas 79930
(915) 565-5777/566-2403





[newbie] java in MozillaFirebird 0.6.1

2003-08-14 Thread Eric Huff
The MozillaFirebird 0.6.1 from texstar was build with 
gcc version 3.3.1  , so you need the newer jre.

In my case, i had already installed it for MozillaBloataBird,

so to get java to work, i just relinked

libjavaplugin.so and

libjavaplugin_oji.so

/usr/lib/mozillafirebird/plugins $ ls -og
total 1462
-rwxr-xr-x1  856 Jul  7 21:48 flashplayer.xpt
drwxr-xr-x6  320 Aug  9 09:48 java2
lrwxrwxrwx1   51 Aug  9 09:57 javaplugin.so.old -
/usr/java/jre1.3.1_08/plugin/i386/ns4/javaplugin.so
-rwxr-xr-x1  1470464 Jul  7 21:48 libflashplayer.so
lrwxrwxrwx1   66 Aug  9 10:15 libjavaplugin.so -
/usr/lib/mozilla-1.4/plugins/java/plugin/i386/ns4/libjavaplugin.so
lrwxrwxrwx1   78 Aug  9 10:13 libjavaplugin_oji.so -
/usr/lib/mozilla-1.4/plugins/java/plugin/i386/ns610-gcc32/libjavaplugin
_oji.so
-rwxr-xr-x120176 Jul 30 21:54 libnullplugin.so


I had gone to the java tester page
http://java.sun.com/openstudio/applets/clock.html
and netscape happily offered to install the plugin for me, but it didn't
install the right version for 0.6.1

Anyway, maybe someone will find this usefull...

eric


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


[newbie] Java and font problem on ML 9.1

2003-06-26 Thread Guilherme Cirne
Hi all,

I have a font problem in java apps running under ML 9.1 which is very hard 
to explain so I have screenshot showing exactly what I mean. I can send 
this to anyone who is willing to help.

Basically what happens is this. The height of the default java font 
(Dialog) is not being calculated correctly under ML 9.1. So all 
components, like buttons, are much higher than they should be.

I know that Dialog is just a link which by default points to Lucida Sans 
and this can be changed in the jre font.properties file. But the strange 
thing is that if the font of a particular component is set to Lucida Sans 
directly then the height is calculated correctly and the component looks 
like it should. So the problem isn't the Lucida Sans font. This can be 
seen clearly on the screenshot which I made.

This only happens on ML 9.1. On 9.0 it works as it should. I have also 
tried different jre's like Blackdown's 1.4.1 and Sun's 1.4.1 and 1.4.2 
beta and they all have this problem. So this is a ML 9.1 specific issue. 
I have also performed various installations of ML 9.1 on different 
machines and the results are the same.

So if anybody has seen this and can help me I would be very grateful. And 
don't forget, I can send anyone a screenshot which makes it much clearer 
to see the problem.

TIA,

-- 
Guilherme Cirne
[EMAIL PROTECTED]

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


Re: [newbie] Java and font problem on ML 9.1

2003-06-26 Thread Stephen Kuhn
On Thu, 2003-06-26 at 09:38, Guilherme Cirne wrote:
 Hi all,
 
 I have a font problem in java apps running under ML 9.1 which is very hard 
 to explain so I have screenshot showing exactly what I mean. I can send 
 this to anyone who is willing to help.
 
 Basically what happens is this. The height of the default java font 
 (Dialog) is not being calculated correctly under ML 9.1. So all 
 components, like buttons, are much higher than they should be.
 
 I know that Dialog is just a link which by default points to Lucida Sans 
 and this can be changed in the jre font.properties file. But the strange 
 thing is that if the font of a particular component is set to Lucida Sans 
 directly then the height is calculated correctly and the component looks 
 like it should. So the problem isn't the Lucida Sans font. This can be 
 seen clearly on the screenshot which I made.
 
 This only happens on ML 9.1. On 9.0 it works as it should. I have also 
 tried different jre's like Blackdown's 1.4.1 and Sun's 1.4.1 and 1.4.2 
 beta and they all have this problem. So this is a ML 9.1 specific issue. 
 I have also performed various installations of ML 9.1 on different 
 machines and the results are the same.
 
 So if anybody has seen this and can help me I would be very grateful. And 
 don't forget, I can send anyone a screenshot which makes it much clearer 
 to see the problem.
 
 TIA,

You might try running the Java IDE under a different window manager or
desktop (Gnome, WindowMaker, XFCE, Enlightenment, etc) to see if the
problem persists across those as well - it could merely be a font
problem in the window manager/desktop you're currently using...

-- 
Thu Jun 26 21:15:01 EST 2003
 21:15:01 up 1 day, 21:01,  2 users,  load average: 1.23, 1.07, 1.02
-
|____  |kuhn media australia|
|   /-oo /| |'-.   |http://kma.0catch.com   |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  |stephen kuhn|
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
 linux user #:267497 linux machine #:194239 * MDK 9.1  RH 7.3  
 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

Burns:  Good Lord, Smithers!  You look atrocious.  I thought I told you to
take a vacation.

Homer:  Uh, Smithers already left, sir.  I'm his replacement, Homer
Simpson.

   Homer the Smithers

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


Re: [newbie] Java and font problem on ML 9.1

2003-06-26 Thread Guilherme Cirne
On Thursday 26 June 2003 08:19, Stephen Kuhn wrote:
 On Thu, 2003-06-26 at 09:38, Guilherme Cirne wrote:
  Hi all,
 
  I have a font problem in java apps running under ML 9.1 which is very
  hard to explain so I have screenshot showing exactly what I mean. I
  can send this to anyone who is willing to help.
 
  Basically what happens is this. The height of the default java font
  (Dialog) is not being calculated correctly under ML 9.1. So all
  components, like buttons, are much higher than they should be.
 
  I know that Dialog is just a link which by default points to Lucida
  Sans and this can be changed in the jre font.properties file. But the
  strange thing is that if the font of a particular component is set to
  Lucida Sans directly then the height is calculated correctly and the
  component looks like it should. So the problem isn't the Lucida Sans
  font. This can be seen clearly on the screenshot which I made.
 
  This only happens on ML 9.1. On 9.0 it works as it should. I have
  also tried different jre's like Blackdown's 1.4.1 and Sun's 1.4.1 and
  1.4.2 beta and they all have this problem. So this is a ML 9.1
  specific issue. I have also performed various installations of ML 9.1
  on different machines and the results are the same.
 
  So if anybody has seen this and can help me I would be very grateful.
  And don't forget, I can send anyone a screenshot which makes it much
  clearer to see the problem.
 
  TIA,

 You might try running the Java IDE under a different window manager or
 desktop (Gnome, WindowMaker, XFCE, Enlightenment, etc) to see if the
 problem persists across those as well - it could merely be a font
 problem in the window manager/desktop you're currently using...

I forgot to mention that I had already tried running under KDE, Gnome and 
IceWM and the results are the same. So, any other ideas?

-- 
Guilherme Cirne
[EMAIL PROTECTED]

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


Re: [newbie] Java and font problem on ML 9.1

2003-06-26 Thread Stephen Kuhn
On Fri, 2003-06-27 at 07:11, Guilherme Cirne wrote:

  You might try running the Java IDE under a different window manager or
  desktop (Gnome, WindowMaker, XFCE, Enlightenment, etc) to see if the
  problem persists across those as well - it could merely be a font
  problem in the window manager/desktop you're currently using...
 
 I forgot to mention that I had already tried running under KDE, Gnome and 
 IceWM and the results are the same. So, any other ideas?

I would assume it has something to do with XFT - since support wasn't
really in 9.0 but IS in 9.1 - so it would have something to do with the
XFT settings...

-- 
Fri Jun 27 09:30:00 EST 2003
 09:30:00 up 2 days,  9:16,  3 users,  load average: 1.02, 1.15, 1.08
-
|____  |kuhn media australia|
|   /-oo /| |'-.   |http://kma.0catch.com   |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  |stephen kuhn|
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
 linux user #:267497 linux machine #:194239 * MDK 9.1  RH 7.3  
 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

Littering is dumb.
-- Ronald Macdonald

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


Re: [newbie] Java and font problem on ML 9.1

2003-06-26 Thread Guilherme Cirne
On Thursday 26 June 2003 20:35, Stephen Kuhn wrote:
 On Fri, 2003-06-27 at 07:11, Guilherme Cirne wrote:
   You might try running the Java IDE under a different window manager
   or desktop (Gnome, WindowMaker, XFCE, Enlightenment, etc) to see if
   the problem persists across those as well - it could merely be a
   font problem in the window manager/desktop you're currently
   using...
 
  I forgot to mention that I had already tried running under KDE, Gnome
  and IceWM and the results are the same. So, any other ideas?

 I would assume it has something to do with XFT - since support wasn't
 really in 9.0 but IS in 9.1 - so it would have something to do with the
 XFT settings...

Do you know where I could start looking?

-- 
Guilherme Cirne
[EMAIL PROTECTED]

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


Re: [newbie] Java and font problem on ML 9.1

2003-06-26 Thread JoeHill
On 27 Jun 2003 09:35:32 +1000
Stephen Kuhn [EMAIL PROTECTED] uttered:

 I would assume it has something to do with XFT - since support wasn't
 really in 9.0 but IS in 9.1 - so it would have something to do with
 the XFT settings...

I had the same probs in 9.0 and 9.1, both of which I have AA disabled
for anything under 15 points. 

Never seen a sol'n.
-- 
+ Joe Hill
+ Registered Linux user #282046
+ Homepage: http://nodex.sytes.net
+ ICQ# 279518458 
+ Do what thou wilt, this shall be the
+ whole of the law.


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


Re: [newbie] Java and font problem on ML 9.1

2003-06-26 Thread Stephen Kuhn
On Fri, 2003-06-27 at 09:56, Guilherme Cirne wrote:

 Do you know where I could start looking?

Not quite sure, to be honest...

-- 
Fri Jun 27 12:00:00 EST 2003
 12:00:00 up 2 days, 11:46,  3 users,  load average: 1.15, 1.38, 1.42
-
|____  |kuhn media australia|
|   /-oo /| |'-.   |http://kma.0catch.com   |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  |stephen kuhn|
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
 linux user #:267497 linux machine #:194239 * MDK 9.1  RH 7.3  
 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

A program generator creates programs that are more buggy than the program generator
-- Murphy's Laws of Computation n3

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


Re: [newbie] Java in Netscape

2003-06-09 Thread rluchor




On Sun, 2003-06-08 at 22:13, Troy Davidson wrote:

Login as root, and go to this page:

http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048

Download the plugin and you are all set.


That did it, Troy - Thanks!

Rich




Re: [newbie] Java in Netscape

2003-06-09 Thread rluchor




On Mon, 2003-06-09 at 09:42, [EMAIL PROTECTED] wrote:

On Sun, 2003-06-08 at 22:13, Troy Davidson wrote: 

Login as root, and go to this page:
http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048

Download the plugin and you are all set.

That did it, Troy - Thanks!

Looks like I spoke too soon; the java plugins show as being installed in about plugins, but only work when I'm logged in as root. How do I change permissions of the plugins so they work when I'm logged in as myself?

Rich




Re: [newbie] Java in Netscape

2003-06-09 Thread Troy Davidson
Hmmm...  that's strange.  I have never had to change permissions for the
plugins for my machine.  Are you running at a higher security level?  My
security level is default.


Troy Davidson 
Linux User #311107

++ 
Follow the adventures of a 
real life computer and 
  gaming nerd! 

   www.clandaith.com 
++ 

** This messages was composed on a 100% Microsoft free computer **


Quoting [EMAIL PROTECTED]:

 On Mon, 2003-06-09 at 09:42, [EMAIL PROTECTED] wrote:
 
  On Sun, 2003-06-08 at 22:13, Troy Davidson wrote: 
  
   Login as root, and go to this page:
   http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048
   
   Download the plugin and you are all set.
  
  That did it, Troy - Thanks!
 
 Looks like I spoke too soon; the java plugins show as being installed in
 about plugins, but only work when I'm logged in as root.  How do I
 change permissions of the plugins so they work when I'm logged in as
 myself?
 
 Rich
 

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


Re: [newbie] Java in Netscape

2003-06-09 Thread rluchor




On Mon, 2003-06-09 at 10:50, Troy Davidson wrote:

Hmmm...  that's strange.  I have never had to change permissions for the
plugins for my machine.  Are you running at a higher security level?  My
security level is default.


Strange indeed! My security level is also default (5?). I've tried 
changing permissions on netscape and netscape-bin to no avail. 
Rich


Troy Davidson 
Linux User #311107

++ 
Follow the adventures of a 
real life computer and 
  gaming nerd! 

   www.clandaith.com
++ 

** This messages was composed on a 100% Microsoft free computer **


Quoting [EMAIL PROTECTED]:

 On Mon, 2003-06-09 at 09:42, [EMAIL PROTECTED] wrote:
 
  On Sun, 2003-06-08 at 22:13, Troy Davidson wrote: 
  
   Login as root, and go to this page:
   http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048
   
   Download the plugin and you are all set.
  
  That did it, Troy - Thanks!
 
 Looks like I spoke too soon; the java plugins show as being installed in
 about plugins, but only work when I'm logged in as root.  How do I
 change permissions of the plugins so they work when I'm logged in as
 myself?
 
 Rich
 





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





[newbie] Java in Netscape

2003-06-08 Thread rluchor




My transition to 9.1 is complete with one exception: getting java to work in Netscape 7.02. When I installed Netscape on my laptop, it was version 7.0 and came with java that installed automatically. A couple of days later I installed MDk 9.1 on my desktop and downloaded Netscape. This time it was version 7.02 and java was not included.

I downloaded Sun java 1.4.x and installed it per instructions, but Netscape does't recognize that it's there. I did the simlink thing to ~/.netscape6 and ~/.netscape to no avail. I also went into the KDE control panel and added the links to the plugin panel. No dice.

Exactly where is Netscape looking for its plugins? Opera finds java with no problem at all.

Rich



-- 
 [EMAIL PROTECTED]








Re: [newbie] Java in Netscape

2003-06-08 Thread Troy Davidson
Login as root, and go to this page:

http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048

Download the plugin and you are all set.


Troy Davidson 
Linux User #311107

++ 
Follow the adventures of a 
real life computer and 
  gaming nerd! 

   www.clandaith.com 
++ 

** This messages was composed on a 100% Microsoft free computer **


Quoting [EMAIL PROTECTED]:

 My transition to 9.1 is complete with one exception:  getting java to
 work in Netscape 7.02.  When I installed Netscape on my laptop, it was
 version 7.0 and came with java that installed automatically.  A couple
 of days later I installed MDk 9.1 on my desktop and downloaded
 Netscape.  This time it was version 7.02 and java was not included.
 
 I downloaded Sun java 1.4.x and installed it per instructions, but
 Netscape does't recognize that it's there.  I did the simlink thing to
 ~/.netscape6 and ~/.netscape to no avail.  I also went into the KDE
 control panel and added the links to the plugin panel.  No dice.
 
 Exactly where is Netscape looking for its plugins?  Opera finds java
 with no problem at all.
 
 Rich
 -- 
   [EMAIL PROTECTED]
 

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


Re: [newbie] Java

2003-01-24 Thread Anne Wilson
On Friday 24 Jan 2003 9:59 am, Ongkie PDS wrote:
 Dear Friend,

 I need to open a website that use java applet, where can I download the
 java rpm?

Do you need the whole java?  Which browser are you using?  If it's Mozilla, go 
to mozilla.org and they have a link page for plugins.  Netscape also have a 
link page.  If you need more than just a java plugin for a browser, go to 
Sun's site for a download.  Come back if you need more help.

Anne
-- 
Registered Linux User No.293302



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



RE: [newbie] Java

2003-01-24 Thread Robert Wideman
www.sun.com



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ongkie PDS
 Sent: Friday, January 24, 2003 3:59 AM
 To: [EMAIL PROTECTED]
 Subject: [newbie] Java
 
 
 Dear Friend,
 
 I need to open a website that use java applet, where can I 
 download the java 
 rpm?
 
 Thx n rgrds,
 -OS-
 
 
 
 
 
 _
 Protect your PC - get McAfee.com VirusScan Online 
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
 
 
 


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



Re: [newbie] Java

2003-01-24 Thread Stephen Kuhn
On Fri, 2003-01-24 at 20:59, Ongkie PDS wrote:
 Dear Friend,
 
 I need to open a website that use java applet, where can I download the java 
 rpm?
 
 Thx n rgrds,
 -OS-
 

http://java.sun.com

-- 
Fri, 24 Jan 2003 22:35:00 +1100
 10:35pm  up 8 days,  8:18,  6 users,  load average: 0.24, 0.25, 0.20
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  || |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`'   | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

Ever wonder if taxation without representation might have been cheaper?


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



[newbie] Java installation

2003-01-24 Thread Ongkie PDS
Thanks to Anne, Robert, Stephen.

I did download the j2re-1_4_1_01-linux-i586-rpm.bin file.
What I have to do to install it ?

Thx,
-OS-

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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



Re: [newbie] Java installation

2003-01-24 Thread robin
Ongkie PDS wrote:

Thanks to Anne, Robert, Stephen.

I did download the j2re-1_4_1_01-linux-i586-rpm.bin file.
What I have to do to install it ?



cd to the directory you downloaded it to, then just  type 
./j2re-1_4_1_01-linux-i586-rpm.bin

Sir Robin


--
 Like these cutters, and hackers, who will take the wall of men, and 
picke quarrells.
- G. Pettie

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin



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



Re: [newbie] Java installation

2003-01-24 Thread Angus Auld
- Original Message -
From: Ongkie PDS [EMAIL PROTECTED]
 Thanks to Anne, Robert, Stephen.
 
 I did download the j2re-1_4_1_01-linux-i586-rpm.bin file.
 What I have to do to install it ?
 
 Thx,
 -OS-

Hi Ongkie, you can find pretty good installation instructions here:
http://java.sun.com/j2se/1.4.1/jre/install-linux.html#install-pkg

If you need further instructions, there are others more qualified 
than I who will assist you. This list is a super place...lots of kind 
people!

All the best to you!


--Angus

Let us not look back in anger or forward in fear, but around in awareness.--James 
Thurber

***  
*Reg. Linux User #278931*
***
*Power by Mandrake Linux 9.0*
***

-- 
___
http://www.operamail.com
Now with OperaMail Premium for only US$29.99/yr

Powered by Outblaze


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



RE: [newbie] Java installation

2003-01-24 Thread Klar Brian D Contr MSG/SICN
You may need to chmod +x the file.bin then ./filename.bin will end up being a rpm file 
which
may also need to be chmod +x filename.rpm 
rpm -Uvh filename.rpm

Brian D. Klar - CVE
Multimax 
Network Engineer
WPAFB



-Original Message-
From: Angus Auld [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 8:01 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Java installation


- Original Message -
From: Ongkie PDS [EMAIL PROTECTED]
 Thanks to Anne, Robert, Stephen.
 
 I did download the j2re-1_4_1_01-linux-i586-rpm.bin file.
 What I have to do to install it ?
 
 Thx,
 -OS-

Hi Ongkie, you can find pretty good installation instructions here:
http://java.sun.com/j2se/1.4.1/jre/install-linux.html#install-pkg

If you need further instructions, there are others more qualified 
than I who will assist you. This list is a super place...lots of kind 
people!

All the best to you!


--Angus

Let us not look back in anger or forward in fear, but around in awareness.--James 
Thurber

***  
*Reg. Linux User #278931*
***
*Power by Mandrake Linux 9.0*
***

-- 
___
http://www.operamail.com
Now with OperaMail Premium for only US$29.99/yr

Powered by Outblaze



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



Re: [newbie] Java installation

2003-01-24 Thread Azrael
chmod +x j2re-1_4_1_01-linux-i586-rpm.bin
./j2re-1_4_1_01-linux-i586-rpm.bin

agree to the terms etc

rpm -Uhv j2re-1_4_1_01-linux-i586-rpm

Of course, some or all of the above needs to be done as root.
The rpm line definatly has to be..

On Fri, 2003-01-24 at 13:01, Angus Auld wrote:
 - Original Message -
 From: Ongkie PDS [EMAIL PROTECTED]
  Thanks to Anne, Robert, Stephen.
  
  I did download the j2re-1_4_1_01-linux-i586-rpm.bin file.
  What I have to do to install it ?
  
  Thx,
  -OS-
 
 Hi Ongkie, you can find pretty good installation instructions here:
 http://java.sun.com/j2se/1.4.1/jre/install-linux.html#install-pkg
 
 If you need further instructions, there are others more qualified 
 than I who will assist you. This list is a super place...lots of kind 
 people!
 
 All the best to you!
 
 
 --Angus
 
 Let us not look back in anger or forward in fear, but around in awareness.--James 
Thurber
 
 ***  
 *Reg. Linux User #278931*
 ***
 *Power by Mandrake Linux 9.0*
 ***
-- 
Azrael

   (\''/).___..--'''-._  
   `0_ O  )   `-.  ( ).`-.__.`) 
   (_Y_.)'  ._   )  `._ `. ``-..-'  
 _..`--'_..-_/  /--'_.' .'  
((i).-''  ((i).'  (((.-' 
   
Of all God's creatures there is only one that cannot be made the slave
of the lash. That one is the cat. If man could be crossed with a cat it
would improve man, but it would deteriorate the cat. 

ICQ#52944566
Registered Linux User: 269002




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



Re: [newbie] Java installation

2003-01-24 Thread Stephen Kuhn
On Sat, 2003-01-25 at 00:01, Angus Auld wrote:

 If you need further instructions, there are others more qualified 
 than I who will assist you. This list is a super place...lots of kind 
 people!
 

Kind people? Dang - where?

-- 
Sat, 25 Jan 2003 00:10:01 +1100
 12:10am  up 8 days,  9:53,  5 users,  load average: 0.80, 0.25, 0.13
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  || |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`'   | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

Open Channel D...
-- Napoleon Solo, The Man From U.N.C.L.E.


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



Re: [newbie] Java

2003-01-24 Thread Mark Weaver
Anne Wilson wrote:

On Friday 24 Jan 2003 9:59 am, Ongkie PDS wrote:


Dear Friend,

I need to open a website that use java applet, where can I download the
java rpm?



Do you need the whole java?  Which browser are you using?  If it's Mozilla, go 
to mozilla.org and they have a link page for plugins.  Netscape also have a 
link page.  If you need more than just a java plugin for a browser, go to 
Sun's site for a download.  Come back if you need more help.

Anne




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

IMPORTANT NOTE: you Must be root user when you do this or the plugin
will NOT install.

http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048

--
Mark
---
Paid for by Penguins against modern appliances(R)
Linux User Since 1996
Powered by Mandrake Linux 8.2  9.0



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



Re: [newbie] Java - lost it

2003-01-10 Thread Mark Weaver
Anne Wilson wrote:

On Wednesday 08 Jan 2003 4:02 am, Mark Weaver wrote:


Anne Wilson wrote:


On Sunday 05 Jan 2003 4:22 pm, [EMAIL PROTECTED] wrote:


Success!  OK, partial success.  I removed all trace of java from my
machine, ran the upgrade from the 9.0 discs and then installed the
Blackdown java.  Mozilla and Galeon now work OK, but for some reason
Netscape 7.0 still refuses to recognize java.  Oh well, if I need it, I
have it!

Thanks for everyone's help.


I still can't work out what's going on here.  I installed Netscape 7 and
the java works perfectly.  Mozilla and Galeon on the other hand list the
plugins, but they don't work.  Mozilla has lost certain setting that it
had, and is now exactly like the Netscape setup.  They must be sharing
something somewhere.

It doesn't make any sense at all

Anne


Anne,

They are indeed. They're both using the .mozilla directory. If you want
Netscape to appear as it's own app then create a new profile that you'll
use when running Netscape complete with it's own mail settings,
bookmarks and address book. That should straighten things out for you.

Mark



The whole thing is odd.  You may remember that all of this started for me 
because I could not get the navigation tabs and links to work in Mozilla on 
some sites.  After installing Netscape 7 I found that everything worked 
there, but there was no change to the problem in Mozilla.

Last night I found that Mozilla now displays all the tabs and links, though 
not all of the are active.  I suppose this means that I have changed a 
setting somewhere that is affecting it, but for the life in me I don't know 
what!

Anne

well...you could always experiment with a fresh install of Mozilla. 
Uninstall the mozilla packages making sure you delete the dir and all 
the files therein in /usr/lib/mozilla-1.1, then do a fresh install of 
mozilla which you'll also want to create the symlink from the JDK 
package netscape java plugin to the /usr/lib/mozilla-1.1/plugins dir 
when you're finished and see what that does.

or...not. :)

--
Mark
---
Paid for by Penguins against modern appliances(R)
Linux User Since 1996
Powered by Mandrake Linux 8.2  9.0


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



Re: [newbie] Java - lost it

2003-01-08 Thread Anne Wilson
On Wednesday 08 Jan 2003 4:02 am, Mark Weaver wrote:
 Anne Wilson wrote:
  On Sunday 05 Jan 2003 4:22 pm, [EMAIL PROTECTED] wrote:
 Success!  OK, partial success.  I removed all trace of java from my
 machine, ran the upgrade from the 9.0 discs and then installed the
 Blackdown java.  Mozilla and Galeon now work OK, but for some reason
 Netscape 7.0 still refuses to recognize java.  Oh well, if I need it, I
 have it!
 
 Thanks for everyone's help.
 
  I still can't work out what's going on here.  I installed Netscape 7 and
  the java works perfectly.  Mozilla and Galeon on the other hand list the
  plugins, but they don't work.  Mozilla has lost certain setting that it
  had, and is now exactly like the Netscape setup.  They must be sharing
  something somewhere.
 
  It doesn't make any sense at all
 
  Anne

 Anne,

 They are indeed. They're both using the .mozilla directory. If you want
 Netscape to appear as it's own app then create a new profile that you'll
 use when running Netscape complete with it's own mail settings,
 bookmarks and address book. That should straighten things out for you.

 Mark

The whole thing is odd.  You may remember that all of this started for me 
because I could not get the navigation tabs and links to work in Mozilla on 
some sites.  After installing Netscape 7 I found that everything worked 
there, but there was no change to the problem in Mozilla.

Last night I found that Mozilla now displays all the tabs and links, though 
not all of the are active.  I suppose this means that I have changed a 
setting somewhere that is affecting it, but for the life in me I don't know 
what!

Anne


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



RE: [newbie] Java - lost it

2003-01-05 Thread rluchor
Success!  OK, partial success.  I removed all trace of java from my
machine, ran the upgrade from the 9.0 discs and then installed the
Blackdown java.  Mozilla and Galeon now work OK, but for some reason
Netscape 7.0 still refuses to recognize java.  Oh well, if I need it, I
have it!

Thanks for everyone's help.

Rich



On Fri, 2003-01-03 at 13:07, [EMAIL PROTECTED] wrote:
 Originally I did an upgrade on both of my computers, the laptop is still
 working, but my main computer crashed about a week later, reason
 unknown.  I was unable to recover from the crash,so did a fresh install.
 
 I think my step step, if I can find the time, will be to hunt down all
 vestiges of java and then do an upgrade followed by a fresh install of
 java.
 
 Rich
 
 On Fri, 2003-01-03 at 10:32, Myers, Dennis R NWO wrote:
  Did you upgrade or do a fresh install. One of the features with 9.0
  was supposed to be it's ability to upgrade over an older OS but I
  don't think that it works consistantly and may be you are better off
  with a clean install? Dennis M.
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  [EMAIL PROTECTED]
  Sent: Friday, January 03, 2003 8:56 AM
  To: Mandrake
  Subject: Re: [newbie] Java - lost it
  
  
  On Thu, 2003-01-02 at 16:57, erylon hines wrote:
   On Thursday 02 January 2003 12:44 pm, you wrote:
   
My installation is also from the discs and uninstalling and
re-installing didn't work for me.
Mozilla and Galeon crash when encountering applets;
Konqueror doesn't crash, but the applet freezes when it's 29%
  loaded;
Netscape still refuses to even acknowledge that java is loaded.
   
Where to next??
   
Rich
   
   There is a fairly high probablility that you have two java's
  installed, and a 
   bad link to the *.so going (or, maybe no link at all).  Note that
  this must 
   be a link to the javaplugin_oji.so, copying the *.so to the 
   /usr/lib/netscape/plugins directory will NOT work--same for mozilla.
   
   MozillaHelpAbout plug-ins  shows the java that you have
  installed??
   (should be the Sun version)
   
   #java -version  returns what?  (Kaffee should be o.k., but you
  can 
   uninstall it using the package manager and re-make your path to the
  Sun 
   version as a last resort--since this is only for web browsers that
  shouldn't 
   be necessary).  I'm trying to determine just what mods the rpm
  installer made 
   to your directories and links.
   
   Everyone else reading this--I recommend that you use the version
  from 
   Blackdown if you must have a JVM because it is a bzipped tarball and
  not a 
   *.bin or rpm.  If you use tarballs you can have more control of the
  install.  
   Installing java ain't really hard--honest.
   
   1.  Download the bz2 tarball and put it in /usr/local then cd to
  /usr/local
   
   2.  Unpack it with the command  tar -xvvIf name_of_tarball   (note
  that is an 
   eye not an ell -- a directory /usr/local/java_version_directory
  will be 
   created)
   
   3.  ln -s 
  
  /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so   
  /usr/lib/mozilla plugins
   
   4.  Repeat for netscape (note to use the proper plugin
  directory--moz and 
   netscape are different)
   
   I don't use Galeon--you are on your own for that
   
   If you must have a real JVM for some 3rd party program (not very
  likely, but 
   possible) remove Kaffee from your system.
   
   1.  open /etc/profile with your favorite editor
   
   2.  Add the line: export 
  PATH=$PATH:/usr/local/java_version_directory/bin
   
   (this sets the variable PATH to the previous PATH and adds the new
  line to it)
   
   3. Add the line:   export
  JAVA_HOME=/usr/local/java_version_directory
   
   4.  Reload /etc/profile
   
   If none of this works for you, I've exhausted my suggestions, but I
  assure 
   you, it has worked for me.
  
  
  Well, I've exhausted all of my possibilities, none of the java
  installs
  will work, Sun or Blackdown or Netscape.  I've also noticed that
  Konqueror file manager crashes sometimes when I click on a Mozilla
  directory.  There's something very wrong with my installation. 
  Strangely, another computer that I upgraded (this one was a fresh
  install) works perfectly!
  
  Thanks to everyone for all of their efforts.
  
  Rich
  
  -- 
[EMAIL PROTECTED]
  
  
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
  [EMAIL PROTECTED]



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



Re: [newbie] Java - lost it

2003-01-05 Thread Anne Wilson
On Sunday 05 Jan 2003 4:22 pm, [EMAIL PROTECTED] wrote:
 Success!  OK, partial success.  I removed all trace of java from my
 machine, ran the upgrade from the 9.0 discs and then installed the
 Blackdown java.  Mozilla and Galeon now work OK, but for some reason
 Netscape 7.0 still refuses to recognize java.  Oh well, if I need it, I
 have it!

 Thanks for everyone's help.

I still can't work out what's going on here.  I installed Netscape 7 and the 
java works perfectly.  Mozilla and Galeon on the other hand list the plugins, 
but they don't work.  Mozilla has lost certain setting that it had, and is 
now exactly like the Netscape setup.  They must be sharing something 
somewhere.

It doesn't make any sense at all

Anne


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



Re: [newbie] Java - lost it

2003-01-03 Thread Anne Wilson
On Thursday 02 Jan 2003 9:57 pm, erylon hines wrote:
 On Thursday 02 January 2003 12:44 pm, you wrote:
  My installation is also from the discs and uninstalling and
  re-installing didn't work for me.
  Mozilla and Galeon crash when encountering applets;
  Konqueror doesn't crash, but the applet freezes when it's 29% loaded;
  Netscape still refuses to even acknowledge that java is loaded.
 
  Where to next??
 
  Rich

 There is a fairly high probablility that you have two java's installed, and
 a bad link to the *.so going (or, maybe no link at all).  Note that this
 must be a link to the javaplugin_oji.so, copying the *.so to the
 /usr/lib/netscape/plugins directory will NOT work--same for mozilla.

 MozillaHelpAbout plug-ins  shows the java that you have installed??
 (should be the Sun version)

 #java -version  returns what?  (Kaffee should be o.k., but you can
 uninstall it using the package manager and re-make your path to the Sun
 version as a last resort--since this is only for web browsers that
 shouldn't be necessary).  I'm trying to determine just what mods the rpm
 installer made to your directories and links.


For me, java -version returns nothing at all.  I think that the rpm install 
has put things in the wrong places for me, and caused problems by it.  I am 
going to uninstall altogether and start again, making sure that I know where 
everything is going this time.  I do *not* want any of it installed on my old 
8_2 partitions.

Anne


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



Re: [newbie] Java - lost it

2003-01-03 Thread Charles A Edwards
On Fri, 3 Jan 2003 10:26:20 +
Anne Wilson [EMAIL PROTECTED] wrote:

 For me, java -version returns nothing at all.  I think that the rpm
 install has put things in the wrong places for me, and caused problems
 by it.  I am going to uninstall altogether and start again, making
 sure that I know where everything is going this time.  I do *not* want
 any of it installed on my old 8_2 partitions.


Anne, if you have not already done so launch Remove Software from mcc
and select the alphabetical listing and go through all the rpms which
begin with j.
Depending upon where you got, whose it is, and which version your java
rpm could be named jre, j2re, jdk, jsk, j2dk, j2sk and several other
variation of the same.

It has been mentioned before but if you have kaffee installed installed
remove it.
It will prevent the proper operation of the java rpms.


Charles


I don't care where I sit as long as I get fed.
-- Calvin Trillin
--
Mandrake Linux 9.1
Kernel- 2.4.20-2mdk
--


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



Re: [newbie] Java - lost it

2003-01-03 Thread rluchor
On Thu, 2003-01-02 at 16:57, erylon hines wrote:
 On Thursday 02 January 2003 12:44 pm, you wrote:
 
  My installation is also from the discs and uninstalling and
  re-installing didn't work for me.
  Mozilla and Galeon crash when encountering applets;
  Konqueror doesn't crash, but the applet freezes when it's 29% loaded;
  Netscape still refuses to even acknowledge that java is loaded.
 
  Where to next??
 
  Rich
 
 There is a fairly high probablility that you have two java's installed, and a 
 bad link to the *.so going (or, maybe no link at all).  Note that this must 
 be a link to the javaplugin_oji.so, copying the *.so to the 
 /usr/lib/netscape/plugins directory will NOT work--same for mozilla.
 
 MozillaHelpAbout plug-ins  shows the java that you have installed??
 (should be the Sun version)
 
 #java -version  returns what?  (Kaffee should be o.k., but you can 
 uninstall it using the package manager and re-make your path to the Sun 
 version as a last resort--since this is only for web browsers that shouldn't 
 be necessary).  I'm trying to determine just what mods the rpm installer made 
 to your directories and links.
 
 Everyone else reading this--I recommend that you use the version from 
 Blackdown if you must have a JVM because it is a bzipped tarball and not a 
 *.bin or rpm.  If you use tarballs you can have more control of the install.  
 Installing java ain't really hard--honest.
 
 1.  Download the bz2 tarball and put it in /usr/local then cd to /usr/local
 
 2.  Unpack it with the command  tar -xvvIf name_of_tarball   (note that is an 
 eye not an ell -- a directory /usr/local/java_version_directory will be 
 created)
 
 3.  ln -s 
 /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so   
/usr/lib/mozilla plugins
 
 4.  Repeat for netscape (note to use the proper plugin directory--moz and 
 netscape are different)
 
 I don't use Galeon--you are on your own for that
 
 If you must have a real JVM for some 3rd party program (not very likely, but 
 possible) remove Kaffee from your system.
 
 1.  open /etc/profile with your favorite editor
 
 2.  Add the line: export  PATH=$PATH:/usr/local/java_version_directory/bin
 
 (this sets the variable PATH to the previous PATH and adds the new line to it)
 
 3. Add the line:   export JAVA_HOME=/usr/local/java_version_directory
 
 4.  Reload /etc/profile
 
 If none of this works for you, I've exhausted my suggestions, but I assure 
 you, it has worked for me.


Well, I've exhausted all of my possibilities, none of the java installs
will work, Sun or Blackdown or Netscape.  I've also noticed that
Konqueror file manager crashes sometimes when I click on a Mozilla
directory.  There's something very wrong with my installation. 
Strangely, another computer that I upgraded (this one was a fresh
install) works perfectly!

Thanks to everyone for all of their efforts.

Rich

-- 
  [EMAIL PROTECTED]



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



RE: [newbie] Java - lost it

2003-01-03 Thread Myers, Dennis R NWO
Title: RE: [newbie] Java - lost it





Did you upgrade or do a fresh install. One of the features with 9.0 was supposed to be it's ability to upgrade over an older OS but I don't think that it works consistantly and may be you are better off with a clean install? Dennis M.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, January 03, 2003 8:56 AM
To: Mandrake
Subject: Re: [newbie] Java - lost it



On Thu, 2003-01-02 at 16:57, erylon hines wrote:
 On Thursday 02 January 2003 12:44 pm, you wrote:
 
  My installation is also from the discs and uninstalling and
  re-installing didn't work for me.
  Mozilla and Galeon crash when encountering applets;
  Konqueror doesn't crash, but the applet freezes when it's 29% loaded;
  Netscape still refuses to even acknowledge that java is loaded.
 
  Where to next??
 
  Rich
 
 There is a fairly high probablility that you have two java's installed, and a 
 bad link to the *.so going (or, maybe no link at all). Note that this must 
 be a link to the javaplugin_oji.so, copying the *.so to the 
 /usr/lib/netscape/plugins directory will NOT work--same for mozilla.
 
 MozillaHelpAbout plug-ins shows the java that you have installed??
 (should be the Sun version)
 
 #java -version returns what? (Kaffee should be o.k., but you can 
 uninstall it using the package manager and re-make your path to the Sun 
 version as a last resort--since this is only for web browsers that shouldn't 
 be necessary). I'm trying to determine just what mods the rpm installer made 
 to your directories and links.
 
 Everyone else reading this--I recommend that you use the version from 
 Blackdown if you must have a JVM because it is a bzipped tarball and not a 
 *.bin or rpm. If you use tarballs you can have more control of the install. 
 Installing java ain't really hard--honest.
 
 1. Download the bz2 tarball and put it in /usr/local then cd to /usr/local
 
 2. Unpack it with the command tar -xvvIf name_of_tarball (note that is an 
 eye not an ell -- a directory /usr/local/java_version_directory will be 
 created)
 
 3. ln -s 
 /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so 
 /usr/lib/mozilla plugins
 
 4. Repeat for netscape (note to use the proper plugin directory--moz and 
 netscape are different)
 
 I don't use Galeon--you are on your own for that
 
 If you must have a real JVM for some 3rd party program (not very likely, but 
 possible) remove Kaffee from your system.
 
 1. open /etc/profile with your favorite editor
 
 2. Add the line: export PATH=$PATH:/usr/local/java_version_directory/bin
 
 (this sets the variable PATH to the previous PATH and adds the new line to it)
 
 3. Add the line: export JAVA_HOME=/usr/local/java_version_directory
 
 4. Reload /etc/profile
 
 If none of this works for you, I've exhausted my suggestions, but I assure 
 you, it has worked for me.



Well, I've exhausted all of my possibilities, none of the java installs
will work, Sun or Blackdown or Netscape. I've also noticed that
Konqueror file manager crashes sometimes when I click on a Mozilla
directory. There's something very wrong with my installation. 
Strangely, another computer that I upgraded (this one was a fresh
install) works perfectly!


Thanks to everyone for all of their efforts.


Rich


-- 
 [EMAIL PROTECTED]






RE: [newbie] Java - lost it

2003-01-03 Thread rluchor
Originally I did an upgrade on both of my computers, the laptop is still
working, but my main computer crashed about a week later, reason
unknown.  I was unable to recover from the crash,so did a fresh install.

I think my step step, if I can find the time, will be to hunt down all
vestiges of java and then do an upgrade followed by a fresh install of
java.

Rich

On Fri, 2003-01-03 at 10:32, Myers, Dennis R NWO wrote:
 Did you upgrade or do a fresh install. One of the features with 9.0
 was supposed to be it's ability to upgrade over an older OS but I
 don't think that it works consistantly and may be you are better off
 with a clean install? Dennis M.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Friday, January 03, 2003 8:56 AM
 To: Mandrake
 Subject: Re: [newbie] Java - lost it
 
 
 On Thu, 2003-01-02 at 16:57, erylon hines wrote:
  On Thursday 02 January 2003 12:44 pm, you wrote:
  
   My installation is also from the discs and uninstalling and
   re-installing didn't work for me.
   Mozilla and Galeon crash when encountering applets;
   Konqueror doesn't crash, but the applet freezes when it's 29%
 loaded;
   Netscape still refuses to even acknowledge that java is loaded.
  
   Where to next??
  
   Rich
  
  There is a fairly high probablility that you have two java's
 installed, and a 
  bad link to the *.so going (or, maybe no link at all).  Note that
 this must 
  be a link to the javaplugin_oji.so, copying the *.so to the 
  /usr/lib/netscape/plugins directory will NOT work--same for mozilla.
  
  MozillaHelpAbout plug-ins  shows the java that you have
 installed??
  (should be the Sun version)
  
  #java -version  returns what?  (Kaffee should be o.k., but you
 can 
  uninstall it using the package manager and re-make your path to the
 Sun 
  version as a last resort--since this is only for web browsers that
 shouldn't 
  be necessary).  I'm trying to determine just what mods the rpm
 installer made 
  to your directories and links.
  
  Everyone else reading this--I recommend that you use the version
 from 
  Blackdown if you must have a JVM because it is a bzipped tarball and
 not a 
  *.bin or rpm.  If you use tarballs you can have more control of the
 install.  
  Installing java ain't really hard--honest.
  
  1.  Download the bz2 tarball and put it in /usr/local then cd to
 /usr/local
  
  2.  Unpack it with the command  tar -xvvIf name_of_tarball   (note
 that is an 
  eye not an ell -- a directory /usr/local/java_version_directory
 will be 
  created)
  
  3.  ln -s 
 
 /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so   
 /usr/lib/mozilla plugins
  
  4.  Repeat for netscape (note to use the proper plugin
 directory--moz and 
  netscape are different)
  
  I don't use Galeon--you are on your own for that
  
  If you must have a real JVM for some 3rd party program (not very
 likely, but 
  possible) remove Kaffee from your system.
  
  1.  open /etc/profile with your favorite editor
  
  2.  Add the line: export 
 PATH=$PATH:/usr/local/java_version_directory/bin
  
  (this sets the variable PATH to the previous PATH and adds the new
 line to it)
  
  3. Add the line:   export
 JAVA_HOME=/usr/local/java_version_directory
  
  4.  Reload /etc/profile
  
  If none of this works for you, I've exhausted my suggestions, but I
 assure 
  you, it has worked for me.
 
 
 Well, I've exhausted all of my possibilities, none of the java
 installs
 will work, Sun or Blackdown or Netscape.  I've also noticed that
 Konqueror file manager crashes sometimes when I click on a Mozilla
 directory.  There's something very wrong with my installation. 
 Strangely, another computer that I upgraded (this one was a fresh
 install) works perfectly!
 
 Thanks to everyone for all of their efforts.
 
 Rich
 
 -- 
   [EMAIL PROTECTED]
 
 



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



Re: [newbie] Java - lost it

2003-01-02 Thread Anne Wilson
On Thursday 02 Jan 2003 2:47 pm, Tom Brinkman wrote:
 On Wednesday January 1 2003 01:25 pm, Anne Wilson wrote:
  Looking again at what you wrote originally, I get the same output
  as you for the command
 
  ll /usr/bin/java

 Including rwx permissions for users (lrwxrwxrwx) ?
 . 
Yes - it's all OK  ^^^

  However, it looks to me as though it has not been added to the
  path, since what I get from the next command is:
 
  [root@anne-linux anne]# echo $PATH
  /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/lo
 cal/sbin [root@anne-linux anne]#

   Mea culpa. When I first replied I had Mandrake's j2re 1.4.0
 installed, and that rpm does add jre to your path.  Since then I've
 upgraded to Mandrake's j2re 1.4.1. It _doesn't_ add jre to the path.
 (MOF, the upgrade removed it from mine).

and this removed it from mine - and the java.sh from /etc/profile.d

 It shouldn't matter tho since it does create the link '/usr/bin/java
 - /etc/alternatives/java*' and '/usr/bin' should be in your path.
 BTW, run 'echo $PATH' as user, since you'll need java as user.

[anne@anne-linux anne]$ echo $PATH
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/anne/bin
[anne@anne-linux anne]$

Why are there two // in /usr//bin?  Does /usr/bin include all subdirectories?

 I suspect the problem is with your Mozilla install. Tho I have no
 idea what is maybe wrong (and I'm now usin the newer 9.1 cooker
 version 1.3-0.alpha.1mdk).

It's the standard install from 9.0's discs.  I don't feel confident at using 
cooker versions yet.  I could uninstall and re-install I suppose.

I think the next thing to try is to check for suitable links in the Mozilla 
directory.

Any other ideas gratefully welcomed.

Anne


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



Re: [newbie] Java - lost it

2003-01-02 Thread Tom Brinkman
On Thursday January 2 2003 11:25 am, Anne Wilson wrote:

  I suspect the problem is with your Mozilla install. Tho I
  have no idea what is maybe wrong (and I'm now usin the newer 9.1
  cooker version 1.3-0.alpha.1mdk).

 It's the standard install from 9.0's discs.  I don't feel confident
 at using cooker versions yet. 

   ... and you can't either, except on a full cooker install of 9.1.
I only mentioned that to imply I don't have 9.0's older Mozilla 
anymore. Anne, I'm out'a ideas with your Mozilla install. But as I 
ranted about in a previous reply, they're are no guarantees as soon 
as you taint a system with closed source stuff, ie, Sun's java. It 
may or may not work.  Lobby Sun to release OSS java.
-- 
Tom Brinkman  Corpus Christi, Texas


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



Re: [newbie] Java - lost it

2003-01-02 Thread Anne Wilson
On Thursday 02 Jan 2003 6:09 pm, Tom Brinkman wrote:
 On Thursday January 2 2003 11:25 am, Anne Wilson wrote:
   I suspect the problem is with your Mozilla install. Tho I
   have no idea what is maybe wrong (and I'm now usin the newer 9.1
   cooker version 1.3-0.alpha.1mdk).
 
  It's the standard install from 9.0's discs.  I don't feel confident
  at using cooker versions yet.

... and you can't either, except on a full cooker install of 9.1.
 I only mentioned that to imply I don't have 9.0's older Mozilla
 anymore. Anne, I'm out'a ideas with your Mozilla install. But as I
 ranted about in a previous reply, they're are no guarantees as soon
 as you taint a system with closed source stuff, ie, Sun's java. It
 may or may not work.  Lobby Sun to release OSS java.

OK - thanks for all your efforts.  I am nearer than I was, but we'll see what 
happens.

Anne


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



Re: [newbie] Java - lost it

2003-01-02 Thread rluchor
On Thu, 2003-01-02 at 12:25, Anne Wilson wrote:

 
   I suspect the problem is with your Mozilla install. Tho I have no
  idea what is maybe wrong (and I'm now usin the newer 9.1 cooker
  version 1.3-0.alpha.1mdk).
 
 It's the standard install from 9.0's discs.  I don't feel confident at using 
 cooker versions yet.  I could uninstall and re-install I suppose.
 
 I think the next thing to try is to check for suitable links in the Mozilla 
 directory.

My installation is also from the discs and uninstalling and
re-installing didn't work for me.
Mozilla and Galeon crash when encountering applets;
Konqueror doesn't crash, but the applet freezes when it's 29% loaded;
Netscape still refuses to even acknowledge that java is loaded.

Where to next??

Rich

-- 
  [EMAIL PROTECTED]



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



Re: [newbie] Java

2003-01-02 Thread erylon hines
On Thursday 02 January 2003 05:26 am, you wrote:


 Erylon - the rpm that Tom recommended has screwed up my system as regards
 java.  I think the links and path are wrong.  Can you please list the files
 that I may need to check/edit?

 Thanks

 Anne

I've never used that rpm, so I defer to Tom on that.  I can speculate that 
the rpm didn't remake the java link to the moz plugin directory, though (I am 
assuming you only use java for your web browsers. Other than for that, 
most people don't even need java).  If you know where the rpm made the java 
directory, you can manually re-make the link correctly.  As an aside, I've 
found that #ln -s /usr/javaplugindirectory/i386/mozilla/javaplugin_oji.so
/usr/lib/mozilla/plugins when done globally, can cause the plugin 
directory to be hosed when mozilla is upgraded, forcing a delete and 
re-install of moz.  This is a minor irritation, and its probably a good idea 
to delete the old mozilla first anyway--just my experience ymmv.

If you don't actually need a jvm on your machine for running a 3rd party 
program, Kaffee is o.k. to keep.   Do a   #java -version  and 
see if you still get a return for Kaffee.  If you get a return for Sun's 
java, the rpm did re-make the $PATH.  If not, it didn't, so that's not the 
problem.  If you get a no java found type error, then there is no java in 
your path and you'll have to find where it is and add it.

A #which javanormally points to /usr/bin/java.  This may or may not be 
correct for you, depending on the behavior of the rpm (I again defer to Tom). 
I've removed Kaffee and with it the /usr/bin/java, so the path to the new 
/java_directory/bin/java may need to be added.

I know this isn't much help, but the problem must be identified before it can 
be corrected.  I repeat, I haven't used that rpm (I'm a tarball kinda guy), 
so I do not know its behavior.

e.


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



Re: [newbie] Java - lost it

2003-01-02 Thread erylon hines
On Thursday 02 January 2003 12:44 pm, you wrote:

 My installation is also from the discs and uninstalling and
 re-installing didn't work for me.
 Mozilla and Galeon crash when encountering applets;
 Konqueror doesn't crash, but the applet freezes when it's 29% loaded;
 Netscape still refuses to even acknowledge that java is loaded.

 Where to next??

 Rich

There is a fairly high probablility that you have two java's installed, and a 
bad link to the *.so going (or, maybe no link at all).  Note that this must 
be a link to the javaplugin_oji.so, copying the *.so to the 
/usr/lib/netscape/plugins directory will NOT work--same for mozilla.

MozillaHelpAbout plug-ins  shows the java that you have installed??
(should be the Sun version)

#java -version  returns what?  (Kaffee should be o.k., but you can 
uninstall it using the package manager and re-make your path to the Sun 
version as a last resort--since this is only for web browsers that shouldn't 
be necessary).  I'm trying to determine just what mods the rpm installer made 
to your directories and links.

Everyone else reading this--I recommend that you use the version from 
Blackdown if you must have a JVM because it is a bzipped tarball and not a 
*.bin or rpm.  If you use tarballs you can have more control of the install.  
Installing java ain't really hard--honest.

1.  Download the bz2 tarball and put it in /usr/local then cd to /usr/local

2.  Unpack it with the command  tar -xvvIf name_of_tarball   (note that is an 
eye not an ell -- a directory /usr/local/java_version_directory will be 
created)

3.  ln -s 
/usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so   
   /usr/lib/mozilla plugins

4.  Repeat for netscape (note to use the proper plugin directory--moz and 
netscape are different)

I don't use Galeon--you are on your own for that

If you must have a real JVM for some 3rd party program (not very likely, but 
possible) remove Kaffee from your system.

1.  open /etc/profile with your favorite editor

2.  Add the line: export  PATH=$PATH:/usr/local/java_version_directory/bin

(this sets the variable PATH to the previous PATH and adds the new line to it)

3. Add the line:   export JAVA_HOME=/usr/local/java_version_directory

4.  Reload /etc/profile

If none of this works for you, I've exhausted my suggestions, but I assure 
you, it has worked for me.

e.



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



Re: [newbie] Java

2003-01-02 Thread Anne Wilson
On Thursday 02 Jan 2003 8:50 pm, erylon hines wrote:
 On Thursday 02 January 2003 05:26 am, you wrote:
  Erylon - the rpm that Tom recommended has screwed up my system as regards
  java.  I think the links and path are wrong.  Can you please list the
  files that I may need to check/edit?
 
  Thanks
 
  Anne

 I've never used that rpm, so I defer to Tom on that.  I can speculate that
 the rpm didn't remake the java link to the moz plugin directory, though (I
 am assuming you only use java for your web browsers. Other than for that,
 most people don't even need java).  If you know where the rpm made the java
 directory, you can manually re-make the link correctly.  As an aside, I've
 found that #ln -s /usr/javaplugindirectory/i386/mozilla/javaplugin_oji.so
 /usr/lib/mozilla/plugins when done globally, can cause the plugin
 directory to be hosed when mozilla is upgraded, forcing a delete and
 re-install of moz.  This is a minor irritation, and its probably a good
 idea to delete the old mozilla first anyway--just my experience ymmv.

 If you don't actually need a jvm on your machine for running a 3rd party
 program, Kaffee is o.k. to keep.   Do a   #java -version  and
 see if you still get a return for Kaffee.  If you get a return for Sun's
 java, the rpm did re-make the $PATH.  If not, it didn't, so that's not the
 problem.  If you get a no java found type error, then there is no java in
 your path and you'll have to find where it is and add it.

 A #which javanormally points to /usr/bin/java.  This may or may not be
 correct for you, depending on the behavior of the rpm (I again defer to
 Tom). I've removed Kaffee and with it the /usr/bin/java, so the path to the
 new /java_directory/bin/java may need to be added.

 I know this isn't much help, but the problem must be identified before it
 can be corrected.  I repeat, I haven't used that rpm (I'm a tarball kinda
 guy), so I do not know its behavior.

 e.

Thanks - it gives me a few more pointers to explore.

Anne


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



Re: [newbie] Java

2003-01-01 Thread Anne Wilson
On Wednesday 01 Jan 2003 2:09 am, Tom Brinkman wrote:
 On Tuesday December 31 2002 01:55 pm, [EMAIL PROTECTED] wrote:
  This may be a little off topic, but it's driving me crazy.
 
  I recently upgraded to Mandrake 9.0 from 8.2 and had a mysterious
  crash and wasn't able to recover or salvage anything.  I decided to
  start over from scratch and just downloaded Netscape 7.0.  I also
  require Java and downloaded the latest version, 1.4.1.
 
  I extracted the java files and set up the KDE control
  center/Netscape plugin utility to find the new plugin, which it
  did.  The problem is that Netscape doesn't load the new java
  plugin.  Did I miss a step?

Yeah, too many steps. Nutscrape was the first mistake ;
  'rpm -Uvh j2re-1.4.1_01-5mdk'  rpm makes java available globally to
 all apps (browsers too). You do nothin, and can't screw it up ;)

  It's available from the Club, or maybe from /unsupported mirrors.

Tom - do you do this as root?

Anne


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



Re: [newbie] Java

2003-01-01 Thread Tom Brinkman
On Wednesday January 1 2003 06:36 am, Anne Wilson wrote:

   'rpm -Uvh j2re-1.4.1 01-5mdk'  rpm makes java available globally
  to all apps (browsers too). You do nothin, and can't screw it up
  ;)
 
   It's available from the Club, or maybe from /unsupported
  mirrors.

 Tom - do you do this as root?

 Anne

Anne, I suppose you're refering to 'rpm-UvhYes, do it as 
root. Just installing the j2re rpm takes care of making the needed 
links for you, eg

 tom$ ll /usr/bin/java
lrwxrwxrwx1 root root 22 Dec 31 19:57 /usr/bin/java - 
/etc/alternatives/java*

   . adds jre to your path
 tom$ echo $PATH
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:
/usr/lib/jre-1.4.0_01/bin:/home/tom/bin

   ... and takes care of anything else while it's at it ;) I don't 
believe it's even neccesary to uninstall kaffe first, but I always 
do.
-- 
Tom Brinkman  Corpus Christi, Texas


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



Re: [newbie] Java

2003-01-01 Thread rluchor
On Tue, 2002-12-31 at 21:09, Tom Brinkman wrote:
 On Tuesday December 31 2002 01:55 pm, [EMAIL PROTECTED] wrote:
  This may be a little off topic, but it's driving me crazy.
 
  I recently upgraded to Mandrake 9.0 from 8.2 and had a mysterious
  crash and wasn't able to recover or salvage anything.  I decided to
  start over from scratch and just downloaded Netscape 7.0.  I also
  require Java and downloaded the latest version, 1.4.1.
 
  I extracted the java files and set up the KDE control
  center/Netscape plugin utility to find the new plugin, which it
  did.  The problem is that Netscape doesn't load the new java
  plugin.  Did I miss a step?
 
Yeah, too many steps. Nutscrape was the first mistake ;
  'rpm -Uvh j2re-1.4.1_01-5mdk'  rpm makes java available globally to 
 all apps (browsers too). You do nothin, and can't screw it up ;)
 
  It's available from the Club, or maybe from /unsupported mirrors.

Thanks, I'll look for it.  BTW, which browser do you recommend?

Rich

-- 
  [EMAIL PROTECTED]



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



Re: [newbie] Java - lost it

2003-01-01 Thread Anne Wilson
On Wednesday 01 Jan 2003 1:15 pm, Tom Brinkman wrote:
 On Wednesday January 1 2003 06:36 am, Anne Wilson wrote:
'rpm -Uvh j2re-1.4.1 01-5mdk'  rpm makes java available globally
   to all apps (browsers too). You do nothin, and can't screw it up
   ;)
  
It's available from the Club, or maybe from /unsupported
   mirrors.
 
  Tom - do you do this as root?
 
  Anne

 Anne, I suppose you're refering to 'rpm-UvhYes, do it as
 root. Just installing the j2re rpm takes care of making the needed
 links for you, eg

  tom$ ll /usr/bin/java
 lrwxrwxrwx1 root root 22 Dec 31 19:57 /usr/bin/java -
 /etc/alternatives/java*

. adds jre to your path
  tom$ echo $PATH
 /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:
 /usr/lib/jre-1.4.0_01/bin:/home/tom/bin

... and takes care of anything else while it's at it ;) I don't
 believe it's even neccesary to uninstall kaffe first, but I always
 do.

Java was running correctly under Galeon but not under Mozilla.  I had hoped 
that this would fix it.  Instead, I now show no plugins for Java or 
Javascript under either.  The only good thing is that it has confirmed that 
my problems in Mozilla were caused by this, because now Galeon doesn't work 
either.

I presume there's a link problem.  What should I do now?

Anne


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



Re: [newbie] Java

2003-01-01 Thread Jerry
How about if one has installed it from the binaries available at java.sun.com?
I installed java from there (not a Club member), and linked 
/usr/lib/mozilla-1.1/plugins/libjavaplugin_oji.so to 
~/j2sdk1.4.1_01/jre/plugin/i386/ns610/libjavaplugin_oji.so
(it installed the binary in my home dir)
but if galeon or mozilla comes across any java it just closes (crashes).

about:plugins gives:

Installed plug-ins
Find more information about browser plug-ins at Netscape.com.

Java(TM) Plug-in 1.4.1_01-b01

File name: libjavaplugin_oji.so
Java(TM) Plug-in1.4.1_01
then a list of mime types (and under Enabled it says Yes)


do i need to use a different version of java?



On Tue, 31 Dec 2002 20:09:38 -0600
Tom Brinkman [EMAIL PROTECTED] wrote:

 On Tuesday December 31 2002 01:55 pm, [EMAIL PROTECTED] wrote:
  This may be a little off topic, but it's driving me crazy.
 
  I recently upgraded to Mandrake 9.0 from 8.2 and had a mysterious
  crash and wasn't able to recover or salvage anything.  I decided to
  start over from scratch and just downloaded Netscape 7.0.  I also
  require Java and downloaded the latest version, 1.4.1.
 
  I extracted the java files and set up the KDE control
  center/Netscape plugin utility to find the new plugin, which it
  did.  The problem is that Netscape doesn't load the new java
  plugin.  Did I miss a step?
 
Yeah, too many steps. Nutscrape was the first mistake ;
  'rpm -Uvh j2re-1.4.1_01-5mdk'  rpm makes java available globally to 
 all apps (browsers too). You do nothin, and can't screw it up ;)
 
  It's available from the Club, or maybe from /unsupported mirrors.
 -- 
 Tom Brinkman  Corpus Christi, Texas
 
 


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



Re: [newbie] Java

2003-01-01 Thread rluchor
On Tue, 2002-12-31 at 23:34, Jerry wrote:
 How about if one has installed it from the binaries available at java.sun.com?
 I installed java from there (not a Club member), and linked 
/usr/lib/mozilla-1.1/plugins/libjavaplugin_oji.so to 
~/j2sdk1.4.1_01/jre/plugin/i386/ns610/libjavaplugin_oji.so
 (it installed the binary in my home dir)
 but if galeon or mozilla comes across any java it just closes (crashes).

Exactly the same problem that I'm having, Galeon crashes on any page
that has java and Netscape refuses to recognize that it's there.

Rich


-- 
  [EMAIL PROTECTED]



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



Re: [newbie] Java

2003-01-01 Thread Tom Brinkman
On Wednesday January 1 2003 07:40 am, [EMAIL PROTECTED] wrote:
 On Tue, 2002-12-31 at 21:09, Tom Brinkman wrote:

 Yeah, too many steps. Nutscrape was the first mistake ;
   'rpm -Uvh j2re-1.4.1_01-5mdk'  rpm makes java available globally
  to all apps (browsers too). You do nothin, and can't screw it up
  ;)
 
   It's available from the Club, or maybe from /unsupported
  mirrors.

 Thanks, I'll look for it.  BTW, which browser do you recommend?

 Rich

   I use Konqueror for all but two banking sites that insist on either 
IExpolder, or Nutscrape ... for those I use Mozilla. Actually one of 
the sites accepts Konqueror, but due to insistin on me usin their off 
the wall selected id/psword's. I use Mozilla since it auto fills 'em 
in.
-- 
Tom Brinkman  Corpus Christi, Texas


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



Re: [newbie] Java - lost it

2003-01-01 Thread Tom Brinkman
On Wednesday January 1 2003 07:40 am, Anne Wilson wrote:

 Java was running correctly under Galeon but not under Mozilla.  I
 had hoped that this would fix it.  Instead, I now show no plugins
 for Java or Javascript under either.  The only good thing is that
 it has confirmed that my problems in Mozilla were caused by this,
 because now Galeon doesn't work either.

 I presume there's a link problem.  What should I do now?

 Anne

   Dunno (?), not quite sure I understand your problems Anne. FWIW, 
the 'Club' Mandrake Sun java rpm has been available for quite some 
time. Updated versions available as soon as Sun releases 'em. I've 
only used them with Mozilla and Konqueror, mostly 99% Konqueror.  I 
only use java to avoid, like with Flash, error or crashes when I go 
to some web pages.

   Otherwise, IMO, both would be banned from the Net (as would M$ 
users and all virus proliferating proprietary closed source crap). 
But I seldom get my way ;  Still think it's a better way for 'peace 
on earth', open source that is. At least it'd be auditable and better 
free from 'welcome to crackers' and soft/hard conflicts as it is now. 

As such it's possible that you might (ie, auditable) have some 
hardware problems with java under Linux. Closed source can't possibly 
be supported, hardware or software. I use Mandrake's Sun java version 
since I suspect they've done all they can to make sure it doesn't 
cause conflicts or security holes... even without the source. Plus 
it's a user error free install.

   Since you now 'show no plugins for Java or Javascript under 
either', I believe I'd undo/uninstall your efforts to date, then just 
install the Mandrake/Sun java rpm.  It really does do everything for 
you, which avoids user bumps in the road.  'rpm -Uvh' should reveal 
any needed deps, but you might also do it with
'urpmi j2re-1.4.1_01-5mdk'
-- 
Tom Brinkman  Corpus Christi, Texas


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



Re: [newbie] Java - lost it

2003-01-01 Thread Anne Wilson
On Wednesday 01 Jan 2003 7:17 pm, Tom Brinkman wrote:
 On Wednesday January 1 2003 07:40 am, Anne Wilson wrote:
  Java was running correctly under Galeon but not under Mozilla.  I
  had hoped that this would fix it.  Instead, I now show no plugins
  for Java or Javascript under either.  The only good thing is that
  it has confirmed that my problems in Mozilla were caused by this,
  because now Galeon doesn't work either.
 
  I presume there's a link problem.  What should I do now?
 
  Anne

Dunno (?), not quite sure I understand your problems Anne. FWIW,
 the 'Club' Mandrake Sun java rpm has been available for quite some
 time. Updated versions available as soon as Sun releases 'em. I've
 only used them with Mozilla and Konqueror, mostly 99% Konqueror.  I
 only use java to avoid, like with Flash, error or crashes when I go
 to some web pages.

Some sites - like my on-line banking - won't operate without it, so there's no 
choice really.

Konqeror continues to function correctly.  Even though I have lost the java 
plugins under Mozilla and Galeon.

Looking again at what you wrote originally, I get the same output as you for 
the command

ll /usr/bin/java

However, it looks to me as though it has not been added to the path, since 
what I get from the next command is:

[root@anne-linux anne]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[root@anne-linux anne]#

When I installed jre before, according to my notes I had to put a shell script 
into etc/profile.d, which defined the Java_Home variable, export it, add 
$Java_Home/bin to the path, and export that.  Do I need to do anything like 
that?

I'm convinced that Java must be working OK, or Konq couldn't be using it 
(unless that is still finding the old install), so my guess is that the 
problem is either links or paths.

Can you or anyone help, please?

Anne





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



Re: [newbie] Java

2002-12-31 Thread Tom Brinkman
On Tuesday December 31 2002 01:55 pm, [EMAIL PROTECTED] wrote:
 This may be a little off topic, but it's driving me crazy.

 I recently upgraded to Mandrake 9.0 from 8.2 and had a mysterious
 crash and wasn't able to recover or salvage anything.  I decided to
 start over from scratch and just downloaded Netscape 7.0.  I also
 require Java and downloaded the latest version, 1.4.1.

 I extracted the java files and set up the KDE control
 center/Netscape plugin utility to find the new plugin, which it
 did.  The problem is that Netscape doesn't load the new java
 plugin.  Did I miss a step?

   Yeah, too many steps. Nutscrape was the first mistake ;
 'rpm -Uvh j2re-1.4.1_01-5mdk'  rpm makes java available globally to 
all apps (browsers too). You do nothin, and can't screw it up ;)

 It's available from the Club, or maybe from /unsupported mirrors.
-- 
Tom Brinkman  Corpus Christi, Texas


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



  1   2   3   >