Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
ALeifer15
Contributor II

WARNING: An illegal reflective access operation has occurred

Getting this warning each time I try to run a subjob, it runs anyway but how do I fix this?

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.talend.components.api.component.runtime.JarRuntimeInfo (file:/Applications/TOSDI-7.3.1/studio/configuration/.m2/repository/org/talend/components/components-api/0.28.2/components-api-0.28.2.jar) to field java.net.URL.factory

WARNING: Please consider reporting this to the maintainers of org.talend.components.api.component.runtime.JarRuntimeInfo

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

Stats:

MacOS Big Sur 11.5.1

Talend 7.3.1

Java - Running JDK8 but also have 11 installed

any other stats needed?

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello,

What happens when you type .....

java -version

...in your terminal window?

 

Please try to to specified -vm to point to java executable path in Talend-Studio-macosx-cocoa.ini like:

-vm

/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java

or

Add Java path to Info.plist inside Talend-Studio-macosx-cocoa/Contents like:

<string>-vm</string><string>/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java</string>

Feel free to let us know if it helps.

Best regards

Sabrina

View solution in original post

5 Replies
Anonymous
Not applicable

Hello,

It appears like this is a known warning with Open Zulu JDK11 regarding the Reflection packages in Java. Reflection, among other things, lets you access every detail of an object even if the developer doesn’t want you to. This warning is telling you that this is a feature that might be restricted (or not available) in the future. This typically will not prevent the Job from running or completing.

 Please use Oracle/OpenJDK 8 and the warning message will go away. Make sure JAVA_HOME is also set to this version of Java.

If this solution doesn't help, please have a look at this topic:

https://community.talend.com/s/question/0D53p00008021ziCAA/an-illegal-reflective-access-operation-ha...

And let us know if there is any incompatible jar file in your subjob.

Best regards

Sabrina

ALeifer15
Contributor II
Author

i removed JDK and now getting this screen shot when trying to open with just JDK 8 installed as my virtual machine. 0695b00000L0BsSAAV.png

Anonymous
Not applicable

Hello,

What happens when you type .....

java -version

...in your terminal window?

 

Please try to to specified -vm to point to java executable path in Talend-Studio-macosx-cocoa.ini like:

-vm

/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java

or

Add Java path to Info.plist inside Talend-Studio-macosx-cocoa/Contents like:

<string>-vm</string><string>/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java</string>

Feel free to let us know if it helps.

Best regards

Sabrina

ALeifer15
Contributor II
Author

It worked thanks, I didn't include this part in the ini ....Contents/Home/bin/java

Anonymous
Not applicable

Hello,

Great it works. Feel free to let us know if there is any further help we can give.

Best regards

Sabrina