Re: New to Linux
From: hiwa (HGA03630_at_nifty.ne.jp)
Date: 01/27/04
- Next message: hiwa: "Re: Custom event without EventObject class"
- Previous message: Julian V. Noble: "Re: Programming languages for the very young"
- In reply to: Jhuola Hoptire: "New to Linux"
- Next in thread: Jhuola Hoptire: "Re: New to Linux"
- Reply: Jhuola Hoptire: "Re: New to Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: hiwa: "Re: Custom event without EventObject class"
- Previous message: Julian V. Noble: "Re: Programming languages for the very young"
- In reply to: Jhuola Hoptire: "New to Linux"
- Next in thread: Jhuola Hoptire: "Re: New to Linux"
- Reply: Jhuola Hoptire: "Re: New to Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|