Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 09:09:52 +0200
From:      Ertan Kucukoglu <ertank@ozlerplastik.com>
To:        freebsd-questions@freebsd.org
Subject:   Problmes with jdk
Message-ID:  <389140C0.FE687AE2@ozlerplastik.com>

next in thread | raw e-mail | index | archive | help
Hello,

I try to use the IBM's Host On Demand (HOD) prog. With that program I
can connect to my AS/400 with my browser over internet. (If I manage to
run it).

Now, I have FreeBSD 3.3. I downloaded jdk package for 3.3 release, setup
it to the default place /usr/local/jdk1.1.8.

I have to run a script called NCServiceManager-UNIX to use HOD. (Below
you can find that script). That script runs java with some parameters as
I see. Problem starts here. Script gives the error message and HOD
doen't run. Error message is:
-----
bash-2.03# ./NCServiceManager-UNIX 
bash-2.03# Unable to initialize threads: cannot find class
java/lang/Thread
-----

The NCServerManager-UNIX script is as follows:
-----
bash-2.03# cat NCServiceManager-UNIX
#!/bin/sh

###############################################################################
#  Example NC Service Manager shell script
#   Note:  This script requires the shell environment to be properly
configured
#          before execution.  The java CLASSPATH environment variable
should
#          point to your java installation.
#          (ex. CLASSPATH=/usr/local/java/J1.1.1/lib/classes.zip;
#               export CLASSPATH)
#          The PATH environment variable should point to your java
#          installation's bin directory.
#          (ex. PATH=$PATH:/usr/local/java/J1.1.1/bin; export PATH)
###############################################################################

###############################################################################
#  Change this directory to the hostondemand/lib directory of your
installation
###############################################################################
cd /home/ertank/hod/hostondemand/lib

CLASSPATH=/usr/local/jdk1.1.8/lib/classes.zip:sm.zip:ibmjndi.jar:jndi.jar:jsdk.jar:ods.jar:.:$CLASSPATH;
export CLASSPATH
PATH=$PATH:/usr/local/jdk1.1.8/bin/; export PATH

###############################################################################
#  Change this directory to the hostondemand directory of your
installation
###############################################################################
java com.ibm.eNetwork.HODUtil.services.admin.NCServiceManager
/usr/ertank/hod/hostondemand &
bash-2.03# 
-----

In that script I just changed 
1) cd /home/ertank/hod/hostondemand/lib path, 
2) added /usr/local/jdk1.1.8/lib/classes.zip in CLASSPATH environment, 
3) added /usr/local/jdk1.1.8/bin/ in PATH environment,
4) added /usr/ertank/hod/hostondemand & to the java command line.

I do not have any java knowledge at all. I don't know what or where to
look so, I wanted to ask to the list.

Regards,

-- 
Ertan Kucukoglu
ertank@ozlerplastik.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?389140C0.FE687AE2>