Programming :: How To Get - Set Java Version - JAVA_HOME And Classpath

Jul 3, 2010

How to:

1. check JAVA version,
2. set up the JAVA_HOME and
3. CLASSPATH variables

I had installed

1. NetbeansIDE 6.7.1 from Software Center
2. MySQL from command sudo apt-get install mysql-server
3. libmysql-java from synaptic package manager

OS Information

1. Partition 1, 3.0 GB Swap Space, /dev/sda1
2. Partition 2, 6.0 GB Filesystem, /dev/sda2 mount at /, Bootable
3. Partition 3, Ext4, /dev/sda3 mount at /home
4. Partition 4, /dev/sda4, Extended (Drive A, Drive B and Drive C)

View 3 Replies


ADVERTISEMENT

Fedora :: Setting Environment Variable Using Export JAVA_HOME=/usr/java/jdk1?

Jul 28, 2010

I am a newbie to Linux. I tried setting environment variable using export JAVA_HOME=/usr/java/jdk1.6 but that was not permanent (i.e is was there for that terminal session). I want to know how can i set environment variable permanently in Fedora 13 just like we do in windows.After google search, some user suggested to edit bashrc and profile file for setting environment variables but above file contains some shell programs.

View 3 Replies View Related

Programming :: Which Version Of Java Should Installed On Computer?

Jul 15, 2010

I've purchased a couple of books so that I can begin to learn JAVA. Finding recent editions is very challenging, so the books I found cover JAVA 5.0. I plan to go through all of the exercises in both books. Which version of Java should I have installed on my computer?

Should I install 5.0 so that the examples from the book will work perfectly? Will I run into confusing situations or problems if I try the example exercises using Java 6?

View 1 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found

View 4 Replies View Related

General :: Enter The Command Java -version It Shows Java Is Not Found?

Jan 19, 2010

Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.

first of all why its not working from any other place? also why do I need to give ./ from the folder?

View 3 Replies View Related

Ubuntu :: Install Latest Java Version - Java SE 6 Update 24?

Feb 18, 2011

If you are interested, Java SE 6 Update 24 is available. The Check Java Version link in my signature will tell you if you are up to date or not. The Update Java Version link in my signature will tell you how to obtain and install the latest version. The 32 bit version install directions are on the left side of that page and the 64 bit instructions are on the right side.

Just remember to remove the current version before installing the new one as it says in the instructions. The remove instructions are below the install instructions. Also, in Step 9 - "Now you'll want to tell the system, that there's a new Java version available." See the note below it that says if you get an error upon entering the command once, enter it a second time. I have to do that and sometimes forget. Just thought I would mention that. These instructions are already setup for version 6 update 24, but they can be modified for any update and they will work. I have been using these instructions for a couple of years and they work.

View 9 Replies View Related

Ubuntu :: Classpath For All Users?

Jun 16, 2011

I have a classpath problem, my code works without problem when I execute it with my user account, but, when I execute it with internet explorer or mozilla firefox it doesnt work, I discovered that teh problem is that the user is www-data, I set up the classpath in my user account editing .bashrc, but www-data hasnt this file.

View 1 Replies View Related

Ubuntu :: Set The ClassPath To External Jars?

Jul 18, 2011

how to set the classpath to external jars

View 2 Replies View Related

Ubuntu Installation :: Where To Find Classpath To Edit It?

Jul 12, 2011

I'm newbie to Linux. I have installed on my desktop the version Ubuntu 10.04 LTS.
My question is: Where can find my CLASSPATH file, in order to edit it?

View 1 Replies View Related

Debian :: Get The Newest Java Version?

Jun 10, 2010

how to get the newest Java Version. My Debian has got Java 1.50.3 as Default. I am running Debian Kernel vers:2.6.26-2-686 on a GA-D510UD Mainboard. I tried to install it with apt-get but it just says that it could not find java. I found a packet at Linux & ebian wiki, but i dont know how to extract it into the root Filesystem /. If i just copy it there Debian tells me thati havent got the permission.

View 3 Replies View Related

Ubuntu :: How To Rollback Java Version

Nov 23, 2010

