Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

An illegal reflective access operation has occurred. #33

Open
kwood94xj opened this issue Nov 25, 2019 · 2 comments
Open

An illegal reflective access operation has occurred. #33

kwood94xj opened this issue Nov 25, 2019 · 2 comments

Comments

@kwood94xj
Copy link

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.

@vk-gst
Copy link

vk-gst commented Mar 11, 2020

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

@ElDominio
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants