-2

Good Day, I have a problem executing Java Application on OpenVMS. I have this app.exe (for Windows) and app.sh (for Linux).

Can you help me how to run this on OpenVMS Terminal?

ChocoMartin
  • 111
  • 1
  • 3
  • 12

1 Answers1

0

Hmmm, neither an app.exe (for Windows) or app.sh (for Linux) are Java apps. They may contain activation code for a Java app. For OpenVMS (just like any other platform) you activate a Java app by invoking the runtime system for example with a command like - $ JAVAC -CLASSPATH <...stuff.jar...> javasscriptsource.JAVA or $ JAR

Now for longer, more complex command lines you may well capture those in a helper DCL script which would typically be a ".COM" file.

Please Google "Java on OpenVMS" for some hints and a pointer to a useful book: https://www.theminimumyouneedtoknow.com/java_book.html

E_net4
  • 27,810
  • 13
  • 101
  • 139
Hein
  • 1,453
  • 8
  • 8
  • so @app.exe or app.sh will not work? can you help me with sample command on how to run? – ChocoMartin Oct 20 '21 at 03:57
  • Open up that SH file and see what it does. It seems you are not the correct person to be tasked to get this going, escalate to management. – Hein Oct 20 '21 at 19:14
  • Check out your shell and how to log the executed commands and their arguments. For bash it is -x. Then you will see the full java command, which you need to use/translate on/for VMS. FWIW, JAVAC invokes the java compiler. You very likely don't need it. And even if, you probably do not want to compile a "scriptsource". On VMS just run JAVA and you will see the possible arguments. – user2116290 Oct 24 '21 at 19:07