web photo gallery builders in Gnome?

Timothy A. Holmes tholmes at mcaschool.net
Fri Oct 28 20:18:12 UTC 2005

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Dan Martin
Sent: Friday, October 28, 2005 3:26 PM
To: 'Ubuntu Help and User Discussions'
Subject: RE: web photo gallery builders in Gnome?

> Thanks so much for your help -- that solved it, and Jalbum is 
> now installing.
> Could you please explain what I just did?  I have seen the 
> export command, but I don't think that I have ever used it before

A great question to ask.  It's easy to type what you are told, but to
experience, you must understand what you are typing.

export is a command to set environment variables.  If you type "set" you
will see a list of all your current environment variables and their

So lets go through this:

   export JAVA_HOME=/usr/lib/j2sdk1.5-sun/

This set the JAVA_HOME, which is used by the JVM and many Java

   export PATH=/usr/lib/j2sdk1.5-sun/bin:$PATH

$PATH represents the current value of PATH.  You can see for youself if
type "echo $PATH".  So the command I had you type prepended
"/usr/lib/j2sdk1.5-sun/bin" to your current PATH setting.

Before setting the path, when you typed "java", the "java" command at
/usr/bin/java was found (which is the Gnu Classpath java).  After
the PATH, the "java" at /usr/lib/j2sdk1.5-sun/bin/java is found (which
Sun java).

Hope that clears it up.


ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
[Timothy A. Holmes] 

It does clear things up greatly -- my next question is, how would I go
about setting those variables permanently -- It appears to me that the
export command sets those temporarily for that session? Or is it
necessary for those to be set permanently?


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
Medina Christian Academy
A Higher Standard...
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14

More information about the ubuntu-users mailing list