Re: New to Linux

From: hiwa (HGA03630_at_nifty.ne.jp)
Date: 01/27/04


Date: 26 Jan 2004 17:20:03 -0800

Jhuola Hoptire <JH@nothere.com> wrote in message news:<p3eRb.46425$mU6.175355@newsb.telia.net>...
> Just installed J2RE 1.4.2 on a Linux server. I am very
> knew to the POSIX world.
Install J2SE, not J2RE which is a runtime for exising Java
applications.

>
> I couldn't dig-up much in the docs or via google about
> the following:
>
> 1 - Is there a standard way to make sure users (all, or
> some) can "reach" java? eg one could presumably create
> a java.sh or aliases ... Where is the standard Linux
> directory to put such a script (and why)?
> In Win32 this is not an issue as a copy of java.exe is put
> in a system folder and that folder is in everybody's path
> (via the global system path) - not an elegant solution,
> but it works.
Put java.sh on any directory. Then do cd to the directory and
run command:

./java.sh

After the install is finished, set PATH and CLASSPATH in the
.bash_profile file appropriately:

export JAVA_HOME=your-installed-directory
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=$CLASSPATH:.
# .(dot) is current directory

>
>
> 2 - When developing, where should the project resources,
> (ie java source code, design docs etc...) go on Linux
> machines? This is not really a java specific question
> (ie NOT about how to arrange source code in package
> structure etc... which IMHO is the right way to do it),
> but more about how to use the Linux file systems,
> directory structure and file organisation for single
> user and/or shared development projects.
You decide them all. For example, make learning_java directory
under your $HOME and do everything in it.

>
> 3 - Does anyone have links for any resources aimed at
> experienced java folk who are new to developing/running
> java on Linux and Unix (coming from Win32 or other)?
No difference Java per se betw Win and Lin. For the system
environment, amass your own experience. There are many good
docs and books for Linux out there.

>
> 4 - What's the best way to download the latest Linux
> java distros from Sun if there is no GUI running (and
> no browser) on your plain Linux server? Sun has stopped
> offering ftp downloads.
Use GNU wget command, or w3m program. There are many such programs
on Linux. Do

wget --help
or,
man wget

>
> BTW, does anybody have any experience of, or know how
> the 1.4.2 VM performs on identical Win32 vs Linux PCs?
Linux is faster and stable, less problematic as a server environment
than Windows. Java GUI implementaion is slightly
better on Windows than on Linux.



Relevant Pages

  • Re: Future of IT in Lebanon
    ... working knowledge of Indian programmers DNA, nor of their intuitive Java ... > So Longhorn is not an experiment and Linux is an experiment? ... another chapter in the Windows story, and the Microsoft marketing machine is ... > application opens, Check the about, it says Microsoft Visual Basic 6.3. ...
    (soc.culture.lebanon)
  • Re: OT: Linux builds
    ... But for now is there a good linux build for a relative technotard living in a windows based world. ... install the Gnome desktop or KDE 3.5.9.5 rather than KDE 4. ... Java 1.6 for 64-bit does not support javaws, and Java 1.7 IcedTea is still "preproduction" in Sun's definition and will not work with all Java that is out there. ...
    (alt.smokers.pipes)
  • Pfew! I am glad .NET exists... confessions of a MS immigrant.
    ... I used to be a die hard Linux ... When WinXP Professional came out using Windows became more fun but that is ... Java. ... it standalone (rather than within the IDE) then hell breaks lose. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: OT: Spiegel-Online bei Heise
    ... Aber, wie schon gesagt, so simpel ist die Hardware heute ja nicht mehr, daß es mal eben mit ein paar inb/outb-Befehlen getan ist. ... Java ist in gewissen Bereichen etabliert, ... Wer Word/Excel/Powerpoint haben will, braucht Windows. ... und ein Linux für DSP von Freescale ...
    (de.comp.os.unix.linux.misc)
  • Re: Help me!! Why java is so popular
    ... AIX and Linux currently for Java, C++, C and Perl development. ... The DARK BOWELS of documentation. ... Than you have a full source code of every single ...
    (comp.lang.java.programmer)