Novell Home

Running RConsoleJ on Linux

Novell Cool Solutions: Tip
By Eric Duncan

Digg This - Slashdot This

Posted: 7 May 2002
 

Wouldn't it be nice to administer your Novell network without any Windows workstations? (OK, my dream maybe!) Novell has done a great job of porting ConsoleOne to the Linux and Solaris platforms, but RCONJ was never ported; it always required a Windows .exe to launch....Until now!

I looked inside the rconj.exe program to see what it was doing and made a Linux shell script that accomplishes the same thing. You can either copy the /public/ConsoleOne/1.2 directory to your local Linux filesystem, or, better yet, just export the public directory via NFS and get to the ConsoleOne directory that way.

Here's my Linux shell script that accomplishes this:

#!/bin/sh
export JAVA_HOME=/opt/IBM_Java2-13/
java -cp
/NW6/public/mgmt/ConsoleOne/1.2/lib/slp-sp.zip:
/NW6/public/mgmt/ConsoleOne/1.2/ConsoleOneExt/nssl1.2_exp.jar:
/NW6/public/mgmt/ConsoleOne/1.2/lib/slp-sp.zip:
/NW6/public/mgmt/ConsoleOne/1.2/resources/rconsolej_resources.jar:
/NW6/public/mgmt/ConsoleOne/1.2/lib/rconsolej.jar:
/NW6/public/mgmt/ConsoleOne/1.2/jre/1.1/lib/rt.jar:
/NW6/public/mgmt/ConsoleOne/1.2/jre/1.1/lib/Help.jar:
/NW6/mgmt/ConsoleOne/1.2/jre/1.1/lib/swing.jar:
/NW6/public/mgmt/ConsoleOne/1.2/jre/1.1/lib/jgl3.1.0.jar:
/NW6/public/mgmt/ConsoleOne/1.2/jre/1.1/lib/njcl.jar:
/NW6/public/mgmt/ConsoleOne/1.2/jre/1.1/lib/jndi.jar
com.novell.application.securerconsolej.RConsoleJApplication

Editors Note: We added line breaks in this code so it would fit on our page. We're pretty sure it will run better if you straighten everything out (into one line) before you give it a try.

If you have questions for Eric, you can reach him at eduncan@datatechnique.com


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell