There are many rt.jar

Question 1:
==========
- I started with JDK1.2.2 but lately installed JBUILDER development tools that has JDK1.3 I assume I could delete the 1.2.2 files
- I re-adjusted the PATH env variable to contain c:\jbuilder\jdk1.3\bin instead of the previous c:\jdk1.2.2\bin. It did made my life easier when I compile my codes using javac (since I have deleted the old 1.2.2 folder)
This is not a classpath problem/question. I am not having any problem to find my user class when I try to run javac or java.
I assume javac (invoke it under the command prompt in DOS) will find its needed Java platform classes from the new directory jdk1.3 and not from the previous jdk1.2.2 folder. Question is:how does it know? I was told I could safely delete all files under c:\jdk1.2.2 after installing Jbuilder and I did.
Question 2:
==========
This is similar situation when running an application. I have installed the Java plug-in because I think I need them if I need to test an Applet running under a web browser. For some reasons I installed different versions of Java run time environments onto my same machine. In my machine folder c:\program files\javasoft\ I've got three(3) different subfolders 1.2, 1.3.1, and 1.3.1_02 now.
When I run the JVM command java or the Appletviewer command, how do I know whether the system will find it Java platform classes from the new c:\program files\javasoft\jre\1.3.1.02\lib\rt.jar or from the former c:\program files\javasoft\jre\1.3.1\lib\rt.jar folder?
Question 3:
==========
How about the rt.jar classes in the development kit. For example, the one residing under c:\jbuilder\jdk1.3\jre\lib\ folder? Which one is my machine choosing, this one or the one under javasoft\jre\1.3.1_02. And how could I find out?
Hope these questions make sense.

Question 1:
I assume javac (invoke it under the command prompt in DOS) will find its needed Java platform classes from the new directory jdk1.3 and not from the previous jdk1.2.2 folder. Question is:how does it know?
The PATH (not CLASSPATH) variable is used by Windows/DOS to locate executable programs. The current (working) directory is automatically included in this list. When you type "javac foo.java", Windows/DOS starts looking for an executable named "javac" - the extension could be exe, com, or bat - first in the current directory, then in each of the directories listed in the PATH, from left to right. The first match is executed; if no match is found, the error message "Bad command or file name" is produced. For the rest of the answer, see Question 3
Question 2:
I assume javac (invoke it under the command prompt in DOS) will find its needed Java platform classes from the new directory jdk1.3 and not from the previous jdk1.2.2 folder. Question is:how does it know?
This is a messy one. First, the current Java Plugin Control Panel has a tab that allows you to specify the version of the plugin. This has evolved from version to version, and the greatest change was made between 1.2 and 1.3. Because of the evolving changes, I'm not sure what you see. (I've forgotten, I'm using 1.4.1_02) Anyway, you can specify a version to be used. If it's left at "Default", then normally the last installed version is used (but problems that Sun has had can change this - see the Buglist). If applets are involved, then it gets really messy - see the Plugin Developer's Guide http://java.sun.com/j2se/1.4.1/docs/guide/plugin/developer_guide/contents.html for the details.
Question 3:
How about the rt.jar classes in the development kit. For example, the one residing under c:\jbuilder\jdk1.3\jre\lib\ folder? Which one is my machine choosing, this one or the one under javasoft\jre\1.3.1_02. And how could I find out?
Depends on what executable is invoked - e.g., the rt.jar that was installed with the version of the executable will be used (in a perfect world). In reality, Sun has had a number of problems getting this matter sorted out (the evolution, ya know), so there could be a number of posssibilities. And you're right, there are a couple of Registry key/values that are involved. The easiest way to find out is to experiment - just rename one of the copies and try it out.
You can delete all of the older versions - unless you need to maintain multiple versions for compatibility purposes. Sun (and me!) recommends this - in fact, you'll get the cleanest update if you delete the old version first, then install the new version. This is about to change though - Sun is working on a real update-in-place - and it may make it into 1.4.2.

