Java is Platform Independent - good, but why is it not version independent?

Dear developers,
Development in java is becoming so independent to its versions. The code which works fine on 1.2.0 may or may not work on 1.3.1 and which works on 1.3.1 dont work fine on 1.4.0. I have been experiencing these problems from quite a few time. So i just want to know am i doing a mistake or java is like that only.
And even if a code works fine on 1.4.1 with using only methods and classes available right from 1.2.0 also didnt work properly on 1.2.0. So how can we go confidently in to Production.
Problems faced in GUI using Swing Components and In Socket Connections using HttpURLConnection kind of code.

Development in java is becoming so independent to its
versions.Actually Development in java is becoming so dependent to its
versions is what i mean.

Similar Messages

  • Why java is platform independent ?

    what is the meaning of java is platform independent ? is it just because of java code can be run in windows/linux/unix platform ? but then C/C++ also can be run in windows/linux/unix . so why those are not called platform independent ?
    why java is called platform independent ?

    c/c++ creates object code . similary java creates bytecode . java uses interpreter JVM to execute . similary c/c++ object code also executes in any platform. so where is the real difference ?
    the classes do not need to be recompiled for different platforms. what do u mean by this ? ".....classes ( i.e bytecode) dont need recompilation ..." .....ok....but same thing is true for C/C++ object code also !! they also dont need recompilation.
    where is the difference ?

  • How do u say java is platform independent

    how do u say java is platform independent.....when a .class file for a program cannot be executed in another system with no java installed in it.......

    Pictograms are language independent (sort of)
    do you expect them to work in the land of the blind?

  • In Siri, I can call by my voice, but why I can not use Siri voice call in my country (Laos), just can call only us phone number; my country we use like 3 number for option call, 8 numbers for call friend but Siri cannot use this please help us, thanks

    In Siri, I can call by my voice, but why I can not use Siri voice call in my country (Laos), just can call only us phone number; my country we use like 3 number for option call, 8 numbers for call friend but Siri cannot use this please help us, thanks
    And please help me can type Laos font in it like andrio phone.

    Hi Cozumel,
    Thanks for posting. I'm sorry you're having problems with your bills. I can take a look at this for you. Drop me an email with your account details and a link to this thread for reference. You'll find the address in my profile.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Transport shows successfull but why it is not taking effect in test

    Hi all ,
    I have changed my dataource and added some Z fields .
    But when i transport that to test system, i can not see the effect in test .
    Transport shows successfull but why it is not takin effect from the Dev Datasource changes to Test systems ?
    Please give me solution

    Hi,
    You can check the version of the data source.
    Check this version if shows the latest date and the TR number on which you have transported the data source.If it contains different one then select your one and activate it.
    You can actually activate the desired version.
    Just go RSO2->Extract structure->utiliteis-> version -> version management.
    Thanks

  • The left side of my home button is screen is kinda feel like hollow when I tap it and it makes a sound too. It is bulge,a little. I thought every ipad is hard to touch but why mine is not? Help please,what should I do?

    The left side of my home button is screen is kinda feel like hollow when I tap it and it makes a sound too. It is bulge,a little. I thought every ipad is hard to touch but why mine is not? Help please,what should I do? Please I need your help.

    The damage has been done then
    Take it to Apple and pay for a replacement
    Here in the States a replacement cost $229
    Allan

  • HT3209 I know my computer cannot play HD but why can I not purchase HD on my computer for my iPAD which can play HD?

    I know my computer cannot play HD but why can I not purchase HD on my computer to play on my iPad which is capable.

    Fast answers:
    1. Try resetting NVRAM/PRAM and SMC. Doesn't usually 'cure' keyboard problems you report, but it costs nothing and only takes a few minutes.
    https://discussions.apple.com/thread/3819550?start=0&tstart=0
    2. Try plugging in a USB keyboard. Doesn't absolutely have to be a Mac keyboard. A PC keyboard will work for a test. If the typing problem does not occur with the USB keyboard, you have a temporary solution until you can arrange to visit a repair facility.
    3. If your MacBook is older and has a user-removable battery, shut down the computer, remove the battery, and examine it for signs of 'bulging' or swelling. Then connect the computer to the Magsafe power supply, without reinstalling the battery, and turn it back on. If the keyboard problem has gone away, it was likely caused by a swelling battery.

  • Java platform and Java Deployment should be updated but there is no other version, always the warning to update but thats not possible

    Java Platform 7u9 and Java Deployment Kit plug-ins are yellow and asked to be updated.
    The problem is that there is no other version than I have already installed.
    Even if I try to instal this latest version again I've get the message that I already have the latest version.
    The same problem was with Flashplayer where I installed the latest version but three days Firefox asked to update the plugin.
    The last one is now ok but Java Platform and Java Deployment Kit is hopeless.
    Why it ask for an update if there is none?
    What should or can I do? I always be careful and patch my pc if necesserry.
    All my friends who are working with Firefox have the same problem.
    Can anybody tell me whats going on here?
    greetings, Mimi321

    Hi
    There is still an issue for me. When i check to see if add-ons are up to date it identifies "Java(TM) Platform SE 7 U9" as out-of-date and gives me an orange "Update" action. When i hit this it takes me to the Java website giving me "Recommended Version 7 Update 9". This is the one i've already got so i cannot get rid of the orange Update action buttons.
    Furthermore, if i try the link earlier in this thread to test to see which version of Java i should be using it says "Congratulations! You have the recommended Java installed (Version 7 Update 9)" so i'm not sure what this talk of version 7.10 is about?

  • I realize that change are good but why did u change Notes app?

    I understand need of improvement but they need to actually be better. With iOS 7 we receive good apps but why the **** they change Application Notes and mess up good product. Why new Notes are poor because font and background is no good previous was much better much clearer to read. So maybe some day before putting new system u can realize that u don't have to change every thin leave good stuff and work on something else

    If you want Apple to hear you you'll to talk to them directly. Addresses at the bottom of this page.

  • Just upgraded to version 11 but WHY does every new version get slower and slower!!

    Its way to slow to browse the store! I really hate Itunes, can you download from the store using an alternative software?
    If not is there a better alternative to this rubbish? I cant be doing with spending ages with the software hanging and hanging while I try to browse the store.
    I'm using ITunes on a Windows laptop

    Thank you for proving my point brilliantly. For the moment, I shall keep my rantings and the difficulties to myself because you obviously can not handle a bit of user's frustration. Too bad really, that you can not see it as an opportunity to make improvements and be a Hero in the process. I did say that Firefox works much faster, why did you not take that personally as well? ............. Another day, Slick ! ...........

  • Tips on avoiding hard coded paths and make a java app platform independent

    HI all,
    I would like to gather some tips on how to avoid hard coded file paths, which are plenty in the application I work on and which I inherited from previous programmers.
    Also, when deploying to the production server, my app goes from a Windows platform to a Linux machine.
    I am curious to know what tricks and tools other programmers find useful in similar contexts.
    I am sure many of us would benefit from the discussion.
    Thank you !

    Actually, Java does this for you; you can use unix-style paths and they will still work, even on Windoze. To wit:
    public static void main(String[] args) {
            File f = new File("/");
            System.out.println(f.getAbsolutePath());
    }Yields: C:\
    public static void main(String[] args) {
            File f = new File("/Program Files");
            System.out.println(f.getAbsolutePath());
    }Yields: C:\Program Files

  • How java is platform independent

    in java we need jre to be present in target machine?
    in that case how its possible that we should expect jre to present in tha target machines
    why cant we have inbuilt compiler and interpreter that produces the common machine specific code that does not needs the help for jre to run?????

    in java we need jre to be present in target machine?
    in that case how its possible that we should expect
    jre to present in tha target machines
    why cant we have inbuilt compiler and interpreter
    that produces the common machine specific code that
    does not needs the help for jre to run?????it's possible that we can expect the JRE to be present in target machines because you can specify that a JRE is a prerequisite to your customers. of course, oftentimes one can just ship a compliant JRE with your application. that's what we do, which guarantees us that the target machine has a JRE and it's compliant with our code
    what does 'inbuilt' mean? to the target machine? how do you enforce that?? if you mean inbuilt to your code, see above

  • My internet is good but why my i pad is not able to connect to the app store ?

    some reason it took so long to get update to ios 8, twice i had to rest the device since i was getting error all the time when i was trying to update from ipad itself, later i connected my ipad to i tunes on my desktop the it started updating and it took more than a hour.after updating my new ipad to ios 8 now its working slow in app store, it says not able to connect to the server , my net is working perfect though.
    fix my problem...
    thanks

    Hey blackapplebite,
    Thanks for the question. Based on the information you have provided, it sounds like you are experiencing issues connecting to the App Store & iTunes Store. The following resource may help to resolve your issue:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Thanks,
    Matt M.

  • 3rd party WSDL open in Internet explorer but  why PI  WSDL not opening

    Hi Experts,
    My scenario is synchronous Webservice from soap to proxy .
    http://110.234.207.11:55000/XISOAPAdapter/MessageServlet?senderParty=&senderService=GIS_PID&receiverParty=&receiverService=&interface=MI_TechnicalLossIn_OB&interfaceNamespace=http://pspcl.com/xi/GIS/IF0032_TechnicalLoss_100
    I am trying open this url in Internet explorer below the messages is getting
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.adapter.soap.web.MessageServlet (Version $Id: //tc/xpi.adapters/NW711_06_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#3 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of $Proxy441
    ModuleProcessorRemote not instantiated
    but same URL by using Oxygen and SOAP UI tools its working fine response aslo coming and success Flag in SXMB_MONI displyed everthying is fine.
    but my client  asking why URL not open Internet explorer and moreover third party they given WSDL  that file is open in internet expolerer.so
    my question is why third party WSDL open in Internet explorer and why PI generated WSDL file not open in internet explorer.
    please guide me where i did wrong and what should i answer to my client regarding above issue.
    I hope,could you please clearly given points.

    Hi,
        Firstly, you should not give the host name and port name of the URLs that you are using. It is your company's security issue.
    And the message that you get for the wsdl , when you open in IE is nothing wrong.
    The wsdl can be of two types. One is a design time wsd, where you will just see the structure, importing and exporting parameters. It does not have the binding parameters within the wsdl.
    When the same wsdl is implemented, then it has a binding with the backend system. It becomes a runnable entity. The wsdl generated from your PI system is one such entity (It is tied to a backend and is a runnable web service). Hence IE shows that message.
    Best Regards,
    Ravikanth Talagana

  • The firefox icon shows on my desk top and in my task bar, but why does it NOT show in my list of Program files?

    My Firefox icons are showing and usable from the desktop and from the task bar; however, the Mozilla Firefox does not show in my list of program files. Why doesn't it show?

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

Maybe you are looking for