Jump to content

configure: error: Can't find "javac" in your PATH


Recommended Posts

I have installed the J2RE-SDK from Sun. At first if i typed ¨java¨ or ¨javac¨ it said that it wasnt in my path. So i searched on here and found a topic that solved that - I added a line to my ¨.bashrc¨. I logged in and out, now when i type ´java´ or ´javac´ at the command line they both work.

 

BUT, i am trying to compile a program.....but when i run ´./configure´ I get an error saying

 

¨configure: error: Can't find "javac" in your PATH¨

 

This is how it says to install it....

 

$ tar -xvjf iriverter-VER.tar.bz2

$ cd iriverter-VER

$ ./configure --with-swt=/path/to/swt.jar

$ make

# make install

 

I have searched everywhere on the net, but dont know what ´swt.jar´ is!!??!?!?!? The only one i can find is in my ´Azureus´ directory on my computer.

 

Any ideas??? This is what i am installing.....http://iriverter.sourceforge.net/index.shtml

Thanks

Rob

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Great...thanks. I download the SWT file.

 

Now.....

Do I have to specify a link somewhere to the actual file ´javac´?? Even though when i type ´javac´ at the commandpromt it works, does there need to be an actual link in a file somewhere to /usr/java..../javac????

Edited by JungMin
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...