I play this game called Minecraft, and I'd like to run the server package as well, but the server is laggy as hell. I did my research, and some people were saying that one of the problems was the Java version. They recommended rolling back specifically to 1.6.0_13, but they didn't say how. So I Googled for a tutorial on how to roll back Java in Ubuntu, and got nothing. So here I am.

I also learned that you can add some extra code into a Java run command to make it run off of a specified version, so I added this to the original command I have to run my server

Code:
-version:1.6.0_13 and got "Unable to locate JRE meeting specification '1.6.0_13'". So now I'm thinking that Ubuntu didn't retain any previous versions of Java. My second question would be, where does Ubuntu keep it's versions of Java, cause I'd just download that version of Java, put it where Ubuntu keeps it, then run that command again and hope it works.

View 9 Replies View Related

Ubuntu :: Update Java Version From V. 6.20 To 6.23?

Dec 14, 2010

There is a new java update for security. I checked my java version here: [URL] and it said I have v. 6.20 installed even after unsuccessful trial to install their linux package following their vague instructions I think I followed well. What do I do?

View 8 Replies View Related

Ubuntu :: Getting Error After Rpm Version Of Java 34 Bit

Aug 7, 2011

I attempted the get the rpm version of java 34 bit. THis was working to no avail because i was constantly getting this message when i tried to execute it

[code]...

View 5 Replies View Related

Programming :: MinGW - Performance Is Degarding - Version To Win32 Version

Jul 10, 2009

I've made a linux app that I'm porting to win32 winth MinGW and MSYS. It's a ticker app that reads then renders a text file to a pixmap (a tall single-line image), then it kind of scrolls the pixmap by drawing a part of it to a drawing_area, using gdk_draw_drawable() within a timeout handler set by g_timeout_add().

