Skip to main content
1-Visitor
January 15, 2018
Question

Creo 3.0 JLink Issue

  • January 15, 2018
  • 2 replies
  • 4314 views

HI,

I have java application which is currently working in Creo 2.0. Yesterday we had installed Creo 3.0 and checked the application but it is throwing the below error:

Can not read params from db java.lang.SecurityException: Prohibited package name: java.util

 

I am using the below java version:

C:\>java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode, sharing)

 

Thanks,

Dhimant

2 replies

17-Peridot
January 18, 2018

Hello @dbhensdadia

 

Check installation of default JRE in Creo 2 and Creo 3

JRE is installed at <Load point>\$PRO_MACHINE_TYPE\obj\JRE\

 

Check in config.pro option jlink_java_command. If you have this option, than Creo using external JRE. Try to comment this option.

1-Visitor
January 23, 2018

This error is gone now I am getting the error while registering the jlink application.

 

Actually I have the existing jar file which is running fine without any error.

 

When I tried to rebuild the code inside the net beans and then if I am trying to use the update jar files I am getting the error: Startup of application "xxxx" failed.

 

I don't know why because the other old binary is running fine but updated one not.

 

Can you suggest me why it is so?

 

Thanks,

Dhimant

 

17-Peridot
January 24, 2018

@dbhensdadia When you rebuild the code inside the net beans, ensure in NetBeans setting that you use JDK the same or lower then JRE. Look at next message in this theme.

1-Visitor
January 23, 2018

will creo work with java 9?

17-Peridot
January 24, 2018

Hi @rmcboaty

 

Creo 3:

JDK 1.7.0_25

JRE 1.7.0_25 (on media)

JRE 1.8.0_40

 

Creo 4:

JDK 1.8

JRE 1.8