How can i remove jdk1.4 install in oracle unbreakable linux.

I am able to comple java program in oracle unbreakable linux but not able to run program.this is simple hello world program there is no syntax problem .I am getting error:
Exception in thread Main java.lang.class format error:unrecognised class file version and i also checked :=> #javac -version
#jdk1.6_20
#java -version
#jadk1.4 (gnu support java)
How can i unstall jdk1.4 gnu jdk/bin path and jdk 1.4 gnu java from with my system.
Regards
Prashansh Kumar

From what I understand, the problem is that your classes are compiled for a later version of Java. I'm not sure at this point that uninstalling Java 1.4 is the right solution - it may break important system functions.
I would rather try another approach first:
# alternatives --config java
-> select the java version you want as default.If you want to install java 1.6 you can try the following:
# yum install java-1.6*
or just the runtime package
# yum install java-1.6.0-openjdk
For example:
# java -version
java version "1.4.2"
# yum install java-1.6.0-openjdk
# alternatives --config java
There are 2 programs which provide 'java'.
  Selection    Command
+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*  2           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
Enter to keep the current selection[+], or type selection number: 2
# java -version
java version "1.6.0"

Similar Messages

  • How to uninstall/remove 11g database on (OEL)Oracle Enterprise Linux 6?

    Hi there,
    I was facing problem during 11g installation & i'm trying to reinstall 11g database again, but at step8 of 13, it show the error [INS-32021] Insufficient disk space on this volume for the selected Oracle home. i guess because of the previous database files still exist, anyone can give some links or solution ?
    Thank you in advanced.
    Edited by: 907267 on 11-Jan-2012 00:08

    I'm running both 11g as well as 10g on Oracle Enterprise Linux 6 Update 1 without any problem.
    Yes I know that it isn't supported but it works.
    To your question:
    a. is it the ORACLE_HOME it complains about or is it temp? Very often temp fills up during an installation and is not freed after the installation ends.
    b. for a cleanup of the existing installation you should remove OraInventory and the files in /etc (like oratab, oraInst.loc).
    BTW: I have my own blog (streetkiter.wordpress.com) where I wrote a post how to install 11g and 10g (!) RAC on Oracle Linux 6.
    Edited by: carajandb on 16.01.2012 09:02

  • HT5622 We have two iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself

    My son and I both have iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself from finding out what he is up to during Freshers week!

    You have to use a different Apple ID for your son.
    Read this note:
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family
    still valid for ios 7

  • How can I remove Itunes from my xp? It says It is corrupt, installed incorrectly.

    How can I remove itunes from my xp? It says it is currupt and installed incorrectly.The missing itunes.mis file. Can't upgrade to  for my ios upgrade...Thank you

    This link was the first hit with a Google search for "removing and reinstalled iTunes with XP".
    A Google or internet search is your friend with a wealth of info just a mouse click or two away.

  • I just installed Firefox 5. How can I remove the Bing search from the address bar? I don't want to see Bing at all.

    I just installed Firefox 5. How can I remove the Bing search from the address bar. I don't want to see Bing at all. I tired the Firefox options, right-clicking on the search field and the toolbar selection drop-down but could not find a way to get rid of that unwanted search window.

    *'''at the bottom of firefox''' there is a weird looking greenish circle with a lightning bolt in it*
    1. click it and hover over to '''PREFERENCES'''.
    2. click the second circle that say's '''BING.'''
    3. '''Un-check''' both boxes.
    4. you're done :)
    Note: it's not going to show the google symbol encrypt when you open a new tab it's just going to automatically use google as a search engine.

  • I install LION on my mac pro 2008 and it's alway's pop with " there was a problem connecting to the server " Time Capsule" .How can i remove this popup. My Time machine is working fine and also rename it. But the popup keeps on coming with the old name.

    I installed LION on my mac pro 2008 and it's alway's pop with " there was a problem connecting to the server " Time Capsule" .How can i remove this popup. My Time machine is working fine and also rename it with less than 7 karakters. But the popup keeps on coming with the old name.

    I have a BT Infinity router plugged into the Time Capsule, not sure where the radio settings are?
    They are able to use the network settings of the TC i.e. they can connect to the internet via the wifi through the TC but when they try and connect to the AirPort Disk this is where it is not allowing a connection.
    I don;t have the drive shared out at all at the moment, is this necessary?  How do I do this if so?
    I have attached the screen shots of all the settings.
    Thanks again for your help.

  • How can i remove a hybrid mbr from my system drive so that Efi booted windows will install.

    Hi,
    i have just clean installed OSX lion on a freshly wiped drive in my macbook pro, using a bootable lion installer usb i used disk utility to partition my drive into a mac and a windows partition under the GPT/GUID partition scheme, i then proceeded to install lion onto the mac partition, and completed the set up, All Good...
    so i plug in my Windows 8 EFI Boot USB stick (Notice, EFI boot here, NOT BIOS EMULATION BOOT), shutdown and power on the mac and proceed to the boot picker by holding option, So far so good, the usb key is recognised and the system boots into the Windows Setup in EFI mode, Enter product key, accept terms and so on, Now i select my Windows partition and windows Says That it cant install to Partition 4 (EFI Partiton, OSX Lion, Lion recovery, Windows), It says that it can only install to a GPT / GUID based disk as expected...
    Why is there a protective MBR on my drive when i didnt add one, and i have not even touched bootcamp assistant...
    How can i remove this Protective MBR from my drive so that my disk is PURE GPT so windows can install?
    hours of googling has turned up nothing...
    System:
    Macbook Pro 13 inch Mid 2009
    Mac os: OSX Lion
    Version of windows trying to install: Windows 8 Release Preview 64 bit in EFI Mode

    Alexander, I would like to apologize for the TERRIBLE answers you have been given so far.  I too had this question, and so here is what my thoughts are, as maybe they might provide insight in leading you towards the answer.
    I am a *nix user in general, and thus own a mac and a thinkpad.  In fact I just got my thinkpad not too long ago.  As such, I transfered my faster hard drive to my faster computer, which made logcal sense to me.  Ergo, I moved my Mac drive to my lenovo.  On this drive I have a hybrid mbr which is no longer needed.  So my thoughts are this:
    From what I gather, the UEFI standard indicates that there is to be a protective MBR on all GPT systems.  This is so that when you use programs that are not GPT aware, they will see a presumably "full" drive and not think that they have the right to destroy your existing data in what it thinks is free space.  For instance, fdisk or other MBR only partitioning systems.  Thus, if your system has only a MBR with a single EE partition, it would be my guess that it was in fact not put there by installing Windows, but rather for the protection of your system. 
    If you are in my situation, where you do indeed have a hybrid MBR with written out partitions, it would be my guess that the only way to rid yourself of it is to do it manually.  The way I would recommend, is using gdisk (gpt fdisk).  It is command line only, but the syntax is pretty easy:
    $ sudo gdisk /dev/disk0
    Assuming you are using your mac partition and your primary hdd is disk0.  That will put you into an interactive session of gdisk.  Enter "?" for command options.  What you need is the "recovery and transformation" section which is the "r" I think.  From there I would say you probably want to create a new hybrid mbr (you will be using this to delete it).  When it asks you for the partitions you would like to include, just hit enter.  It should then ask you if you would like to create a protective entry for the remainder of the empty space.  This is what you want so tell it to do that.  After you are done, "w" will write and exit.  You may want to first use the "p" to print and ensure that you have what you want.  You can proabably check your work by using fdisk as so:
    $ sudo fdisk -l /dev/disk0
    I hope this helps you, and if you find that there is a better way, I hope you might enlighten this thread. 
    Cheers!
    PS The command examples, the $ is to indicate it is a bash/shell command as a non-root user, do not include it in the command.

  • How can I remove the BootCamp partition? as the size i created ws too small to install MS Office on 64Bit Windows 8.1 on MacBook Pro (Aug'13)

    How can I remove the BootCamp partition drive for Windows 8.1, as the size which I created was too small for me to install Microsoft Office onto Windows 8.1 64-BIt. The machine which I have is the MacBook Pro 13' inch purchased in August 2013.

    Either use Paragon's CampTuneX to resize it or use Boot Camp Assistant to remove the partition and restore the drive to one partition. Then create a new, larger Boot Camp partition. This will remove/delete/erase your Windows system.

  • How can I remove all my preferences and settings from mail and do a clean install of mail app?

    How can I remove all my preferences and settings from mail and do a clean install of mail app?

    Open mail > Preferences > Accounts
    Select the account and click the minus button at the bottom of the column.
    Quit mail
    ~/Library/Preferences/com.apple.mail.plist move this file to the trash and empty it.
    ~/Library/Mail/ and move all of the items in that folder to the trash and then empty it.

  • I"ve installed accidentally a "Radio Bar", and how can I remove it?

    Hi there! How can I remove a certain "Radio Bar" that was installed accidentally above my Firefox Bar? Thanks a lot!

    Go to "Tools" click on "Add-ons" next select "Extensions" then highlight the line item i.e. "Radio" the select Uninstall or Disable.

  • I bought an iphone 4 used. I installed ios7 before I realized that the previous owners e mail and password are still in the phone. How can I remove this so that I can use the cloud and "find my phone " features?l an

    I bought a used iphone. I installed ios 7 before I realized that the previous owner's email and password are still in the phone. How can I remove them so that I can use the icloud and "find my phone" feature?

    Thanks so much! It will be kinda weird to contact the person directly, but I guess I will give it a try. Is there anything that I can refer her to in this discussion to let her know I am legit, and not a creeper? Also, I don't know if you can answer this or not. When I plug my phone into itunes, and it says that it is backing up, does that mean that it is going into the other person's cloud, since I cannot access it?

  • I am trying make a flash drive bootable so i can install OSX Mountain lion it BUT it has MBR partition on it how can i remove this partition

    I am trying make a flash drive bootable so i can install OSX Mountain lion it BUT it has MBR partition on it how can i remove this partition
    Regards
    Warren

    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • Hello  i have installed above CC   and without my knowledge the machine has now adobe cc and cc 2014  how can i remove the CC and move the lug ins to the new CC 2014

    Hello
    i have installed above CC
    and without my knowledge the machine has now adobe cc and cc 2014
    how can i remove the CC and move the lug ins to the new CC 2014

    Hi
    well could you confirm me, the plug-ins you have installed in Photoshop cc, are you able to use the same in the Photoshop cc 2014
    you just have to remove the Photoshop cc from the add or remove program in the control panel
    and you can go to this link and copy all the plugins to the Photoshop cc 2014
    http://glyndewis.com/plug-ins-adobe-photoshop-cc-2014/

  • How can I remove old Bonjour in order to install iTunes?

    5.0?
    how can I remove old Bonjour files and registry in order to install iTunes to update my ipad to ios 5.0?

    You simply need to correct your birth date? Don't create a new account.
    Go to https://appleid.apple.com/
    Sign in with your Apple ID and password. Choose "Password and Security" from the left column, answer your security questions, and fix your birth date under Select your birth date.
    Save
    Done.

  • Help please.  How can I remove malware from my computer?  I keep getting this pop up Mac Protector it wants to charge me $59.95 to install, I know this is a scam because my computer is also pulling up **** signts

    How can I remove this malware virus on my compter.  I keep getting this pop up and it says my computer is infected and I need to instal this Mac Protector.  It wants to charge me $59.95, i call the MAC store and they said this was fake.  I asked how I could remove and they referred me to this website.  Can anyone help , it is real annoying I keep getting these **** pop ups too.

    This is an excellent article with removal instructions:
    http://www.reedcorner.net/guides/macvirus/

Maybe you are looking for

  • How to Open a Specific Folder in the Finder via Shortcut Key

    I'm sure this has been covered elsewhere, so sorry for not finding it... Is it possible to assign a shortcut key to open a specific folder with Automator or AppleScript? There are 4-5 commonly used folders buried 10-11 levels deep on a server and I'd

  • How can I send a pages doc. to someone with a PC(word) so that they can open it?

    How can I either change my Pages document into a Word document, Or send it to someone with a PC/Word so that they can open and read it? (My email is gmail).

  • Build Issue

    Hi Experts, We are having issue with the local build of DC in NWDS. We are having a Track which contains few SCs, now a new SC has been created and further new DCs in the newly created SC. Now when I am trying to build the new DC it is giving me the

  • How do i get pictures back i deleted from the camera roll?

    Not from the fotostream folder. I wanted to split up my pictures into smaller folders, so I copied the pictures to my new folder and deleted them in the main folder. They're all gone now. There is a backup from early last night, but I'm looking for a

  • Coordinate system

    I am having trouble getting my local-world-view-screen matrix setup right. First, coordinate system is: +x to the right +y down +z into the screen right? this is what I get from Vector3D class. But now that I am thinking of it DirectX and OpenGL have