The problem is it works fine on linux (the scrolling is really smooth and that's the goal) but the win version is choppy and uses at least 90% of cpu resources (vs 15% with linux) like there is a big performance problem. And I'm not even sure that double buffering is set. Is it related to some mingw config or drawing_area stuff or gtk for win?

View 5 Replies View Related

OpenSUSE :: Updating Java (Version 1.6.0_0) Failed

Feb 16, 2010

Firefox 3.5.7
SuSE 11.2 64bit
Current Java Version 1.6.0_0

The latest version is 6.0_18 Followed instructions for a number of different ways of getting Java updated and i've failed miserably.

View 9 Replies View Related

Ubuntu :: Update To The Latest Java Version?

Jan 2, 2010

How do I update to the latest java version?

View 9 Replies View Related

Ubuntu :: Java Disappeared After Upgrade To 10.04 Version?

May 6, 2010

I had Ubuntu KArmic Koala with Java sun-sdk 6 installed and everything worked fine. After Upgrade to 10.04 via Update Manager - no java detected...
When I type in

java -version

I get:

The program 'java' can be found in the following packages:

* gcj-4.4-jre-headless
* openjdk-6-jre-headless
* cacao
* gij-4.3
* jamvm

How is it possible to resolve this problem, please? Even if try to install it from Synaptic Package Manager, it doen't work.

View 3 Replies View Related

Red Hat / Fedora :: Cannot Install Older Version Of Java JDK

Jun 10, 2010

I have a Sun Fire X4450 running RHEL 5.3. Attached to this server via FC is a Sun StorageTek ST2540 that allows additional storage capacity. In order to administer the ST2540, a software application from Sun (CAM 6.6) has been installed. Part of the install process for this application also installs Java JDK1.6.0_12 (64-bit).

However as we use this hardware as a database server, our database software will not install properly as it requires an earlier version of Java JDK1.5.0_11 to be installed. When I try and install the older JDK rpm package, RHEL will not let me. How can I get both versions of Java installed?

View 4 Replies View Related

OpenSUSE :: Unable To Run Sun Java After Downloading Recommended Version

Jun 20, 2010

I have removed IcedTea packages but I am unable to run Sun Java after downloading the recommended version from sun website as per the instructions at Installing Sun's Java on openSUSE - openSUSE.I do a lot of web games and need sun java installed.In addition, I need help with -

1. Installing fdisk or similar.
2. Read and write for ntfs partition on same hard disk. I've Samba but SUSE can't see 2 ntfs partitions on same hard disk.
3. Gnome/ LXDE desktop install.
4. Testdisk install.
5. Gparted install.
6. Convert .deb packages to .rpm and install those. I used to convert .rpm to .deb in Ubuntu with alien tool.

View 9 Replies View Related

Ubuntu Installation :: Java Runtime Version 6 Update 25?

Apr 29, 2011

I downloaded Java into my home folder instead of downloading it in my usr folder because it wouldn't let me(even when I was root user). It is present in my home folder with its own directory, but I am unsure how to use it. I downloaded Java to try to play Minecraft, but when I open then .jar file with the directory nothing happens. The actual directory contains the following

folders:bin,javaws,lib,man,plugin,copyright,licens e,a read me file, thirdpartylicensereadme, and a welcome.html file. I don't like running Minecraft with OpenJDK because it lags tremendously and it won't close, and I heard the "real Java" runs it much better.Did I download it incorrectly, if so can you tell me how?

View 1 Replies View Related

Software :: Install Latest Version Of Firefox And Java?

Jul 27, 2010

I have a Dell Mini n Series & am currently running Ubuntu 8.4, what would be the best way for me to download a newer version of Firefox & Java?

View 14 Replies View Related

Fedora X86/64bit :: Installing 32 Bits Version Of Firefox And Java?

Jul 28, 2009

What is the best way for installing Firefox and Sun JDK 32 bits alongside my 64 bits version?

View 2 Replies View Related

Ubuntu :: Run Java Applet Web Based System On IE 7 Which Is Run On Crossover 9 Version

Sep 16, 2010

I have install Ubuntu 10.04 version. Then install Crossover 9 and run Internet Explore 7 on the crossover. Now I need to access web based system through IE7 which is java applet enabled system and also I have already installed java runtime environment on crossover. But that system can not access through IE7 it given some errors.

View 1 Replies View Related

Ubuntu :: Closed Source Version Of Java Plugin For 10.10 Final?

Oct 11, 2010

i need the closed source version of java plugin for ubuntu 10.10final for i can use pogo

View 1 Replies View Related

Ubuntu :: Terminal Command To Install The Latest Version Of Java?

Nov 14, 2010

Can't get an applet to initiate on a gaming site...is their a simple terminal command to install the latest version of Java?

View 9 Replies View Related

Ubuntu :: Installing Java - Bash: Version: No Such File Or Directory

Aug 22, 2010

i'm brand new to linux and honestly don't know how to use it very well and i am trying to install java, following the directions is not working i am stuck at Code: chmod a+x jre-6u<version>-linux-i586-rpm.bin it says bash: version: No such file or directory i downloaded the software to the downloads folder firefox uses as default.

View 6 Replies View Related

Ubuntu :: Remove Current Version Of Java And Upgrade To The Newest Versions?

Dec 30, 2010

I'm looking to remove my current version of Java and upgrade to the newest versions of Java and hopefully any other components like flash etc.

View 5 Replies View Related

Programming :: Groovy Scripting - An Object-oriented Programming Language For The Java Platform ?

Mar 7, 2010

Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.

View 1 Replies View Related

Ubuntu :: How To Set JAVA_HOME

May 24, 2010

You can install Java either using "Synaptic Package Manager" or using "apt-get install java-6-openjdk" command.Java will be installed to the location "/usr/lib/jvm/java-6-openjdk"Now open a terminal and type "sudo gedit /etc/bash.bashrc ".Append the following lines to the opened "bash.bashrc" file

"export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/"
"export PATH=$PATH:$JAVA_HOME/bin"
Save & close the "bash.bashrc" file

[code]....

View 1 Replies View Related

General :: Where Exactly Is JAVA_HOME?

Jul 28, 2010

Tomcat installation requires JAVA_HOME to be defined. In Windows it is straight forward. But in Linux binaries are in one folder and libraries are in other folder.

Is there a way to find out where exactly is JAVA_HOME?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved