You are not logged in.

#1 2012-09-28 22:37:52

magyarm
Member
Registered: 2012-09-14
Posts: 4

Codewarrior Eclipse based IDE not able to see installed jre

Good Evening Arch community,

I'm hoping someone can guide me to what I need to do to install the Freescale Codewarrior IDE on my arch laptop. I have installed it on my arch desktop, but every time I try on my arch laptop I get the following error:

This application requires a Java Run Time Environment (JRE)
to run. Searching for one on your computer was not successful.
Please use the command line switch -is:javahome to specify
a valid JRE.  For more help use the option -is:help.


I am running arch x64, with openbox and slim (not sure if that matters, except for setting up the $PATH) and have the latest jre7-openjdk from pacman installed. Installing the Oracle jre on from the AUR results in the same thing. I have tried setting -is: javahome /usr/lib/jvm/java-7-openjdk/jre as a command line option to the set up program. Normal Eclipse from pacman works no problem, so it is at least picking up the jre.

When I do "which java" I get "/usr/bin/java" back, which is the same as the desktop. echo $JAVA_HOME results in a blank line, but when I source /etc/profile, I get "/usr/lib/jvm/java-7-openjdk" which is the same as the desktop on a cold reboot. I was thinking, could my bash be not sourcing what it is supposed to on start up? I believe all my settings are the same as I directly copied everything from the desktop. After sourcing /etc/profile, the Codewarrior installer behaves the same way, it gives the same error message.

What else can I look for / try to figure out why CodeWarrior won't install?

Thank you for your time, and responses.

Last edited by magyarm (2012-09-28 22:38:28)

Offline

Board footer

Powered by FluxBB