Serialized versioning between JRE releases?

I am planning to serialize some core Java language objects to disk (String, Polygon, Rectangle, others). If I do this, can I guarantee that those objects can be de-serialized by newer versions of the JRE? In other words... if a user serializes several objects using JRE 1.3.1, and another user trys to de-serialize the objects using JRE 1.4.1, 1.4.2, or 1.5, will it work?
Another way to ask the question is: Does Sun "do something" to guarantee no compatibility issues between serialized objects in different releases?
Thanks!

I am planning to serialize some core Java language
objects to disk (String, Polygon, Rectangle, others).
If I do this, can I guarantee that those objects can
n be de-serialized by newer versions of the JRE? In
other words... if a user serializes several objects
using JRE 1.3.1, and another user trys to
de-serialize the objects using JRE 1.4.1, 1.4.2, or
1.5, will it work?
Another way to ask the question is: Does Sun "do
something" to guarantee no compatibility issues
between serialized objects in different releases?
The new versions backwards compatibly. so there will be no problem of compatibility.
You can take a look at this :
http://java.sun.com/j2se/1.5.0/compatibility.html
Thanks!

Similar Messages

  • How to switch between JRE version dynamically

    hi,
    I have got both jre1.4.1 and jre1.5.0_07 installed on y machine. But i need different version of jre to access two different applications.
    How can i switch between jdk versions.

    Are the JREs being invoked by a browser, if so you can define the preferred version.
    In IE
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        width="100" height="100" name="anApplet">
        <PARAM NAME="code" VALUE="yourClass.class">
        <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4.1">
        <PARAM NAME="scriptable" VALUE="true">
            No JDK 1.2 support for APPLET!!
    </OBJECT>Substitute type paramter for
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.5.0">When running a Java 5 applet
    In Firefox
    <object classid="java:yourClass.class"
                  type="application/x-java-applet;version=1.5.0"
                  height="100" width="100" >
    </object>Bamkin

  • Difference between, jre, jdk, sdk and j2se

    Dear Sir/Madam,
    I want to do some java and j2ee development and run these applications in a java application server environment. Can anyone give me some advices on what should i need to download? Moreover, what is the difference between, jre, jdk, sdk and j2se? Should i need to download all of jre, jdk, sdk and j2se?
    thanks and regards,
    david

    JRE is the 'java runtime environment'. It is responsible for creating a Java Virtual Machine to execute Java class files (e.g., run Java programs)
    JDK is the 'java development kit'. It is the same as the 'SDK' (at least in my mind). It normally comes bundled with a JRE and also allows you to compile Java source files into Java class files. The JDK allows you to both write and run programs.
    J2SE is "Java 2 Standard Edition". It can refer to either a JDK or JRE. This is 'core' Java. There is also J2EE "Java 2 Enterprise Edition" which allows you to write middleware or server code more easily.
    Your final choice will be which version. If you want the current, most common implementation:
    J2SE 1.4.2, J2EE 1.3
    If you want to skip ahead to the next generation, the latest releases would be:
    J2SE 1.5 (also called J2SE 5.0) and J2EE 1.4
    - Saish

  • What's the difference between JRE and HotSpot

    What's the difference between JRE and HotSpot?
    Where can i find HotSpot for Solaris?
    tks!

    The difference between the two is explained at:
    http://www.sun.ca/software/communitysource/hotspot/
    and
    http://www.sun.ca/software/communitysource/hotspot/faq.html
    It's included in the J2SE v1.3.1 release.

  • How to know the database changes between different releases

    Where can I get the information of database changes, like for example new columns new tables, etc, between different releases?
    My goal to try to determine the current version, or is there a better way?
    Thank you

    For JD Edwards World or for JD Edwards EnterpriseOne - you can go to upgradejde.com Once this screen comes up, pick Resources. You will then have an option to take JD Edwards EnterpriseOne or JD Edwards World. On the next screen, you can select the tab Compare Releases. This will allow you to enter the release that you are currently on and enter the latest GA release of software. You will then see all the differences between your current release and the release you should upgrade to. You can also format this into a printed report.

  • Transport between different releases

    Hi,
    Is it possible to have transports between two server with different releases,
    one is on 701 and other is on 700,
    pls advise.
    Thanks

    Hello Irfan,
    Transport of customizing between diffeent releases is NOT supported. Also generated objects, which were generated by customizing, should NOT be transported between different releases.
    SAP objects may NOT be transported between different releases (e.g. a table in an old release could have less fields than in the newer release and thus such a transport might delete data or if an abap calls a function module and in new release have one parameter more,then you get syntax errors if you transport only one of them from a system with the old release, ...).
    So data loss and severe inconsistencies can happen if you transport SAP objects between different releases, or between systems with same release but different support package level or between systems with different addons or different add-on versions etc.
    For pure customer objects (e.g. Z-tables, Z-programs, Y-tables, y-programs or objects in customer name space) it might be ok to transport them. But if e.g. your Z-table uses an SAP data element which has maybe been changed in the new release or does maybe no more exist, you can also get problems during transport of your z-table.
    Data loss and severe inconsistencies can happen if you transport SAP objects between  different releases, or between systems with same release but different support package level or between systems with different addons or different add-on versions etc.
    Please check the following:
    1090842   Composite note: Transport across several releases
    1089083   Transports between Basis Releases 7.0* and 7.1*
    556734    FAQ Transport: Setup and further information
    Pay attention to point 5 and 6.
    5. Are transports possible between systems with different Support Package versions?
    6. Are transports possible between different R/3 releases?
    Best Regards
    Niraj

  • Can't run my app with older version of jre anymore.  Help!

    Java Web Start is supposed to allow applications to use older versions of Java JRE. My applet uses 1.6.0_31 because it doesn't work with 1.7. (Backward compatibility? Don't ask.)
    When I first set it up a couple of weeks ago, it worked. Now, with JRE 1.7 officially released it does not. When I try to run it, I get the following message:
    "This application would like to use an older version of Java (1.6.0_31) that is not installed on your system. We recommend running the application with the latest version o java on your computer. Then there are two buttons.
    One button says "Run with latest version". The other button says "Cancel". When I click on "Cancel" the application fails with the following
    basic: LaunchDesc location: http://relativitysimulation.com/Applet.jnlp
    network: Created version ID: 1.6.0.31
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7
    network: Created version ID: 1.6.0.31
    network: Created version ID: 1.6
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7
    network: Created version ID: 1.6.0.31
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7.0.03
    network: Created version ID: 1.7
    java.util.MissingResourceException: Can't find resource for bundle sun.applet.resources.MsgAppletViewer, key appletpanel.ExitException[ 0]
         at java.util.ResourceBundle.getObject(ResourceBundle.java:393)
         at java.util.ResourceBundle.getString(ResourceBundle.java:353)
         at sun.plugin2.applet.Applet2MessageHandler.getMessage(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.logAppletStatus(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:722)
    basic: ExitException[ 0]
    ExitException[ 0]
         at com.sun.javaws.ui.SecureStaticVersioning.showCannotDownloadDialog(Unknown Source)
         at com.sun.javaws.ui.SecureStaticVersioning.canAutoDownload(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager$JnlpLaunchState.doJvmSelection(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:722)
    security: Accessing keys and certificate in Mozilla user profile: null
    security: Reset deny session certificate store
    Looks to me like Cancel does not mean "Run Older Version". While I am debugging why I can't use the latest version of jre, can someone please tell me how to use the older version?
    Edited by: 932841 on May 8, 2012 8:54 AM - corrected typo

    I'm the developer. And thank you for your prompt response. I have been given a work around so that the applet can use version 1.7. But that still doesn't explain what I am doing that makes Java fail to use the older version.
    I put this code in my jnlp file on March 27th when I realized that my app didn't work with version 1.7. I tested it at that time and it worked. In the process I installed and uninstalled java 1.6.0_31 ( and 1.7) several times. Maybe something important got corrupted then.
    <resources>
         <j2se version="1.6.0_31" href="http://java.sun.com/products/autodl/j2se"/>
    Added this -----
    Oh, if someone else wants to try this app on their machine, feel free. It is at
    http://www.relativitysimulation.com/Applet.html
    Edited by: 932841 on May 8, 2012 11:13 AM

  • Stable version of jre for EBS...

    On of my end-user uses jre6r31 version, and I want to if it's so safety for business... if not what is the official stable version of jre we can use to get more productivity of r12...

    Yacouba wrote:
    On of my end-user uses jre6r31 version, and I want to if it's so safety for business... if not what is the official stable version of jre we can use to get more productivity of r12...
    The latest certified version of JRE which is certified with R12 are:
    JRE 1.7.0_25 (7u25)
    JRE 1.6.0_51 (6u51)
    Deploying JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1]
    It's recommended you have the latest security patches applied -- Critical Patch Updates and Security Alerts
    Thanks,
    Hussein

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System?
    i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
    Now the JRE is jdk1.3\bin
    When run class that was compiled with jdk1.5,throw:
    java.lang.UnsupportedClassVersionError
    How can i change the jre to 1.5?

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • Can I have two active versions of JRE on the same PC?

    Some one please advice me if I can keep two different versions of JRE on the same PC running under Win NT. I have to use one version(1.2.2) of JRE for running an application and a later version(1.3) for running some other applications.
    I tried to install both and when I checked the registry entries, only one verion seems to be active at a time. Is there any workaround?
    thanx,
    Anoop.

    Multiversion support is available in JDK 1.4.
    You can download JRE 1.4 Beta 3 from http://java.sun.com/j2se/1.4
    and test this functionality.
    The following url discusses this topic in detail with a mix of version 1.3 and 1.4 examples. Similarly, you can have a mix of version
    1.2 and 1.4 also for your needs.
    http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/version.html
    Hope this helps.
    Cheers!
    Sun-DTS

  • In latest version of MF there`s missing button, which was in previous version: between buttons back/forward and the typing bar there used to be little flash, which showed few last pages I have just browsed. How can I restore it?

    In latest version of MF there`s missing button, which was in previous version: between buttons back/forward and the typing bar there used to be little flash, which showed few last pages I have just browsed. How can I restore it?

    If you mean the drop marker then you can still get the History of the Back and Forward buttons if any by either Left-Click and hold for a second or by Right-Clicking them.
    If you still want the drop mark there also then there is this Extension at https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/
    Also the abbreviation for Firefox is '''Fx'''

  • I get a message that says "This version of pre-release ios will expire in 7 days" What should I do? I am currently running ios 8 GM and I can't update to the public release version.

    I get a message that says "This version of pre-release ios will expire in 7 days" What should I do? I am currently running ios 8 GM and I can't update to the public release version. I am stuck in the beta. Itunes will not let me restore my iphone or update it. PLZ HELP ME

    Wondering if you have a current Backup on iTunes ...if yes you could put the iPhone in DFU Mode by holding the Home button while you plug in the lightning cable.  Then you could Restore the iPhone to Factory Settings on 8.0.2 and after a full Restore go back and then Restore from your Backup.  This happens every time a public release occurs.  Many folks on the Golden Master or otherwise in the AppleSeed program with a Beta version for some reason don't move to the official release ...then the software time-bomb hits and they can't upgrade.

  • How to find out if I am using a 32 bits or 64 bits version of JRE?

    How to find out if I am using a 32 bits or 64 bits version of JRE?
    If I have 2 instances of Java installed in 2 seperate directories, one 32 bits and other 64 bits on Linux. How do I identify which directory holds which version?
    Is there any command that can output this info?
    Regards,
    Billamama

    With a Sun JDK or JRE, you can use java -version:
    $ java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
    ... switch to the 64-bit JDK ...
    $ java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
    The last line says "64-Bit."

  • When was the latest version of itunes released?

    When was the latest version of itunes released? i opened itunes and it said a newer version was available but im not sure if its the same one i have? i have 6.0.4.2
    thanks
    -billy

    Maybe a week ago? Not sure of the exact date.
    But the newest version is 6.0.5.

  • My mother never opened/registered her AppleCare she bought 1 year ago. I was told I can't use her AppleCare for my 4s I got this month because a newer version has been released, she can't even use it herself. Is this true? Can she get a refund?

    My mother never opened/registered her AppleCare she bought 1 year ago. I was told I can't use her AppleCare for my 4s I got this month because a newer version has been released, she can't even use it herself. Is this true? Can she get a refund?

    Only one way to find out: call AppleCare.

Maybe you are looking for

  • HT4623 How do you get your music back on your phone?

    The update did not let me back up my iPhone. It just took over and showed I had to restore my iPhone. Now I do not have any music and it did not restore all my contacts. How can I get all contacts on my iPad to go to my iPhone? Which my iPad kept eve

  • How to find history of CUA setup and usage

    Hi there, A client is asking me to find out who connected a satellite system to the CUA system, and then who deleted it again. Does anyone know where to find this history of CUA setup? Transaction SCUL doesn't help, as the satellite system says it is

  • Which version of Oracle database is certified on  Windows 2008 R2 ( 64-bit)

    We have a Microsoft Windows 2008 R2 (64-bit) server. I wanted to know which Oracle database version is 100% certified on the above OS.

  • Reattaching iPhoto Assets

    Hello. I made an iPhoto slideshow movie within iMovie HD and subsequently deleted those iPhoto files. I re-imported the missing images to iPhoto, but of course iMovie is now using its old cache of .DV files it made based on the original pictures. Unf

  • Interproject Invoice Issue

    Hi , Will be thankful if anyone could help me out in the following issue: Created the Implementations Options - Cross charge enabled, Provider and Receiver information provide. Setup > Costing> Provider and receiver control enabled - Receiver informa