Similar Messages

  • I have a MacAir, mid 2011 model, and want to view video on my TV.  I see that I need a mini display port to Hdmi but there are many of these.  What exatly do I need and how does one view a movie downloaded to the MacAir on a TV screen?

    I have a MacAir, mid 2011 model, and want to view video on my TV.  I see that I need a mini display port to Hdmi but there are many of these.  What exatly do I need and how does one go about viewing a movie downloaded to the MacAir on a TV screen?

    Welcome to Apple Support Communities
    That's exactly what you need. A Mini DisplayPort to HDMI adapter and a HDMI cable. See > http://support.apple.com/kb/HT4241?viewlocale=en_US
    This is the only way to view a video on the TV. After connecting your MacBook Air to the TV, image on your TV should show immediately. Then, press Command and F1 keys to mirror your MacBook Air display, and open the video

  • I cannot log into facebook. I get the following message: 404 Error - Not Found The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request,

    I am not able to go to the facebook site. www.facebook.com is not working. I get the following error message. 404 Error - Not Found
    The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory. Please verify that:
    * You have used the proper case; requests ARE case-sensitive!
    * You have entered the URL correctly. (i.e. proper directory/filename)
    * You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)
    * You use a tilde (~) before user directories. (i.e. www.furcen.org/~jurann/ )
    * The user/file still exists on this server.
    I also get redirected to "Busca Google" when typing www.facebook.com in the address bar.
    == URL of affected sites ==
    http://facebook.com; buscagoogle.com

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

  • In need of help syncing my VC3... and yes I know there are many post, BUT

    So,
    Here is the difference between what many of you might take as first instinct to reply by saying, "there are many questions regarding this topic already..."
    My phone has been syncing fine with iSync. It is not until today that it has decided to stop working properly. The message i get when I try to sync is, "synchronization has failed because the phone is not connected".
    As stated elsewhere in the forums, I have checked system profiler - and the phone comes up as noticed via USB port.
    Any ideas of what might be the issue here? I thought maybe there was a particular setting that needs to be turned on/off in either iSync or the phone itself.
    Any insight would be great!
    thanx,
    -Al-
    MBP   Mac OS X (10.4.6)  

    For anyone looking for info, just do a Google search - for many of the results you will have to do some reprogramming, but it's minimal, and best of all; works!

  • HT4623 My iphone and ipad share "notes," but there are many duplicates of several notes which makes it hard to use. Is there a solution to these duplicates??

    My iphone and ipad share "notes," but there are many duplicates of several notes which makes it hard to use. Is there a solution to these duplicates?? I am backing both up to the icloud. Help!
    Mark

    Hello Karen
    Check out the quoted section below to see if you any subject line is causing the issue of them not syncing.
    iOS: Syncing Notes
    http://support.apple.com/kb/HT4191
    Unable to sync notes with Outlook
    If notes are not syncing from Outlook, verify that you don't have any notes with no content or subject in Outlook. These notes can prevent Outlook from syncing as expected; removing them or adding a subject should allow syncing to resume
    Regards,
    -Norm G.

  • Sorry I can't create my account in my App store, because i am not in that region. I live in Cambodia. Can u fix it as soon as possible? Now there are many citizen in Cambodia use a lot if Apple products.

    Sorry I can't create my account in my App store, because i am not in that region. I live in Cambodia. Can u fix it as soon as possible? Now there are many citizen in Cambodia use a lot if Apple products.

    Go to http://www.apple.com/asia/support/mac/app-store/ , click on 'iTunes Store Account and Billing' then 'Billing Enquiries' to get a link to email them. Ask them whether there is a way you can purchase Apps, perhaps by nominating one of the listed countries (Vietnam, for example).

  • I want to watch 2d movies converted to 3d, is there any software which can do this for mac, i know there are many for windows.Or any player which can do this?

    I want to watch 2d movies converted to 3d, is there any software which can do this for mac, i know there are many for windows.Or any player which can do this?
    Or may be i can can watch normal 3d movies on my macbookpro with a glass?

    Xilisoft 3D Video Converter for Mac -  3D converter to convert 3D ...
    Mac 3D Video Converter - 3D Converter convert 2D video to 3D, 3D ...
    Convert DVD Movies to 3D Mac - Best 2D to 3D Converter
    4Media 2D to 3D Video Converter for Mac: Convert 2D video to 3D ...
    Convert 2D Video to 3D for Mac- Tutorial for You about Using 2D ...

  • There are many text messages from various 'small' numbers, such as 000254879. Anyone know what these are?

    There are many text messages from various 'small' numbers, such as 000254879. Anyone know what these are?

        Great question mhollomon! These may be spam or an  autotext type of message. Here's a great link with spam control links: http://vz.to/1m7f4ao
    JoeL_VZW
    Follow us on Twitter @VZWSupport

  • I am not able to use my apple id on my phone it show that there are many free user on this iphone plzz helpe out of this

    I am not able to use my apple id on my phone it show that there are many free user on this iphone plzz helpe out of this

    Where did you get the iPhone?
    What many free user are you talking about?

  • Why can I not change the alert of 9am on Calendar.  My day starts far earlier so I am unable to attend to the alert.  I am sure there are many who begin their day by 7am at the latest

    Why can the 9am default alert in Calendar not be changed.  I start my day far earlier so any alert appears too late to act upon.  I am sure there are many many others whose day starts long before 9am.  Alerts a day, a week or whatever earlier are not practical if action is to be taken on a specific day

    kaeandcolesmon,
    If you open the recovery drive (partition) it should only have a single folder (Recovery).
    To make sure that your not saving restore points to that drive.
    See:
    Start, Control Panel, System, System Protection tab. Make sure the D drive partition is set to OFF so that it does not save there.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • User can not receive mail, there are many mail notification pending (WF)

    Hi All ,
    In Production environment user can not receive mail, there are many mail notification pending (WF)..
    can anybody help me on this?
    Thanks.

    Hi ,
    This is my initial investigation...
    SQL> SQL> select fsc.COMPONENT_NAME,fsc.STARTUP_MODE,fsc.COMPONENT_STATUS,fcq.last_update_date
    2 from APPS.FND_CONCURRENT_QUEUES_VL fcq, fnd_svc_components fsc
    3 where fsc.concurrent_queue_id = fcq.concurrent_queue_id(+)
    4 order by COMPONENT_STATUS , STARTUP_MODE , COMPONENT_NAME;
    COMPONENT_NAME STARTUP_MODE COMPONENT_STATU LAST_UPDATE_DAT
    ECX Inbound Agent Listener AUTOMATIC RUNNING 12-DEC-10
    ECX Transaction Agent Listener AUTOMATIC RUNNING 12-DEC-10
    WF_JMS_IN Listener(M4U) AUTOMATIC RUNNING 12-DEC-10
    Web Services IN Agent AUTOMATIC RUNNING 12-DEC-10
    Web Services OUT Agent AUTOMATIC RUNNING 12-DEC-10
    Workflow Deferred Agent Listener AUTOMATIC RUNNING 12-DEC-10
    Workflow Deferred Notification Agent Listener AUTOMATIC RUNNING 12-DEC-10
    Workflow Error Agent Listener AUTOMATIC RUNNING 12-DEC-10
    Workflow Inbound JMS Agent Listener AUTOMATIC RUNNING 12-DEC-10
    Workflow Inbound Notifications Agent Listener AUTOMATIC RUNNING 12-DEC-10
    Workflow Java Deferred Agent Listener AUTOMATIC RUNNING 12-DEC-10
    Workflow Java Error Agent Listener AUTOMATIC RUNNING 12-DEC-10
    Workflow Notification Mailer AUTOMATIC RUNNING 12-DEC-10
    13 rows selected.
    SQL> SELECT message_type, COUNT(1)
    FROM apps.wf_notifications
    WHERE 1 = 1 AND mail_status = 'FAILED' AND status = 'OPEN'
    GROUP BY message_type;
    2 3 4
    MESSAGE_ COUNT(1)
    UMXUPWD 2
    POERROR 4
    POAPPRV 2
    APEXP 8
    IBEALERT 1
    REQAPPRV 2
    PORPOCHA 1
    APPEWF 1
    8 rows selected.
    SQL> select mail_status, count(*) from apps.wf_notifications
    where status = 'OPEN'
    and mail_status in ('MAIL','ERROR')
    group by mail_status;
    2 3 4
    MAIL_STA COUNT(*)
    ERROR 798
    MAIL 2578
    SQL> select tab.msg_state, count(*) from applsys.aq$wf_notification_out tab group by tab.msg_state ;
    MSG_STATE COUNT(*)
    EXPIRED 207
    READY 9063

  • There are many apps I purchased for my android phone that are exactly the same for the iPhone, do I have to buy these again or would the license transfer?

    There are many apps I purchased for my android phone that are exactly the same for the iPhone, do I have to buy these again or would the license transfer?

    Yes you need to buy them again. Apps written for one device will not run on the other.

  • How to improve performance when there are many TextBlocks in ItemsControl items?

       Hi,
       I'm trying to find a way to improve performance for a situation when there is an ItemsControl using UI and Data virtualization and each item on that control has 36 TextBlocks. Basically the item is a single string. There are so many TextBlocks
    to allow assigning different brushes to different parts of the string. Performance of this construction is terrible. I have 37 items visible on the screen and if I try to scroll up or down it scrolls into the black space and then it takes a second or two to
    show the items.
       I tried different things. For example, the most successful performance-wise was to replace TextBlocks with Borders and then draw bitmaps. In other words, I prepared 127 bitmaps for each character (I need ASCII only) and then I used those bitmaps
    to set Border.Backgrounds. It improved performance about 1.5 - 2 times but it consumed much more memory (which is not surprising, of course). Required amount of memory is so big that it throws OutOfMemoryException on 512MB emulator but works on 1GB. As a result
    I don't thing it is a good solution.
       Another thing that worked perfect is to replace 36 TextBlocks with only 6 TextBlocks. In this case the performance improvement is about 5 - 10 times but I lose the ability to set different colors to different parts of the string. It seems that
    the performance degrades dramatically with the increase of number of TextBlocks. Is there another technique to draw strings where literally each character can be of different color with decent performance?
    Thank you
    Alex

       Using Runs inside TextBlocks gives approximately the same improvement as using bitmaps 1.5 - 2 times faster but it is not even close to the case with just a couple of TextBlocks in the ItemsControl item. Any other ideas?
    Alex

  • 0 replies, even if there are many replies

    Hi!
    In most common I'm reading the ABAP development forums, and NOT only the subforums (like ABAP general, etc...).
    I mean this one:  SAP Community Network Forums  » ABAP Development 
    I don' t know what causes the problem, but in the 80% of the threads I see 0 replies, however the last answerer is different than the topic writer and when I get into the thread, I see there are already many replies.
    Please check it out.
    Thanx
    Tamás
    I'm using WinXP with the latest Firefox 3.6.1.

    3 months back Replies column coming in negative number ,however they managed to bring it to 0,
    may be in the next 3 months it can be positive.
    So lets be positive on it.
    Cheers
    Gautham.

  • Why Adobe dont want support for ArmV6 if there are many devices with these?

    Many people use Android devices with ARMv6 like: Galaxy ace, Motorola Defy, Galaxy y, LG Optimus One, etc, ect. I think that therea are more with ARMv6 that ARMv7 check: http://forum.xda-developers.com/showthread.php?t=1596800
    This link you can see the top 10 of the most common devices Android and the 3th is galaxy ace one devices with ARMv6.
    http://readwrite.com/2013/02/07/8-of-the-10-top-android-devices-in-use%20-belong-to-samsun g
    My Adobe friends. This is true. The big problem that have Adobe Air as framework for develop mobile Aplications is that, if you realy want that Adobe Air be truly one standard for the community, you need cover all devices, no some, otherwise Adobe Air will continue every day more in oblivion.
    If we as developer choosing Adobe AIR as platform to build mobile apps even as simple as "Hello World" or bank aplications, school aplications, enterprices aplications, there are a huge percentage of Android user cant run it. Which means our apps is going to losing millions or billions of potential customer because of chosing Adobe AIR.
    Another thing. Unity, Sencha, Titanium, etc, etc, etc have support to ARMv6 why Adobe don't want support these devices? - This causes only one result: the people will have to resign from adobe AIR mobile technology.
    I hope that Adobe understand and bring AIR support on all those lower performance device (ARMv6) especially those new ARMv6 device.

    To play devil's advocate:
    * The 3rd most popular phone you mention (Galaxy Ace) was released in Feb 2011. I'd say it's falling out of that chart fast.
    * Motorola Defy was released October 2010. Galaxy Y, October 2011. LG Optimus one, October 2010. If the flagship phones for the architecture are 2+ years old, it doesn't speak much for its market penetration.
    * Unity doesn't support ARMv6. As far back as 2011 they announced they'd focus on v7, and whatever support v6 might have is very limited. (Source)
    While I'm sure there's a place in the current market for armv6, it's something that's already legacy and it's going away fast. Not sure it makes sense to spend resources on that. "You need cover all devices" stops making sense when the effort necessary exceeds the returns. I don't see any "new" ARMv6 devices coming out either.
    ARMv6 is dying or dead, depending on how you look at it. It'd make much more sense to support a platform that has new high-end devices coming out (x86).
    If you as a developer absolutely need to support those old, low-end devices, using a simple framework like PhoneGap is a better solution.

Maybe you are looking for

  • Stock in transit for a particular date

    Hi all, How to find the stock in transit for a particular date. In MB5T date option is not available. Is there any other way or i need to gofor Z development. Kindly help me in this regard. Regards KK

  • Can't find photo button on itunes

    I want to add photos from my PC to my iphone but don't seem to be able to do it, looked online but don't seem to have/can't find a photos tab on itunes. Help!

  • Problem with Facebook

    Facebook has been integrated into OS X 10.8.2 which made it easier for user to post and share photos. I have been using it for awhile and there is no problem until 3 days ago. When performing a right click and trying to share my photo on Facebook, it

  • Japanese characters in left pane

    I have a project that has been translated into Japanese, and the left pane of my FlashHelp system does not render the characters correctly. The funny thing is that I got it to work in another project that was translated, one that I think was built in

  • RSD on while plugged in

    Well about 4 weeks ago i started experiencing the RSD, i came to these forums and found some suggestion to help and i tried them. For those 3 weeks my MB worked fine, then 6 days ago the RSD started again, I took my MB over to a friends house and use