JAVA_HOME keeps defaulting to somewhere else

Hello all,
I have the following sub-directories in this directory (/usr/java):
jdk and jdk1.5.0_15
Here are my environtment variables:
declare -x J2RE_HOME="/usr/java/jdk/jre"
declare -x JAVA_HOME="/usr/java/jdk"
declare -x JDK_HOME="/usr/java/jdk"
declare -x JRE_HOME="/usr/java/jdk/jre"I am trying to compile something and I get this error:
Error running /usr/java/*jdk1.5.0_15*/bin/javac compiler
Why is it using that compiler when my JAVA_HOME points to the jdk directory! Is it because of the names that are so closely related?!
**EDIT:* SOLVED, its a sym link, damn it!!!!!!!!*
Thank you for any help.
Edited by: abshirf2 on Sep 28, 2008 10:30 PM

Because you have that directory in your PATH and it is PATH (not JAVA_HOME) that determines which "real" command will be run when you type javac.

Similar Messages

  • Open a page by Firefox 5.0 then copy some texts. Close the Firefox. Try to paste texts somewhere else. Firefox can't keep data alive in windows XP clipboard...

    As I've already asked
    Why Firefox 5.0 can't keep data alive in Windows XP pro + SP3 ?
    Just test it as follows:
    1- Open a page by Firefox 5.0
    2- Copy some texts
    3- Close the Firefox 5.0
    4- Try to paste texts somewhere else (notepad, etc.)
    There is no data in clipboard if you close the Firefox 5.0

    ''the-edmeister [[#answer-666854|said]]''
    <blockquote>
    '''''"I created a second profile called Shopping. I imported the extensions from my default profile into it."'''''
    If you used Sync to do that "import", disable Sync for at least one of those Profiles.
    </blockquote>
    Thank you for your suggestion. I have Sync enabled for all the profiles. To my surprise, however, Sync was of no use in getting Default's extension collection into Shopping. For that I had to resort to the article http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox.
    I will try disabling Sync on Shopping.

  • Firefox 4 will not let me keep my bookmarks listed on the side bar. I can open them there but once I click somewhere else they go away.

    Firefox 4 will not let me keep my bookmarks listed on the side bar. I can open them there but once I click somewhere else they go away. On previous Firefox versions I could display my bookmark folders down the left side of my screen and just leave them there, accessing saved bookmarks when I needed to. Now with FF4 I can open a vertical column of my bookmark folders by clicking on bookmarks in the navigation bar but this won't stay there; if I click elsewhere they disappear. I could put a bookmark toolbar on my screen but this takes up more vertical space. I have lots of horizontal space that's unused. How can I go back to the display of bookmarks in previous versions?

    You can fix that by going to View -> Sidebar and click on Bookmarks.
    Or you could simply use a shortcut
    ''control + B''

  • Can Xcelsius flash files be integrated also somewhere else keeping the automated updating?

    Hello all,
    I ask regarding the dashboard, i'm using Xcelsius, I was wondering if the flash reports can  be integrated also somewhere else keeping the automated updating? Which tool? Including the Objectives tool
    Thanks !
    mazin

    Hi Mazin,
    You can integrate your swf file on to any custom portal or SharePoint. Yes, you can still set it to refresh on load and get the updated data. It depends on the type of connection and from where you are pulling the data.
    Hope this helps. Incase you need more information, you might want to elaborate more on your requirement.
    Thanks,
    Amit

  • Account is being used somewhere else

    Hi, I'm a Spotify Premium user using the Web Player and recently I keep getting the following message:"Spotify has paused because your account is being used somewhere else" Now before you say the usual lines, Yes I HAVE:Used the "Sign out everywhere" featureRemoved all "offline devices"Changed my passwords on Spotify and Facebook (I know that wasn't the issue anyway) If there was a feature to see a list of current sign-ins this issue would be really easy to debug for users. But I have no way of knowing why Spotify is deciding to trigger this error. Could anyone help me fix this issue? Many Thanks, EL 

    Have you tried clearing your cookies?
    This link can sow you how:
    http://www.aboutcookies.org/DEFAULT.ASPX?page=2#gchromex
    ~Joe

  • Soundblaster Audigy Platinum EX still keeps defaulting to 2 speakers. Please he

    Hi,
    I am still having this problem where my soundcard keeps defaulting to 2 speakers. I have a 4. speaker setup, and set the soundcard to 4 speakers, which works fine for a short while, but then I find that the setting has changed back to 2 speakers. I am running windowsXP. I never had this issue under windows98, but found I had this exact same problem with my previous soundcard, the sbli've 024 player when using that under windows xp.
    Is there anybody who can help, as this is now getting really frustrating.
    Iain

    hmm, seems to be a problem with many creative cards. This problem seems to only occur under windows XP, so obviously some kind of conflict somewhere. I thought once I had installed the latest drivers and service pack 2 the problem might go away, but how wrong I was Wish I could find out what actually happens to cause it to revert back to 2 speakers, but it seems to be completely random. I have got other users on this pc, and thought maybe it reverted when another user logged on with different settings, but I went into each users account and set each one (both in windows and the creative software) to 4 speakers, and it still reverted back too 2 speakers!!!. I even tried a completely fresh install of windows xp with little else installed, but still the same problem. I emailed creative about 6 weeks or more ago, but never got any answer.

  • What's Happening? Airport Scanning keep defaulting to the wrong place

    Hello,
    Recently my internet went down and I had to reset my router and modem to increase my speed. Ever since my airport keeps defaulting to the wrong location and I have to keep opening it up and going to my airport name but it won't. I've unchecked the check local networks box but have no idea what else to try.
    This is only happening on my Macbook and my iMac and older Powerbook seem to be fine. How can I fix this?

    Smokerz,
    Thanks, I did have my preferred network up top but have tried again and applied changes. We'll see if it sticks. For now I just keep moving it to my preferred airport every time it goes to another one.

  • I need to send encoded Blu Ray File to be Burned somewhere else?

    Usually I click burn Blu ray in Final Cut’s share feature and I run it all the way through to create disc.
    Now I would like to send the encoded file to get burnt somewhere else.
    What would be the best recommended way to do this and keep the menu intact and what would they need to burn the Blu Ray disk, they have Final Cut Studio as well.
    Thank you.

    Deyson wrote:
    On their end, will they need to just drag and drop to do a burn?
    I would imagine so, but I've never done so I'm not sure. You have a blu-ray burner right? Try it out. make an image and then try to burn it.
    According to http://www.kenstone.net/fcphomepage/burn_br_mac_superdrivestone.html
    +If you select 'Hard Drive (Blu-ray)' and create a Disk Image, you will only be able to burn this Disk Image to a Blu-ray disc using a Blu-ray burner.+ This tutorial is how to burn a AVCHD disc with a DVD burner.

  • Spotify paused because account is being used somewhere else

    Hello, I have spotify on both my iPad and iPhone. My iPhone works fine but my iPad constantly gets an error while playing saying that "spotify has been paused because your account is being used somewhere else", but it is definitely not. I've even checked to make sure the application is closed on my iPhone and I also have never logged in anywhere else. I also have an issue connecting this account with Facebook. I had an old free account connected to Facebook, which I thought I unlinked, and it won't let me connect my new premium account. Please help.

    Have you tried clearing your cookies?
    This link can sow you how:
    http://www.aboutcookies.org/DEFAULT.ASPX?page=2#gchromex
    ~Joe

  • I could always check my data useage under settings: general - useage - since updating to iOS7.0.4 the option is not there anymore - Has it moved somewhere else or just not an option anymore?

    I used to always check my data useage on my phone
    SEttings: General: Useage so I could keep track of it and I would reset on the
    day my phone provider account reset - since doing the update iOS 7.0.4 I cannot
    find this option anymore - does anybody know if the option is still there and has
    been moved somewhere else or the option is now just gone?  Any ideas would
    be greatly appreciated

    If you are referring to the cellular usage, it is now located in Settings>Cellular. That will give you phone call usage and cellular data usage.

  • Outgoing mail keeps defaulting to a secondary account rather than the account I sent the message from?

    I have a new MacBook Air. I have two google mail accounts set up in the mail app  - one primary account and one secondary account. For some reason my outgoing messages keep defaulting to the secondary account. Even when I create a new message or reply to a message from the primary account and have the primary account highlighted, replies keep coming back to the secondary account. When I hover over the outgoing email address, it looks like it was sent from the secondary account even though I sent it from the primary account. I've gone into settings and looked at everything, and I still can't figure out what is causing this problem.

    i know it may sound crazy, but it does.
    I sent the same email out through my outlook and the person received the correct version. There is an issue with my Mail but thanks for the advice tho.

  • Whenever I try to save a file as a PDF, it tells me it can't save because the file is open somewhere else. This is not the case and I have tried it with different files. Please help. You can also call me at:(301)651-9616

    Whenever I try to save a file as a PDF, it tells me that it can't save, because the file is open somewhere else. I don't have anything else open. I have also tried different files and they all say the same thing. Help.

    Given there are so many problems and removed features in Pages 5, why not just continue using Pages '09?
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=432&mforum=iworktips ntrick
    Peter

  • How can I delete permanently a old Apple id?  my devises keep defaulting to my old id.

    problem: 
    I originally had a Apple ID that used a different email address.  I had to delete that email address as it was not accessable anymore.  I created a second Apple ID.
    But my iphone keeps defaulting and asking me for the password for my first apple id.  I have the new Apple id on my iphone, however some programs must be still linked to the first account.  It is driving me nuts.  How can I change the settings on the apps using the first apple ID, or somehow delete that account permanently. 
    I am using a iPhone 5 and also a Ipad mini that I bought this year.  Both are getting the messages.  Arrrgh. 
    my iPhone 5 will not back up to the cloud, even though I have the account under my settings set for the second account. 
    Appreciate if anyone can help me here. Thanks!
    Donna

    an Apple ID cannot be deleted.
    The easiest solution would be to delete all the apps you downloaded with the old Apple ID and downloading them again with the new one, because everytime there are updates available for the apps you downloaded with the old one, you'll need to log in with the old one.
    Logging in with the old one is still possible(provided you still have the password), regardless whether the emailaddress exists or not anymore, for an Apple ID it's just a username.

  • FF keeps defaulting to the wrong HTTP proxy server and port. I have to change it every time I attempt to open Firefox? How do I change it for good?

    The manual proxy settings keep defaulting to the wrong HTTP and port. This has caused me many hours of anguish. It works fine when I correct the settings but after you log off and then come back it has to be changed again. Is there anyway to fix it? Or can I go back to the previous version because 4 definitely has some issues (other than this one). I could live with it if I had to but I'm not the only one who uses this computer and they don't know how to make the changes. Thanks and I would definitely appreciate an answer.

    See:
    * http://kb.mozillazine.org/Preferences_not_saved
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I tried to change my persona and firefox keeps defaulting to my old one before I updated my browser.Is there anyway to change this without uninstalling the whole browser? Because I'd like to keep all my bookmarks and such. Thanks

    I uninstalled all other personas besides the default and the one I want and it still goes back to the old persona unless I keep firefox on default. \The desired persona is a sports one and it keeps defaulting to a surfing one.

    Hi. The two user tips both describe a sequence of steps that should get your library from the point where it threatens to wipe data from your device to where it is syncing normally, while recovering as much information as possible. It may still be necessary to wipe and reload the device but this should only take place once all the data that can be recovered has been recovered.
    Doing step 1 of 8 and then complaining things aren't the way you want them to be yet strikes me as premature...
    Since you appear to have all your media content, and we are discussing an iPod classic, not an iOS device, the main worries are already taken care of. What's left is ratings, playcounts, playlist membership and checked status. Since your device holds only part of your library at best you could only recover the missing data for the content that is on the device using third party tools.
    Recreating the previous checked/unchecked status of every track in your library from where you are now may not be that easy. Syncing with selected playlists has many advantages, one of which would have been that you would have a named playlist that could have been retrieved by 3rd party software if you had used this method.
    You haven't explained what caused your problem in the first place, but if you have a Previous iTunes Libraries folder holding old copies of your iTunes database (generated with each iTunes update) then it would be possible to restore the most recent of these and then update the library with any changes in your media folder.
    BTW Apple doesn't offer free support for this kind of issue with iTunes.
    tt2

Maybe you are looking for