I've got the following in /.bashrc
export JAVA_HOME=/usr/bin/jdk1.7.0_03/
export PATH=$PATH:/usr/bin/jdk1.7.0_03/bin
This is fine, if I do $JAVA_HOME I get the directory above.
The problem is if I do java -version I get...
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
How do I make the official jdk version the
I am using linux-mint-cinamon 14 and I have set the $JAVA_HOME and $PATH environment variables in ~/.profile as follows:
export JAVA_HOME=/home/aqeel/development/jdk/jdk1.6.0_35
export PATH=/home/aqeel/development/jdk/jdk1.6.0_35/bin:$PATH
(EDIT:)After that I did source ~/.profile, so that changes take effect without rebooting.
Yet when I execute java -version command to check the active java
I want to run my Tomcat with Java 7 but all I found about configuring it doesn't work. The management interface of Tomcat shows 1.6.0_24-b24 as Java version.
I'm pretty new to Apache Tomcat and somewhat new to Linux altogether. I am trying to install the JDK, which is a prereq for Apache Tomcat. I downloaded and untarred the JDK to /usr/java and now I'm trying to set the environment path.
The $CLASSPATH variable is not set by default in f17.
What path should I give in my .bash_profile for this variable?
I have the following packages installed:
Code:
$ java -version
java version "1.7.0_03-icedtea"
OpenJDK Runtime Environment (fedora-2.2.1.fc17.8-x86_64)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)
My requirement is to install a jar for global run
Getting below exception while executing startup.sh for Tomcat.
I just installed Fedora 17. I'm setting up the Android Build Environment and need Java.
I downloaded and installed jdk-6u32-linux-amd64.rpm I ran
java -version
and it spit out the correct version.
Well a day or two later i tried my first compile in Fedora 17 and it complained about java and failed.
I have added this line at the end of ~/.bashrc file.
export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java
But when I do echo $JAVA_HOME I don't get anything as output, I expected "/usr/java/jdk1.5.0_07/bin/java".
Any idea?
Ubuntu 11.10.
JAvi
Hi,
When I try to connect a FTP with Remote Systems in Eclipse, it cannot list FTP files. It gives me "Empty List" on list tree. Why?
I have jdk1.6.0_35
I writed,
Code:
export JAVA_HOME=/usr/java/jdk1.6.0_35
export PATH=$PATH:$JAVA_HOME/bin
in my /etc/profile.d/jdk.sh
I selected Sun Java from alternatives.
Any ideas?