Vinod Vijay Nair
Koen Aerts wrote:
Use to see which UNIX kernel is running, it should give an indication whether it's the 32-bit (x86) or the 64-bit kernel.
Koen Aerts wrote:
In what directory are you trying to execute the installer? You normally don't need to be root to install Java, unless you want to place it somewhere under /usr.
Vinod Vijay Nair
Vinod Vijay wrote:I got this after using uname -a
Linux ubuntu-nkvijay827 3.0.0-15-server #26-Ubuntu SMP Fri Jan 20 19:07:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
does it mean 64bit?
Koen Aerts wrote:I normally install and run Java as a regular (non-root) user, because all my development is done using regular user privileges; never as root. For instance put the Java installer in your user home dir (i.e. /home/user/) and execute it there as that user. Java files will be installed in the same directory. Once that is done, you can move that dir to where ever you want.
Vinod Vijay Nair
Koen Aerts wrote:Instead of:
jdk-1_5_0_22-linux-i586.bin
do this:
./jdk-1_5_0_22-linux-i586.bin
Vinod Vijay Nair
Koen Aerts wrote:I think it's related to the fact you're installing a 32-bit JDK on a 64-bit platform, which is fine, but you may need to install the ia32 Suite first.
Try this:
sudo apt-get install ia32-libs
Then re-run the installer.
Vinod Vijay Nair
Vinod Vijay wrote:Koen may I know what do you do? Are you a linux geek or java developer?
Koen Aerts wrote:You need to update your PATH to include the jdk bin directory. You probably want to do this in your login script, such as .profile, .bashrc, etc, depending on which is your default shell (as specified in /etc/passwd). For instance if you installed the JDK in /myapps/jdk1.5.0_22 then you need to add the following to PATH: PATH=${PATH}:/myapps/jdk1.5.0_22/bin
Vinod Vijay Nair
Koen Aerts wrote:
Vinod Vijay wrote:Koen may I know what do you do? Are you a linux geek or java developer?
All of the above, among many other things![]()
Vinod Vijay Nair
Vinod Vijay wrote:Is that correct? I opened it in vi editor, edited and saved and finally try 'java' and'javac -version' but didn't work.