Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded the bin file, and installed it but I haven't realized that I made the folder in the current directory. I would like to install in /usr/java.

  1. Can I now just copy paste it there.
  2. Or I need to re-install to desired location
  3. I installed JRE , is that ok or I need to install sdk
share|improve this question
up vote 1 down vote accepted

For development, you need the java development kit, jdk. Otherwise, the jre is fine.

It is quite possible to copy the jre folder to the /usr/java.
Make sure to add its location to the PATH variable.
Check where does java point to -> which java
Afterwards, check its target. E.g. ls -al /usr/bin/java

The chain should end up in your jre folder.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .