Kayak icon indicating copy to clipboard operation
Kayak copied to clipboard

An illegal reflective access operation has occurred.

Open kwood94xj opened this issue 5 years ago • 2 comments

When I try to start Kayak I get WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/kwood/Kayak/application/target/kayak/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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

This is on Ubuntu 18.04LTS running on VBOX. works fine when I install it on a native install of Ubuntu.

kwood94xj avatar Nov 25 '19 16:11 kwood94xj

Did you find a solution to this issue. I am also using Kayak on VmWare with Ubuntu 18.04 and i face the same issue.

 ./kayak
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/venky/Documents/Kayak/application/target/kayak/platform/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
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

vk-gst avatar Mar 11 '20 17:03 vk-gst

Ran into this same issue:

Fixed by isntalling openjdk8, and following the other issue with Maven on the issues section here.

How do downgrade to openjdk8: https://askubuntu.com/questions/1133216/downgrading-java-11-to-java-8

ElDominio avatar Mar 19 '20 08:03 ElDominio