cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Arbortext 5.4 and Java 7 issues

rmcgarvey
1-Newbie

Arbortext 5.4 and Java 7 issues

Hello all,

Are there Java / Arbortext configuration updates required in order to run Arbortext 5.4 with Java 7? After doing an upgrade from Java 6.30 to 7.5 I’m getting the follow errors starting up Arbortext 5.4.

“Internal error: dl_load failed for C:\Program Files\Java\jre7\bin\client\jvm.dll”

That error is followed by:
“[A12281] Cannot create a Java virtual machine from “C:\Program Files\Java\jre7\bin\client\jvm.dll (-1).”





Will Arbortext 5.4 run with Java 7? If so, how?

Thanks!
>> Randy

--
Randy McGarvey
Operations Software Architect
General Code ♦ 800-836-8834



4 REPLIES 4

This happened with one of our users (Using Arbortext 6), and at the time,
to get it up and running, I set a custom VM path in an acl script in
custom/init

eg: set javavmpath="C:\Program Files\Java\jre6\bin\client\jvm.dll"

This did the trick for that user, but since we use server-side custom.zip
deployment, this will fail the next time we put out a patch. I haven't
gotten to figuring out a solution yet... so I'm curious to what others have
to say. It might be something as simple as setting the JAVA_HOME or
CLASSPATH environment variables, but I haven't been able to test that yet.

- keith

On Tue, Jul 10, 2012 at 3:35 PM, Randy McGarvey
<rmcgarvey@generalcode.com>wrote:

> Hello all,
>
> Are there Java / Arbortext configuration updates required in order to run
> Arbortext 5.4 with Java 7? After doing an upgrade from Java 6.30 to 7.5
> I’m getting the follow errors starting up Arbortext 5.4.
>
> “Internal error: dl_load failed for C:\Program
> Files\Java\jre7\bin\client\jvm.dll”
>
> That error is followed by:
> “[A12281] Cannot create a Java virtual machine from “C:\Program
> Files\Java\jre7\bin\client\jvm.dll (-1).”
>
>
>
> Will Arbortext 5.4 run with Java 7? If so, how?
>
> Thanks!
> >> Randy
>
> --
> *Randy McGarvey*
> Operations Software Architect
> General Code ♦ 800-836-8834
>
>
>
>

What version of Windows are you running, and is it 32 or 64 bit?

Arbortext 5.4 is a 32-bit application so you’ll need a 32-bit JRE to go with it. Perhaps your Java upgrade was a 64-bit version. A 32-bit JRE should be in Program Files (x86) on a 64-bit Windows system.

David

David S. Taylor

Project Manager, Production and Marketing
Codes and Evaluations | NRC Construction Portfolio
National Research Council Canada
Building M-23A, Room 239 | 1200 Montreal Road | Ottawa, ON | K1A 0R6
Telephone: +1.613.990.2731 | Fax: +1.613.952.4040
David.S.Taylor@nrc-cnrc.gc.ca<">mailto:David.S.Taylor@nrc-cnrc.gc.ca>


Thanks, Keith. So you ran into this with Java 6 and Arbortext 6? We’re already using the APTCLASSPATH for customizations. What are you thinking regarding the CLASSPATH variable?

Setting JAVA_HOME and the custom/init acl script to set the Javavmpath didn’t make a difference with these systems with JRE7 installed. (I popped up a message to make sure the script was being called successfully.) We are also using the deployment kit, so if Java is not installed when Arbortext is installed, then Java 1.6.0_26 is embedded in the Program Files\PTC\ folder structure. As soon as I install Java 1.7 the errors start popping up.

Looking further into this area, I found that if Java is not installed before Arbortext, then the embedded JRE is included and later versions of Java can be installed without conflict. This seems like a clumsy solution. Does anyone know whether the deployment kit can be configured to force the Java install to be included all the time?

This is occurring on both Windows XP and Windows 7 (32-bit).

Thanks!
>> Randy

I would be interested to hear PTC’s advice on this matter – we haven’t come across this yet but it sounds like an important gotcha.

-G
Announcements

Top Tags