Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1238  / 2 Years ago, wed, june 8, 2022, 4:19:18

I installed 12.04 xubuntu and latest eclipse. Java is also installed. path is set correctly. but there are two things strange to me.




  1. when I double click the eclipse executable, it says cannot find java;

  2. create a launcher on the desktop, it says the same thing as above;**



open a terminal, type eclipse, it will start eclipse without any error. type java in terminal also shows java is installed and available to the system.


More From » launcher

 Answers
1

I suspect you need to use update-alternatives to get the links to default locations in order. Your edits to .bashrc aren't applied unless you run in a terminal.



Alternately, you could make a bash script to run your bashrc and then eclipse and use that as your launcher target.


[#35495] Thursday, June 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
horicgly

Total Points: 36
Total Questions: 126
Total Answers: 104

Location: Iceland
Member since Thu, Dec 1, 2022
1 Year ago
;