f



No more console installation on Linux with j2sdk 1.4.2?

Hi group,

I've just downloaded the most recent j2sdk
(j2sdk-1_4_2-nb-3_5_1-bin-linux.bin) and was a little surprised that it
seems to be only available with NetBeans (which I do not use) and that
the installation fails with the message: The installer is unable to run
in graphical mode. Try running the installer with the -console or
-silent flag.

In the installation instructions, it's said that "-console" and
"-silent" are not actually supported (and indeed, it fails after the
first screen) and that one has to make it work with X. But I do not use
X on a server, so that's big BS.

Is there an installer for Linux that works with the console alone
available somewhere or does Sun take Java to the desktop with force now
(and way from the server)???

regards,
david
-- 
Auch das geht vor�ber. (Sufi-Weisheit)

Holger (David) Wagner       Tel: +49 (89) 890 50 962
Dewetstrasse 1            Mobil: +49 (177) 274 12 45
D-80807 M�nchen             Fax: +49 (177) 992741245

0
david4942 (2)
11/3/2003 10:57:41 AM
comp.lang.java.programmer 52714 articles. 1 followers. Post Follow

5 Replies
396 Views

Similar Articles

[PageSpeed] 38

"Holger (David) Wagner" <david@purple-sunshine.de> wrote in news:bo5cda$3n
$1@svr7.m-online.net:

> Hi group,
> 
> I've just downloaded the most recent j2sdk
> (j2sdk-1_4_2-nb-3_5_1-bin-linux.bin) and was a little surprised that it
> seems to be only available with NetBeans (which I do not use) and that
> the installation fails with the message: The installer is unable to run
> in graphical mode. Try running the installer with the -console or
> -silent flag.
> 
> In the installation instructions, it's said that "-console" and
> "-silent" are not actually supported (and indeed, it fails after the
> first screen) and that one has to make it work with X. But I do not use
> X on a server, so that's big BS.
> 
> Is there an installer for Linux that works with the console alone
> available somewhere or does Sun take Java to the desktop with force now
> (and way from the server)???
> 

http://java.sun.com/j2se/1.4.2/download.html
0
steve9385 (208)
11/3/2003 9:20:27 PM
Holger (David) Wagner wrote:
> Hi group,
> 
> I've just downloaded the most recent j2sdk
> (j2sdk-1_4_2-nb-3_5_1-bin-linux.bin) and was a little surprised that it
> seems to be only available with NetBeans (which I do not use) and that
> the installation fails with the message: The installer is unable to run
> in graphical mode. Try running the installer with the -console or
> -silent flag.

You just have to look more carefully at the download page. It is
indeed possible to download J2SDK sans NetBeans.

> In the installation instructions, it's said that "-console" and
> "-silent" are not actually supported (and indeed, it fails after the
> first screen) and that one has to make it work with X. But I do not use
> X on a server, so that's big BS.

Since you're apparently using a different machine to login to the
server, check out the DISPLAY environment variable. If I'm on
machine 192.168.0.2 and my server is 192.168.0.1, I just type
DISPLAY=192.168.0.2:0
export DISPLAY
Then when X tries to open a window it will attempt to do so on
the 192.168.0.2 machine. You might also need to type
xhost +102.168.0.1
on your machine to allow the connection.

> Is there an installer for Linux that works with the console alone
> available somewhere or does Sun take Java to the desktop with force now
> (and way from the server)???
> 
> regards,
> david

0
bitbucket44 (1435)
11/3/2003 9:27:38 PM
Holger (David) Wagner wrote:
> Hi group,
> 
> I've just downloaded the most recent j2sdk
> (j2sdk-1_4_2-nb-3_5_1-bin-linux.bin) and was a little surprised that it
> seems to be only available with NetBeans (which I do not use) and that
> the installation fails with the message: The installer is unable to run
> in graphical mode. Try running the installer with the -console or
> -silent flag.
> 
> In the installation instructions, it's said that "-console" and
> "-silent" are not actually supported (and indeed, it fails after the
> first screen) and that one has to make it work with X. But I do not use
> X on a server, so that's big BS.
> 
> Is there an installer for Linux that works with the console alone
> available somewhere or does Sun take Java to the desktop with force now
> (and way from the server)???
> 
> regards,
> david

That's the co-bundle, including NetBeans. NetBeans isn't much use without an 
X server.

Try downloading the SDK only. There's a download which extracts directly, or 
one containing an RPM.


-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

0
nmw (873)
11/4/2003 10:47:02 AM
Steve wrote:

> "Holger (David) Wagner" <david@purple-sunshine.de> wrote in news:bo5cda$3n
> $1@svr7.m-online.net:
[...]
>>Is there an installer for Linux that works with the console alone
>>available somewhere or does Sun take Java to the desktop with force now
>>(and way from the server)???
> 
> http://java.sun.com/j2se/1.4.2/download.html

Ooops - I've overlooked the standard J2SE download 1.4.2_02 below the
cobundle download. Thought it was an old version... sorry!

regards,
david
-- 
Auch das geht vor�ber. (Sufi-Weisheit)

Holger (David) Wagner       Tel: +49 (89) 890 50 962
Dewetstrasse 1            Mobil: +49 (177) 274 12 45
D-80807 M�nchen             Fax: +49 (177) 992741245

0
david4942 (2)
11/4/2003 2:33:05 PM
"Holger (David) Wagner" <david@purple-sunshine.de> wrote in
news:bo8dcd$o8c$1@svr7.m-online.net: 

> Steve wrote:
> 
>> "Holger (David) Wagner" <david@purple-sunshine.de> wrote in
>> news:bo5cda$3n $1@svr7.m-online.net:
> [...]
>>>Is there an installer for Linux that works with the console alone
>>>available somewhere or does Sun take Java to the desktop with force
>>>now (and way from the server)???
>> 
>> http://java.sun.com/j2se/1.4.2/download.html
> 
> Ooops - I've overlooked the standard J2SE download 1.4.2_02 below the
> cobundle download. Thought it was an old version... sorry!
> 
LOL; supected as much but didn't want to assume. You are not the first and 
certainly will not be the last (me included) to not read the screen


0
steve9385 (208)
11/5/2003 12:30:35 AM
Reply: