简体   繁体   中英

Having issue launching Eclipse on Feodra 24

When I was on Fedora 23, I was using Eclipse Neon to work on my school projects and it worked fine. However, I recently updated to Fedora 24, and now, for some reasons, I can't launch it anymore. Whenever I try to launch eclipse from the terminal, I bump into an error message, telling me that it can't find a java virtual machine in a specific folder (you can see the error message on the screenshot I've attached). Here is the screenshot I looked up the mentioned folder, and noticed that some files were already installed in here. Besides, when I try to install java using the dnf command, to check if anything is missing from my installed version, the terminal tells me that the package is already installed.

Would someone have any idea how to fix this issue? I've been trying to use some solutions I found on the net, but none did work as expected.

The paths on the screenshot do not match. You are checking files inside ...fc24.x86_64 while eclipse is looking for ...fc23.x86_64 . Update your JRE location in eclipse.ini . You can probably just remove lines:

-vm
/usr/lib/.../jre/bin

and eclipse will pick your system default JRE.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM