LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "java_runtime >= 1.4 is needed by freemind-0.7.1-2 " // PATH problem ? (https://www.linuxquestions.org/questions/linux-software-2/java_runtime-%3D-1-4-is-needed-by-freemind-0-7-1-2-path-problem-188459/)

jfd 06-01-2004 11:27 AM

"java_runtime >= 1.4 is needed by freemind-0.7.1-2 " // PATH problem ?
 
Hello,

This freemind mind mapping program is nice and I use it on a W2K box. Switching as mus as I can to Linux, I tried to set it up on my RH9 box.

rpm -ivh freemind-0.7.1-2.noarch.rpm
error: Failed dependencies:
java_runtime >= 1.4 is needed by freemind-0.7.1-2

(surprising because OOo 1.1.1 need the java runtime environnement so I already had to install it)

once again anyway : rpm -ivh j2re-1_4_2_04-linux-i586.rpm
But that did'nt get rid of the warning

so :
rpm -ivh --nodeps freemind-0.7.1-2.noarch.rpm

then :
...]$ freemind
/usr/bin/freemind: line 30: java: command not found

I missed something. Figuring it's about finding the Java runtime I found a post in the LQ/programming that states :
"Add exactly the following to your .bashrc file
JAVA_HOME=/usr/java/j2sdk1.4.0_01
PATH=$JAVA_HOME/bin:/$PATH "

And tried to refresh my .bashrc with the appropriate directories, and that stop from booting in this profile.

I guess this is very simple matter for you ! So if anybody has time to tell me how to fix this Java_runtime dependencies problem I will be very happy.
Thanks for your advices

JFD

Looking_Lost 06-01-2004 11:43 AM

Put the where ever you installed java /bin directory into your PATH

i.e
PATH=/usr/java/j2sdk1.4.0_01/bin:$PATH

export PATH

It doesn't looking like you've got the export bit

jfd 06-05-2004 07:05 AM

thank you, looking_Lost,

Now Freemind loads in a snap.
I have not yet figure out how to display all actives paths. Linux offers such a rich and flexible environnement, it's amazing and exciting.
Thanks again !
jfd :)


All times are GMT -5. The time now is 12:35 PM.