You are not logged in.

#1 2014-11-02 16:50:28

JosephRT
Member
Registered: 2014-07-02
Posts: 4

Cinnamon launcher doesn't seem to use my PATH variable to find Java?

I just recently installed the Oracle JDK and set my PATH use use it as the default JAVA in ~./bashrc.  That works great, I can crank up a terminal, hit "which java", and it's pulling up my JDK.

Problem I'm running into is that I just pulled down IntelliJ community edition, which works great if I crank it up from the console.  But I'm trying to add a launcher icon to my desktop and menu.  I right-click on the desktop to add a new launcher, give it a title, icon, and select the idea.sh script to be launched.  But when I try to open it, it tells me that no JDK can be found.  Like I said though, if I open up a terminal I can hit Java just fine.  Can someone tell me why the launcher can't find it?  I could manually add the Java path to the script, but I'd rather understand why it's not working in the first place.

Offline

Board footer

Powered by FluxBB