Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to create Jintegra JVM object on Windows XP 1

Status
Not open for further replies.

sphani

Programmer
Jul 9, 2002
3
US
Hi all,
I am getting an error dialogue while starting ETD wizard using ETD editor. I am having Window XP. The error says
"Unable to obtain a moniker for the new JVM. Unable to create JIntegra JVM object". Can anyone has answer?
Thanks
Sesha
 
Ugh! It turned out to be simple. According to SeeBeyond you get this error if you have not assigned a delimiter in the ETD builder. Just by going to Edit/Delimiters and add an End Delimiter and the problem goes away for JIntegra. I could just 'scream' at SeeBeyond for the lost hours on that problem.
 
I believe I may have seen this error when certain (not all) ETD's did not have a delimiter level included. I did not record the exact error at the time and did not investigate once I solved the problem. I have been getting this error recently however and it was not related to missing delimiters. In fact I was able to remove the delimiters for the ETD and compile it successfully.

The error appeared to be due to the java environment pointed to in the classpath being different from the current java environment stored in registry. To verify this is a problem I ran “java” at the command line and found the error “Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.4', but '1.3' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.”

This appeared to be because the system classpath was not consistent with the current jdk version stated in the registry.

I changed the registry key “Software\JavaSoft\Java Runtime Environment\CurrentVersion” under My Computer\HKEY_LOCAL_MACHINE to the value "1.3". I was then able to run “java” from the command line without error. However without exiting the e*Gate Enterprise Manager I still received the same error when I tried to compile an ETD. When I did exit the Enterprise Manager then stopped and started the JINTEGRA service the error then disappeared.
 
Clarification of my earlier post in which I stated "I have been getting this error recently however and it was not related to missing delimiters. In fact I was able to remove the delimiters for the ETD and compile it successfully."

What I meant was that once the error was fixed the particular ETD compiled without any delimiters. I also encountered problems with compilation of collaborations before this problem was fixed. The problems compiling collaborations went away.
 
More info. Its the PATH variable that determines which java environment is invoked. On windows type "echo %PATH%" to view your PATH. The first java environment in your path will be invoked. The CLASSPATH environment variable will be used for loading classes required by the java program unless it is overridden. PATH, CLASSPATH, and CurrentVersion in the registry should be consistent.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top