Skip to main content

Error Executing AcuXUI 8.1 with Java 1.5

  • February 15, 2013
  • 0 replies
  • 0 views

Dominique Sacre
Forum|alt.badge.img+2

Error Executing AcuXUI 8.1 with Java 1.5

This article describes what to do when you receive an error while attempting to execute AcuXUI Version 8.1 with Java Version 1.5.

Problem:

When executing AcuXUI Version 8.1 with Java Version 1.5, you will encounter the following errors:

C:\\test>"c:\\Program Files\\Acucorp\\Acucbl810"\\acugt\\bin\\acuxui
Please enter the runtime command-line options that you want to use (e.g., -d -c cblconfig -l -e errorfile):



Please enter the object file and path (e.g., V:\\Dev\\Source\\program1.acu):
test.acu
java com.acucorp.acuxui.AcuXUI --acucobolgt "C:\\Program Files\\Acucorp\\Acucbl810\\AcuGT\\wrun32.exe" test.acu
java.io.IOException: CreateProcess: wrun32.exe --java-host:52742 test.acu error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.acucorp.client.Connection.(Connection.java:130)
at com.acucorp.acuxui.AcuXUIService.run(AcuXUIService.java:2758)
at com.acucorp.acuxui.AcuXUI.main(AcuXUI.java:366)

displayed in the command prompt that started AcuXUI and the following graphical error display:

Resolution:

Install Java Version 1.6, and ensure that thenecessary environment variables point to that Java installation. Asan example:

JAVA_HOME=C:\\Program Files\\Java\\jre1.6.0_07
PATH= C:\\Program Files\\Java\\jre1.6.0_07\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program
Files\\Acucorp\\Acucbl810\\AcuGT\\bin
JAVA=C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip
Audience: Filename: Author: Created on:
Old KB# 5165