Changing the  Java version in UNIX

I have a Java version 1.4.2_02 defined in /usr/bin/java.....which is the Java version used by the OS.
I have installed a higher version in /home/self directory..
How can I set this as the default Java version to be used by the system?
Thanks!
Anand

Sorry abt this...but I am not tht familiar with
setting of env variables and settings in UNIX too..
can u tell me how do I change this variable in
UNIX...the JAVA_HOME and set it as default for the
system.
Thanks!
AnandNot a UNIX person myself, but this is not a Java-related question at all, but rather an Operating Systems one. You might want to put that kind of question to an appropriate forum elsewhere, or ask classmates/coworkers.
However, someone may chime in here.

Similar Messages

  • How to change the java control panel and the default java in windows.

    Hi,
    Please help on the above problem. I need the answer urgently.
    I have two java version 1.4 and 1.5. I first installed the java version 1.4.2_06 and then 1.5.0_19.Now the default java is 1.5.
    Now I want to chang the java settings to 1.4 by changing the envioronment variable (classpath,path,java_home)
    C:\Program Files\Java\jdk1.5.0_09;C:\j2sdk1.4.2_06
    C:\Program Files\Java\jdk1.5.0_09\lib;C:\j2sdk1.4.2_06\bin
    C:\Program Files\Java\jdk1.5.0_09\bin;C:\j2sdk1.4.2_06\bin
    But after setting these does not solve the problem. The java control panel which appears is the same what was appearing for java 1.5.
    I want to see the control panel for 1.4.2_06.
    Thanks for your help.
    Regards,
    Sarita

    sarita2320 wrote:
    ..Please help on the above problem. I need the answer urgently. ...Is it still urgent?
    When I opened your post and saw that line, I immediately moved it to the 'last in line' of a whole bunch of other stuff I did not have time to look at immediately. Now that all that other stuff that did not bore me with someone else's time constraints is out of the way/taken care of, I've returned to your post.

  • How to check for java version in unix?

    hi,can anyone tell me how to find the java versionin AIX unix?

    In addition to Annie's answer: if you mean to get it in your code, then do this:
    String version = System.getProperty("java.version");
    System.out.println("Java version: "+version);

  • Is there a way to change the VNC password thru unix command in ARD2?

    In a local network, I get access denied errors from macs that have the vnc password different than the Administrative login user password. I needed to change the Admistrator password which I did thru the Unix command in ARD2.
    Now.
    Is there a way to change the VNC password thru unix command in ARD2?
    Example:
    remote computer setup
    Panther 10.3.9
    vnc password - gopher
    user ID - testARD with admin rights
    user password - backdoor
    ARD2 Computer setup
    10.4.10
    login ID - testARD
    password - backdoor
    I get the blue icon but get an 'access denied' error.
    I change the password from backdoor to gopher.
    I get the red with dash icon but, can get access to the computer.
    What is going on? Is ARD2 using the VNC resource instead of ARDs resources?

    A quick search of Google finds this <http://www.macgeekery.com/tips/cli/settingremote_desktops_vnc_password_interminal>. I have not tested this myself.
    bill

  • Photoshop CS2 in 2006. for Macintosh. Now I changed the Maverick version 10.9.

    Hello  I purchased Photoshop CS2 in 2006. for Macintosh. Now I changed the Maverick version 10.9. But now I do not know where to download the same version, so I use bought in 2006 key. When pulled CS2 can not install it because my version is higher. Thank you in advance for your reply and help.

    CS2 was a PowerPC based application.
    MacOS 10.9 won't run on PowerPC systems, and no longer supports the Rosetta emulation of PowerPC processors.
    You will need an Intel native version of Photoshop to run on your current system.

  • How to retain the PDF's compression when changing the PDF version?

    Hi,
    I need to change the PDF version from "1.5" to "1.6" without changing the original PDF compression (i.e compressed object streams) using "Acrobat X pro".
    I had tried to change one sample PDF version from 1.5 to 1.6 using "PDF Optimizer" and found the following results.
    ================================
    Input PDF contains the following properties:
    Document Properties
    1. Total pages:256
    2. PDF version: 1.5
    3. Tagged PDF: No
    4. Fast Web View: No
    Available Compressions (Identified through "Preflight>Pages")
    1. Page description is compressed for all the pages (256)
    2. Pages has compressed object streams for "254" pages except "Front Cover" and "Back Cover"
    Output PDF contains the following properties:
    Document Properties
    1. Total pages:256
    2. PDF version: 1.6
    3. Tagged PDF: No
    4. Fast Web View: No
    Available Compressions (Identified through "Preflight>Pages")
    1. Page description is compressed for all the pages (256)
    2. Pages has compressed object streams for all the "256" pages including "Front Cover" and "Back Cover"
    ================================
    "Pages has compressed object streams" found  for all the "256" pages (but input PDF has only 254 pages) including "Front Cover" and "Back Cover".
    But I want to retain all the properties of input PDF with version change. This is my actual requirement.
    I hope that Acrobat expert will offer some useful suggestions for the above. Thanks in advance.
    Regards,
    Raja. S

    Thanks for the reply.
    I had tried everything under "Clean Up" option (PDF optimizer>Clean Up) but "Pages has compressed object streams" applied automatically.
    Note: If I check the option "Optimize the PDF for fast web view" under Clean Up, then output retain the required source PDF  compression. But I must not change the source PDF to "Fast web view".
    This is not testing purpose and this is one of our client requirement. Kindly advise with better solution to solve this issue.
    Thanks,
    Raja. S

  • How to change the java cup icon for all the JFrames?

    Hi,
    I would like to know if I can change the Java cup defult icon that appears in the upper left corner of the JFrames in one time, instead of setting the JFrame's icon in every created JFrame.
    Regards,
    Gabriel

    Then don't set the parent to null. If you don't want a parent, just set it to
    JOptionPane.showMessage(new IconFrame(), ...
    [\code]
    where IconFrame extends JFrame and sets the icon in it's constructor.  The optionpane will then use the icon from it's parent frame.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I find out the java version Oracle has ?

    How can I find out the java version Oracle has built in?
    I've tried with ..
    SELECT comp_id, comp_name, version
    FROM dba_registry ;
    But I get.."table doesn't not exist".
    Thenks in advance!

    Pl post details of OS and database versions. Pl see this MOS Doc
    What Version of Java is Compatible With The Database JVM? [ID 438294.1]     
    and these Oracle docs
    11gR2 - http://docs.oracle.com/cd/E11882_01/appdev.112/e25518/adfns_environments.htm#ADFNS654
    11gR1 - http://docs.oracle.com/cd/B28359_01/java.111/b31225/whatsnew.htm
    HTH
    Srini

  • How to change the jdk version of the sun one appserver 8.1

    hi
    i have installed appserver8.1 with a jdk 1.5 .
    i am facing some problem with the parsers (my application needs to use a crimson parsers which is not supported by jdk1.5 i guess)
    so i am trying to change the jdk version by changing the asenv.conf file
    but the appservers wont start up if i do so.
    help !! please

    This is strange. Setting AS_JAVA to the install location of your jdk instance should work. I have done it many times.
    What kind of errors are you getting in the server log file?

  • Change the Product version from ECC to ERP 6.0

    Hello Experts
    I am planning to apply EHP4 on my Development ECC system. In line with the the suggestion from guide "How to install SAP Enhancement Package 4 for SAP ERP 6.0" system I am supposed to define my ECC system with leading product version ERP 6.0.
    My Ecc system is currently defined with Product version SAP ECC 6.0.
    As per the above guide and also suggestion from "Note 1344564 - Maintenance Optimizer: Check system landscape" which says-
    "In particular for a system of the product SAP ERP, assign the product version of SAP ERP, not SAP ECC."
    I am supposed to change the leading product version to ERP 6.0.
    Now with the current definition of system with product version SAP ECC 6.0, it is being used in a logical component. In order to change this I need to delete the associated logical component. The problem is -this logical component is being used in more than one Project definition that has huge documentation associated with them.
    My question -
    will the deletion of current logical component affect my documentation in any way?
    How can I change the product version from SAP ECC 6.0 to SAP ERP 6.0 without affecting the current setup?
    Regards
    Dhiraj

    Hello Warren,
    Thanks for the suggestion.
    I have already taken care of all the suggested notes in the master note that you suggested. I am able to generate the XML file for other solution defined in my system. In those I have my ECC system defined purely as ERP 6.0 system. I am not able to make out why its not generating the XML for this solution.
    Regards
    Dhiraj

  • Change the java cup picture in the top left corner

    Does any one knows how to change the java cup picture in the top left corner of the frames and applets
    Thanks in advance

    Hi,
    I have the following code added and get this error:
    non-static method setIconImage(java.awt.Image) cannot be referenced from a static context
    private static void SetUpGUIApplication(){
            //This must be invoked before
            //creating the JFrame.  Native look and feels will be set here
            // Comment this out to see the differences
           FrmMain.setDefaultLookAndFeelDecorated(true);
            ImageIcon appIcon = new ImageIcon(getClass().getResource("resources/FLGCAN.ICO"));
            if (appIcon != null)
                    setIconImage(appIcon.getImage());
        }What does this mean when adding static verses non static?
    Thanks

  • Is it possible to change the Mac Version of Photoshop CS6 Extended to a Windows Version ?

    Is it possible to change the Mac Version of Photoshop CS6 Extended to a Windows Version ?

    Yes. It's called a Platform swap.
    Order product | Platform, language swap

  • I activated this week my Photoshop and Lightroom CC and noticed it is a dutch version but in the past I always worked with an english version. Can I change the dutch version for an english ? Thanks. Peter

    I activated this week my Photoshop and Lightroom CC and noticed it is a dutch version but in the past I always worked with an english version. Can I change the dutch version for an english ? Thanks. Peter

    Hi t Forograafken,
    You can check your Creative Cloud Application Preferences to see if 'Deutsch' is chosen.
    You can change the App language from here :
    Regards,
    Rave

  • Can I get the Java version of mobile tv with the r...

    I would like to know how to get the Java version of mobile tv with the removed mobile tv application, so I can view the Sky EPG programme guide on my E90.
    Can anyone tell me how I can get it please. The version from sky will not work but reading other posts on here suggests that the java version might.
    Please help.
    Solved!
    Go to Solution.

    Sky have made it near impossible to get this application on current phones.
    Luckily for you the java version is available for download as part of this useful guide.
    The instructions are for the N95 but should work on an E90. I've got it working on an N82 and N96 at the moment.
    Just a note about the java app: It says it's for a sony but it works perfectly on a nokia. Not sure how it will look on the E90's big screen so if it doesn't work try the front screen.
    Message Edited by psychomania on 14-Nov-2008 10:42 AM

  • Photoshop is using the cc Hangul version  What happens if I want to change the English version?

    Photoshop is using the cc Hangul version
    What happens if I want to change the English version?

    What happens if we decide to stay in the program after 12 months? Will we keep getting charged monthly or will we eventually not be asked to pay for it if we've, let's say, cumulatively "paid up" for the softwares?
    You never stop paying for subscription software. You will keep getting charged monthly. It's not a hire purchase agreement where you own the software after paying a set amount for an agreed time period. Neither is it a lease where you pay a residual amount to own the software at the end.
    You will keep paying the monthly fee for as long as you want to use the software. If you want to use the software forever then you keep paying forever.
    On the plus side, you get all updates and upgrades for free as part of your membership.
    When you stop paying the monthly fee, you lose the use of the software.

Maybe you are looking for

  • WebEx SSO with Microsoft AD 2008

    Hello Everyone, We are trying to setup our Microsoft AD to sync our accounts with WebEX Connect, using the SSO (Single Sign ON) We are only able to use the Domain credencials when we are inside on the corporate network and logging on the WebIM. Do we

  • Tax Reporter SUI XML Changes

    SAP Note 1434188 under the heading SUI XML Changes introduces the file FL_Schema.xsd published by the Florida Department of Revenue to correctly download XML files for Q1/2010. Now we are working with Q2/2010 and some elements are used but not declar

  • Using a dial-up modem

    I guess I'm posting this out of sheer desperation, although it sounds like there isn't anything that can be done.  I moved to the DC area last November and before signing an 18-month lease, I contacted Verizon directly, and my building also contacted

  • ORA-03113 and ORA-07445 ACCESS_VIOLATION (again)

    On: 10g Windows 2003 server IIS 6 ASP.NET 2.0 Oracle client 10.2.0.1.0 ODAC 10.2.0.2.21 odp.net 2.102.2.20 Validate Connection=true;Min Pool Size=0 in connection string All odp.net connection, command and parameter objects are closed/disposed after u

  • Any way to do this with analytic functions?

    db version 10.1 select (select count(1) from survey_dtl where insert_date is null) as null_insert_date ,(select count(1) from survey_dtl where last_update_date is null) as null_last_update_date ,(select count(1) from survey_dtl where e_update_date is