The J2EE sdk is not necessary, and probably should be removed.  It is
the reference implementation of a J2EE server.  You will be using Orion
instead.

Why aren't you using the 1.3 jdk?

Put the postgres jdbc driver in the orion/lib directory.

That should work :-)

Jeff

>-----Original Message-----
>From: Peter Peltonen [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 23, 2001 4:27 AM
>To: Orion-Interest
>Subject: CLASSPATH setup
>
>
>
>I'm a beginner with Orion and Java setup with Linux. I would 
>like to know if I
>have setup my system correctly.
>
>I have installed the following on my RedHat 6.2 system:
>
>postgresql-jdbc-7.0.2-2
>jdk-1.2.2
>j2sdkee-1.2.1
>orion-1.4.5
>
>For everything work right, I should have the CLASSPATH 
>variable setup right,
>yes? I am a bit confused where to setup it, actually.
>
>
>Java 2 SDK Enterprise Edition
>-----------------------------
>
>Reading the j2sdkee-1.2.1 installation instructions  I added 
>the postgres
>jdbc-driver to the J2EE_CLASSPATH variable in
>/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:
>
>--snip--
>J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sd
>kee1.2.1/lib/system/jdbc7.0-1.2.jar
>export J2EE_CLASSPATH
>--snip--
>
>I tried running the userconfig.sh script but nothing seems to 
>happen. My
>J2EE_CLASSPATH variable did not appear to be existing when I 
>ran echo. So,
>when is this file read, then? 
>
>And what does this warning mean (quoted from the installation 
>instructions):
>
>"Note: You should remove the driver .jar files from the 
>CLASSPATH environment
>variable."
>
>So, what is the relation with J2EE_CLASSPATH and CLASSPATH?
>
>In my setup (see below) J2EE_CLASSPATH is included in 
>CLASSPATH, is this
>wrong?
>
>
>
>/etc/profile
>------------
>
>As running usreconfig.sh did nothing, I configured the 
>variables I needed in
>/etc/profile. In my /etc/profile reads:
>
>--snip--
>JAVA_HOME=/usr/local/java/jdk1.2.2
>J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
>CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH
>
>export JAVA_HOME J2EE_CLASSPATH CLASSPATH
>--snip--
>
>So, my current setup is this:
>
>[peter@cayman orion]$ echo $CLASSPATH
>/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7
>.0-1.2.jar
>
>[peter@cayman orion]$ echo $JAVA_HOME
>/usr/local/java/jdk1.2.2
>
>[peter@cayman orion]$ echo $J2EE_CLASSPATH
>/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
>
>
>Is this alright? Am I missing something etc.?
>
>
>Regards,
>Peter
>
>

Reply via email to