I am having a lot of trouble getting NetRexx to work on my Linux system.
Where and how do I set the classpath? Is there anyother thing I should be looking at? TIA Bruce ---------------------------------- E-Mail: Bruce E. Harris <[hidden email]> Date: 01-Feb-98 Time: 11:44:12 This message was sent by XFMail ---------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
> Bruce E. Harris ([hidden email]) wrote:
> > I am having a lot of trouble getting NetRexx to work on my Linux > system. > Where and how do I set the classpath? Is there anyother thing I should > be > looking at? > Try this (assuming you use ksh or bash): CLASSPATH=.:/directory/with/NetRexxC/in/it/NetRexxC.zip export CLASSPATH java -ms4M COM.ibm.netrexx.process.NetRexxC Spectrum If that doesn't compile Spectrum.nrx, then report what's going wrong. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
-----BEGIN PGP SIGNED MESSAGE-----
Hi, I am still having no luck getting NetRexx to work with Linux. I seem to have Java working OK (Hotjava works just fine). I have my classpath only refed in my /etc/profile Additional comments are below: On 02-Feb-98 Patrick McPhee wrote: >> Bruce E. Harris ([hidden email]) wrote: >> >> I am having a lot of trouble getting NetRexx to work on my Linux >> system. >> Where and how do I set the classpath? Is there anyother thing I should >> be >> looking at? >> > Try this (assuming you use ksh or bash): > CLASSPATH=.:/directory/with/NetRexxC/in/it/NetRexxC.zip > export CLASSPATH > > java -ms4M COM.ibm.netrexx.process.NetRexxC Spectrum > > If that doesn't compile Spectrum.nrx, then report what's going wrong. Tried this and got "Can't find class" error I also tried the following loged in as root: java COM.ibm.netrexx.process.NetRexxC hello After a long delay got "java.lang.NoClassDefFoundError When I tried that under my usual log on I got: +++ Error: Cannot find file 'hello.nrx' Compilation of 'hello' falied [one error] I am using bash as my shell and have the following in my /etc/profile # /etc/profile # System wide environment and startup programs # Functions and aliases go in $HOME/.bashrc PATH="/bin:/usr/bin:/opt/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/TeX/bin:/usr/l ocal/bin:/opt/kde/bin:/usr/mh/bin:/usr/local/bi n/exmh:/usr/local/jdk1.1.3/bin" umask 022 # Java Stuff export JAVA_HOME=/usr/local/jdk1.1.3 export JDK_HOME=/usr/local/jdk1.1.3 CLASSPATH=.:/usr/local/jdk1.1.3/lib/NetRexxC.zip:/usr/local/jdk1.1.3/lib/classes .zip export CLASSPATH # KDEDIR=/opt/kde/bin export PATH="${PATH}:opt/kde/bin" export KDEDIR=/opt/kde if [ `id -gn` = `id -un` ] && [ `id -u` != 0 ]; then umask 002 fi if [ -z "$UID" ]; then UID=`id -u` fi if [ "$UID" = 0 ]; then PATH=/sbin:/usr/sbin:$PATH else PATH=$PATH: fi USER=`id -un` LOGNAME=$USER export PATH USER LOGNAME HOSTNAME=`/bin/hostname` MAIL="/var/spool/mail/$USER" export HOSTNAME MAIL if [ -n "$BASH_VERSION" ]; then # (aliases now in $HOME/.bashrc, resp. /etc/skel/.bashrc) export PS1="[\u@\h \W]\\$ " export HISTSIZE=100 fi - --------------------------------------- E-Mail: Bruce E. Harris <[hidden email]> Date: 26-Mar-98 Time: 06:07:13 My PGP key can be found on my homepage: http://www.mindspring.com/~beharri "Nakanunara koroshite shimae hototogisu" Oda Nabunaga - ---------------------------------- -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQCVAwUBNRo5q8vqDBdjKjTRAQHUPwP8CuWA65oujrKHTjhfuS2jmcaPyzbfPOrl YbljNbISpXjh5eKHZfd/REprFslaTg6uRXkjtiRDJ27vIjmVcezNuvcAcsWjLtIm DlOC3P/6XggWNa57g2NRUERYFrTUGXAzuzNjsOWxBorB/ajYDXmHnBPocLcir6cn vWWvFFZgHkQ= =N7Az -----END PGP SIGNATURE----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
Free forum by Nabble | Edit this page |