Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Java Command line interface disabled

 
Brian A.
Occasional Contributor

Java Command line interface disabled

I have installed Java 150 on VMS 7.3-2 and when I try any command for java (java version, etc) I receive the following error:

The DCL command line interface has been disabled for this release.

Does anyone have any idea how to make it work? Is there a way to enable the command line interface?

thanks...
4 REPLIES
John Gillings
Honored Contributor

Re: Java Command line interface disabled

Brian,

Have you executed the appropriate setup procedure? Something like:

$ @SYS$COMMON:[JAVA$15x.COM]JAVA$15x_SETUP.COM

(where "x" varies depending on your exact version). There's also JAVA$CONFIG_WIZARD.COM and JAVA$CHECK_ENVIRONMENT.COM in the same directory.

If you've successfully configured your process, and you still get an error, please post a transcript showing the EXACT and COMPLETE command you typed, and any resulting output (again, EXACT and COMPLETE).
A crucible of informative mistakes
Brian A.
Occasional Contributor

Re: Java Command line interface disabled

Thanks for the response, I had/have done the Java$config_wizard.com, the java$150_setup.com (using no parameters and also specifying parameters (classic process symbols)), and the Java$check_environment.com with no errors.
After executing the command files, I simply type

$java

and receive the followin message:

The DCL command line interface has been disabled for this release.

I receive the same results if I do

$java version
$java -h
$java help

Thanks for your help
Duncan Morris
Honored Contributor

Re: Java Command line interface disabled

Brian,

first of all, welcome to the itrc OpenVMS forum!

Your problem sounds suspiciously like a symbol conflict. I wonder if you have a local symbol defined?

try $SHOW SYMBOL JAVA and check the result.
On my local system I see:-

XXXX02> sh sym java
JAVA == "$ WEBAPPS:[000000.JAVA$150.bin]java$java "

XXXX02> @sys$startup:java$150_setup fast
XXXX02> java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition
Fast VM (build 1.5.0-3, build J2SDK.v.1.5.0:03/01/2007-21:16, native threads, jit_150)


Duncan
Brian A.
Occasional Contributor

Re: Java Command line interface disabled

Well, I believe I have found the answer myself. Sorry to take everyone's time, but thanks for the help. I found that one of my old sysadmins had defined the logical java$use_dcl to 1. I deassigned the logical and java appears to be working now.

thanks again for the help,

Brian