
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
And let us know if there is any incompatible jar file in your subjob.
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i removed JDK and now getting this screen shot when trying to open with just JDK 8 installed as my virtual machine.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It worked thanks, I didn't include this part in the ini ....Contents/Home/bin/java

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Great it works. Feel free to let us know if there is any further help we can give.
Best regards
Sabrina
