Javac problem due to a wrong classpath - WHY?

Hi,
this is the initial part of my classpath:
luca@linux:~> echo $classpath
:/java/jdk/jre/lib/rt.jar:/java/jikes/rvm/2.3.0.1/rvm.classes:
As you can see the first entry is the rt.jar, while the second is a wrong path that leads to a directory tree where there are both classes and sources. In particular, under rvm.classes there is a structure similar to the java one, with the java directory, java/lang, etc.
With this (wrong) classpath, when I try to compile an application, the compiler stops due to problems compiling java.lang.Thread under rvm.classes. I've solved the problem inserting the right classpath in the second entry, but I'd like to know why the compiler asks me to compile Thread since it should be already available from rt.jar (which is the first entry).
Thanks,
Luca

You don't need to put rt.jar in the classpath, the compiler will automatically look there for classes. So perhaps you are confusing the compiler by putting it there. Take it out.

Similar Messages

  • Is it wrong or why Firefox uses it as an extremely large amount of memory? I'm running Firefox 7.0.1 on Windows 7 and it is more or less constant over 1.5 GB of memory utilization, twice as much as they early version 6. Best regards Jonas Walther

    Is it wrong or why Firefox uses it as an extremely large amount of memory?
    I'm running Firefox 7.0.1 on Windows 7 and it is more or less constant over 1.5 GB of memory utilization, twice as much as they early version 6.
    Best regards
    Jonas Walther

    Hi musicfan,<br />Sorry you are having problems with Firefox. Maybe you should have asked earlier and we could have fixed it.
    Reading your comments I do not see that rolling back to an insecure Firefox 22 will actually help you much. You are probably best using IE, unless you have also damaged that.
    *[[Export bookmarks to Internet Explorer]]
    You should not use old versions they are insecure. Security fixes are publicised and exploitable.
    * [[Install an older version of Firefox]]
    * https://www.mozilla.org/security/known-vulnerabilities/firefox.html
    Most others will not be having such problems. We are now able to say that with confidence because after developers missed a regression in Firefox 4 telemetry was introduced so that data was obtained. It may be an idea to turn on your telemetry, if you have not already done so, and decide to stick with Firefox.
    *[[Send performance data to Mozilla to help improve Firefox]]
    Trying safe mode takes seconds. Unfortunatly if you are not willing to do even rudimentary troubleshooting there is not anything we can do to help you.
    *[[Troubleshoot Firefox issues using Safe Mode]]

  • I have purchased two audiobooks from iTunes. They play perfectly for about 13 minutes and then abruptly stop. I have purchased other audiobooks and have not had a problem. Please, any ideas on why this is happening and what can I do to fix it.  Thanks!

    I have purchased two audiobooks from iTunes. They play perfectly for about 13 minutes and then abruptly stop. I have purchased other audiobooks and have not had a problem. Please, any ideas on why this is happening and what can I do to fix it.  Thanks!

    As long as you use your computer like King Penguin stated for Report a Problem, you should be fine. If you can't get to your computer, are not using your computer, or your computer is not longer in the mix since you have been using your iPad, email iTunes support about the problem.
    http://www.apple.com/emea/support/itunes/contact.html

  • HT5642 I need to update iOS 6.1.3 on my iPad2 to 6.1.6, due to security issue. Why is no update available? I do NOT want to install iOS 7, due to memory limitations.

    I need to update iOS 6.1.3 on my iPad2 to 6.1.6, due to security issue. Why is no update available? I do NOT want to install iOS 7, due to memory limitations.

    Any upgrade will be to the most recent, compatible version, in this case 7.0.6.

  • I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I just wanted to leave a note that it's working now. I'm not sure if it was the latest iTunes update that got it working or that i decided to start a new library instead of using the one i had backed up on Windows 8 (it didn't occur to me to check using the old library when i re-installed iTunes). But if anyone is having this problem, it might be worth trying again with a new installation of iTunes to see if the latest update works for you, and if not, try using a fresh library instead of a backup (by fresh library i mean discard your old library completely and start a new library, not just restore as new iPhone, a whole new library).

  • My macbook pro was repaired and since then i can't get nor photoshop or bridge to initialize. a window appears that says it has  initializing problems due to an icc profile issue.

    my macbook pro was repaired and since then i can't get nor photoshop cs5 or bridge cs5 to initialize. a window appears that says it has initializing problems due to an icc profile issue.
    there appear two error messages. the first one says that there has been a problem sincronizing because of a programme error. the second one appears after you clicked ok on the first window and says that photoshop couldn't be initialized because the icc profile is invalid.
    does anyone know if i have to delete any system or photoshop preference? the illustrator is also having troubles. thanks

    thanks! what finnally worked better was renaming the «settings» folder in te «color folder» in the library with ~before the name. now indesign is asking me for thw icc profiles but still works, so i asume i can reinstall color settings only for indesign and go on.

  • Mobile circuit problem due to technical problem wi...

    i bought nokia C3 with one year warranty.
    once it had some problem due to water falling on it..i repaired it with other agency.
    after some time its circuit was short and it stopped working..when i consulted nokia care for the same,they were not ready to take the responsibility for the same..
     this is my second Nokia mobile in which i had a loss..of around INR 6000/-
    i can't bear this amount every time..i suggest you to take a corrective action and pls do the needful..ASAP..so that i can have a clear idea about the further action to be taken against you.

    How is Nokia Care responsible if you got your set repaired at non Nokia care place(voids terms of warranty) after spilling water on it ( which also voids terms of warranty)?
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

  • I keep getting message in cs3 "could not print (filename) due to program error!" why?

    I keep getting message in cs3 "could not print (filename) due to program error!" why?

    Not a clue, since you provide no information whatsoever.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Every once in a while in Lion I am unable to drag files or icons they become frozen in place. Restarting fixes the problem but it happens again. Why?reachers

    Every once in a while in Lion (10.7.2) I am unable to drag files or icons, they become frozen in place. Restarting fixes the problem but it happens again. Why?

    Without any more information than you have offered it's difficult to say why. If it happens again check Activity Monitor (Applictions - Utilities - Activity Monitor) and see if you have anything taking a large %CPU. If you are getting a SBBOD then also check the FREE RAM which you will find in the System Memory tab in Activity Monitor.

  • I'm having trouble buying a season pass for The Americans. I have purchased passes to Justified for the past 4 years with no problem. Can't figure out why this purchase won't work.

    I'm having trouble buying a season pass for The Americans. I have purchased passes to Justified for the past 4 years with no problem. Can't figure out why this purchase won't work.

    What is the problem that you are having ? If you are getting an error message then what does it say ?

  • After i updated my firefox from 3.16 to 4.0.1, have some websites i can't load, and they showed: " database error" but b4 i never got this problem. Can someone tell me why ?

    after i updated my firefox from 3.16 to 4.0.1, have some websites i can't load, and they showed: " database error" but b4 i never got this problem. Can someone tell me why ?

    Nothing is working and I can't find the Roboform toolbar. Your lack of direct support is really irritating- a live chat at least would be helpful.

  • My computer keeps freezing and i dont know whats wrong, or why it keeps freezing

    my computer keeps freezing and i dont know whats wrong, or why it keeps freezing

    It's happening on FIrefox too.  It's not a browser issue!  I have tried all, Chrome, FIrefox and IE and it freezes after about 5 minutes sometimes sooner, sometimes you get a little longer, but not much.

  • Multipart problem is really makin me wonder why I chose Blackberry...Please help!!!!

    I am using a Blackberry Curve 8330.  I have already downloaded and installd the newest version of the desktop softwae and checked that I had the newest verion OS on my BB.
    I am using Outlook 2003 on a Windows Vista Home Premium computer
    Here is part one of the problem and something I can't deal without
    Since allowing my BB access to me email I can no longer iew any pics that are in the emails when using my computer.  I.E. I look at the email on my BB and delete anything I don't want to look into further.  Then I log into my computer and read the emails there so I can view the pictures.  But alas there are no longer any pictures to view.   I tried clicking "Download Images" and when it does there is nothing there. I understand not being able to view some pics on the BB that has the potentioal for downloading too much data.  But it shouldn't effect my computers ability t view them so why is it.
    Now for problem 2 and actually the reason for buying aBB
    Why can't I get my calendar to sync to my device?  I hav never had this problem with any lesser device so why does BB have trobles.  Is there a fix?  I am not getting any error messages or anything of the sort.  Acutally I am not getting anything and that's the problem.
    Solved!
    Go to Solution.

    Hi and Welcome to the Forums!
    Good job on fixing the image problem -- I honestly have not heard of the symptoms you describe, but at least you got it fixed.
    As for your calendar issue -- from what you describe, can we assume that you are using USB tether to sync your calendar to your BB from Outlook? You are not attempting wireless OTA sync, are you?
    As such, does your BB Desktop Software (DTM) say that it is configured for calendar? And does it make any attempt when you sync? Here is the KB that discusses how to configure DTM for USB sync of an Outlook calendar:
    http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB17106&slic...
    Hopefully something there will be of assistance.
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • My iphone was disable due to giving wrong passcode

    my iphone was disable due to giving wrong passcode and how to open it

    That would only happen if you entered the wrong passcode many, many. many. many, many times.  Hard to imagine how that would happen with your own phone...
    The only way around this is to restore the phone on the computer it was last synced with.

  • I have a problem in the program .. Why does not work ? :(

    I have a problem in the program .. Why does not work ?
    It look like the pic, !!
    Thanx alot,

    You have opened the render engine, not the full program.
    Mylenium

Maybe you are looking for