Jump to content

Java and MDK10


Guest sog777
 Share

Recommended Posts

After installing j2re-1_4_2_05 into its own directory (home/joseph/java2/j2re-1_4_2_05) and adding this to my .bash_profile---

PATH=$PATH:$HOME/bin:home/joseph/java2/j2re-1_4_2_05/bin

export PATH JAVA_HOME=home/joseph/java2/j2re-1_4_2_05/bin:$PATH

 

I made a mistake and just installed the JRE into a created directory. Afterwards I tried to reinstall it by first trying to save it into usr/java but mandrake will only allow it to be saved into home/joseph/..... so i left it there. i then tried to set up my PATH Variables but when i try to ./configure a program "Azureus" it states an error that it can not find java and it searches for it in usr/java. Can someone please give me some assistance with this small problem?

 

Thanks

 

[moved from Software by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

If your path points to your $JAVA_HOME/bin directory then you shouldn't have any problems with java being located.

 

If azeurus (or any other app) is looking for java in a particular place then it's badly written.

 

However, since I have run azeurus and have java installed in my home directory also - I know this isn't the case.

 

Did you log out and then in again after changing you env variables?

 

What do you get when you echo $PATH - is the java bin directory in there?

Link to comment
Share on other sites

RESULTS of echo $PATH

 

[joseph@localhost azureus]$ echo $PATH

/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/joseph/bin:home/joseph/java2/j2re-1_4_2_05/bin

RESULTS of round 4 with azureus...

 

[joseph@localhost azureus]$ ./azureus

Starting Azureus...

Java exec not found in PATH, starting auto-search...

OOPS, unable to locate java exec in /usr/java/ hierarchy

You need to upgrade to JRE 1.4.x or newer from http://java.sun.com

 

 

I noticed 2 syntax errors in my .bash_profile that i caused. i fixed them and i am retrying it now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...