Different Versions of JDK 1.1.X

Anyone that can help. My school uses JDK 1.1.3, and I see that the version that my school uses is not on here. Does it matter what version I use, becuase I want to take the programs I right at home for school, and take to my programming class. Please answer as soon as posible.

I can't believe your school is teaching you java pre java2. I would disregard anything that they tell you to be honest, because anyone that knows anything about java would be using at least java2 (i.e. java1.2 onwards) six (nearly SEVEN) years after it was released!!!
OP, FYI we are now up to Java 1.4.2, and very shortly java 1.5 (the new nomenclature refers to this release as java 5, and each future major release will follow this pattern) will emerge in stable release.
The differences between java 1 and 2 are vast. The differences between java 1 and 5 are ridiculous.
I would seriously consider doing some extra reading outside of class, if it is compulsory.

Similar Messages

  • Problem in deserialization with different versions of JDK

    I have problem related to serialization, pls suggest the most appropriate solution, the problem is that I have a class AAAA.java which extends AbstractListModel.java class of JDK, and it is serializable. When i saw the serialVersionUID of AbstractListModel.java using the java tool serialver in jdk 1.3.1 from the command line it gives 2622425607724314306 (Unique ID of class) but when i saw it in JDK 1.4.1 then it given -3285184064379168730. As the UID is changed from JDK1.3.1 to 1.4.1, Now the problem is that i serialized a file which uses AAAA.java using the 1.3.1 and now i want to open that file in my project using 1.4.1 it gives exception.
    java.io.InvalidClassException: javax.swing.AbstractListModel; local class incompatible: stream classdesc serialVersionUID = 2622425607724314306, local class serialVersionUID = -3285184064379168730
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:459)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
    Can u suggest me appropriate solution as this file must be desirialized (Compatibility issue) as it is generated from project.
    U may also try using this command in jdk 1.3.1 & 1.4.1
    on command prompt
    serialver javax.swing.AbstractListModel.

    From the API (you already know this, though through experience...)
    Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.
    So there seems to be no easy solution (in 1.4 you would use XMLEncoder for persistence with future versions, no possible in 1.3.1). You will probably have to study the serialized code and figure out how to deserialize manually... like find what the header size and format is, how objects' classes and values are labeled etc, then rebuild the object on the receiving end using a datainput stream or something...

  • JNI with different versions of jdk

    Hi
    We currently have some JNI code that is running under jdk1.1.8. We are trying to upgrade to jdk1.2.2, and are fidning that the JNI is not working.
    Using jdk 1.2.2 I have re-compiled the Java class with the native methods, re-generated the javah header file, and made sure that the C program includes the right version of jni.h.
    When we try to call a native method that should return a String, it just returns null.
    Can anyone advise me on this - I am at my wits end!
    many thanks
    Lyndsey

    Need a bit more info. I've used JNI with 1.2.2 and it works fine.

  • What different of all version of jdk(include j2sdk)

    hi everyone:
    I have developed an application. But there are some other applications worked with our application. And these applications are written by java, and compiled and run by different version of jdk(or j2sdk) correspondingly. And these applications are B/S structure, the browser is IE. The situation is: if one version of jre is selected for IE, this application can run normally, but others may not run normally.
    So it puzzle me.
    I have 2 problems:
    1. How to detect the current version of JRE(including SUN JVM and microsoft JVM) with IE?
    2. What different of all version of jdk(include j2sdk)? Or where can i find the related document of the different?

    I'm not sure if you want to programatically detect the VM version or just be able to see what version it is. You could go to Internet Explorer's Advanced Tab and see what version is being used. If you want to detect or change it programatically, the only way I can think of is to change the windows registry entry (you'll need to verify this, I'm not sure this is the right key) in:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN\SELECT and change the Value of RegPath to the one you want. The JVMs can be found at http://java.com/en/index.jsp. You can also search Microsoft's website for JVM information.

  • Running multiple java apps simultaneously, using different versions of jre.

    I have a situation where I have 3 or 4 applications (and one applet) that were built over time, each with a different version of the jdk (ranging from 1.2.2.005 to 1.3.2). I need to know of a way (and it must exist) to run each of these applications on the same machine, and at runtime, have each application (or applet) run with its respective version of the jre. Certainly, one could change some source code and make all programs compatible with a particular jre, but that doesn't solve my problem if a new app is built with a new version of the jdk down the road. Currently, each runs fine by themselves, but if I try to run them together as different processes, some won't do anything because the default jre may not be what it needs. Would the Java Plug-in software have a role to play in this? Is there a way to specify (link) which application should use which jre?
    P.S. These applications (right now) don't have to interact or interface in any way. I just need to have them all running as separate processes on the same machine and be able to jump from one to the other.

    Write a batch file that sets the environment properly and restores it afterwards, here is a sample batch file we use which switches to IBM's JRE to run an app:
    OLDPATH=$PATH
    PATH=$PATH:"/usr/local/java/IBMJava2-13/jre/bin"
    OLDCP=$CLASSPATH
    CLASSPATH="/usr/local/java/IBMJava2-13/jre/lib/rt.jar:."
    OLDHOME=$JAVA_HOME
    JAVA_HOME="/usr/local/java/IBMJava2-13/jre"
    # put the command to execute your program here
    java -jar app.jar
    PATH=$OLDPATH
    CLASSPATH=$CLASSPATH
    JAVA_HOME=$JAVA_HOME
    This is for Linux, but it should be possible to write one for Windows too.

  • Different versions of JVM in a cluster

    Hi,
    Is it supported to run a cluster with nodes using different versions of JVM? Our customer has an application running 1.4 and we would like to use coherence grid edition on separated hardware. Is it better to use 1.6 or 1.4 on those dedicated nodes?
    Thanks,

    Hi Michal,
    Keeping in mind the recommendations of the Production Checklist...
    All other things being equal, homogenous deployments are usually less prone to surprises.
    But JDK 1.6 is noticeably faster than JDK 1.4, and features much better JMX support as well, so it's a probably the better option.
    Jon Purdy
    Oracle

  • Deployment warning -- Compiled by different version of Weblogic Server?

    ####<Aug 23, 2001 12:17:54 PM PDT> <Warning> <EJB> <alpha> <admin>
    <main> <system> <> <010004> <The EJB deployment named: registration
    was compiled by a different version of the WebLogic Server.>
    I'm using WLS 6.0 SP1.
    I'm getting the above warning messages for every jar file within my
    EAR file that I try and deploy. I can't figure out the source of this
    warning. I get this message in any of the following compilation
    cases:
    * compiling with BEA's default javac (Sun's JDK version 1.3.0)
    * compiling with Sun's javac (Sun's JDK version 1.3.0_02)
    * compiling with jikes
    The message seems misleading and doesn't make sense to me. Anyone
    know why I'm getting this error message? Anyone else getting these
    warning messages?
    Regards,
    JD

    Mihir Kulkarni <[email protected]> wrote in message news:<[email protected]>...
    Could you please post this message on the ejb newsgroup.
    The message does not seem to mean a different version of the java
    compiler, but different version of Weblogic's ejb compiler -
    weblogic.ejbc.
    Were these EJB's compiled by a previous version of ejbc, say, the one from
    51 ?
    No, these EJBs were never compiled against a previous version of ejbc.
    They were only created and deployed with WLS 6.0 SP1.
    Also, please check the generated file inside the build\ejbcgen directory:
    WLGENERATED to check which version of WL ejbc was used to compile it.
    Here's contents of the WLGENERATED file:
    #Wed Aug 29 11:04:33 PDT 2001
    WLVERSION=WebLogic Server Build\:\t6.0 Service Pack 1 03/04/2001
    22\:05\:05 \#
    101616\nWebLogic XML Module\:\tNot installed\n
    JD
    >
    JD Fagan wrote:
    ####<Aug 23, 2001 12:17:54 PM PDT> <Warning> <EJB> <alpha> <admin>
    <main> <system> <> <010004> <The EJB deployment named: registration
    was compiled by a different version of the WebLogic Server.>
    I'm using WLS 6.0 SP1.
    I'm getting the above warning messages for every jar file within my
    EAR file that I try and deploy. I can't figure out the source of this
    warning. I get this message in any of the following compilation
    cases:
    * compiling with BEA's default javac (Sun's JDK version 1.3.0)
    * compiling with Sun's javac (Sun's JDK version 1.3.0_02)
    * compiling with jikes
    The message seems misleading and doesn't make sense to me. Anyone
    know why I'm getting this error message? Anyone else getting these
    warning messages?
    Regards,
    JD

  • Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.6106' or later

    while Restoring a Site Collection from a different server i got below error in SharePoint 2010.
    Kindly let me know , which patch i have to install along with the download link please. i am unable to find the correct patch to download..
    Thanks in Advance,
    Tarun
    TARUN

    Hi,
    According to your post, my understanding is that you get an error when you restore a site collection from a different server in SharePoint 2010.
    I recommend that you can try to click the “KB2536599” for SharePoint 2010 version 14.0.0.6106 to download the patch from the following links and install the patch in your environment.
    http://blogs.technet.com/b/moss_it/archive/2011/08/15/lista-di-versioni-di-sharepoint-server-2010-o-sharepoint-foundation-2010-wss-4-0.aspx
    http://support.microsoft.com/kb/2536599
    After the installation, you need to run the Configuration Wizard. Later you should be able to restore this site collection successfully.
    For more information, you can refer to:
    https://ammarfassy.wordpress.com/2012/11/29/restore-spsite-your-backup-is-from-a-different-version/
    https://social.technet.microsoft.com/Forums/en-US/cb9fb524-2a65-4a59-8f09-fc86366dd1c2/restore-errorversion-of-14006106-in-power-shell?forum=sharepointdevelopmentprevious
    http://blogs.technet.com/b/stefan_gossner/archive/2011/07/12/june-2011-cu-for-sharepoint-2010-has-been-re-released.aspx
    http://www.sharepointdesignerstepbystep.com/blog/SitePages/SharePoint%20versions.aspx
    Best Regards,
    Yumi Fu

  • Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running The backup file should be restored to a server with version '12.0.0.6318' or later.

    am trying  to restore the bak file into a new  site collection in my sp 2010  standalone env.
    am getting error
    PS C:\Windows\system32> stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C:\mBKUPCOPY\Sharepoint_bankup.bak"
    STSADM.EXE : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running
    the current version. The backup file should be restored to a server with version '12.0.0.6318' or later.
    At line:1 char:1
    + stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C: ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (Your backup is ...6318' or later.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    As stated in the other thread on this topic you can't restore a 2007 backup to 2010, it needs to be upgraded.
    https://social.technet.microsoft.com/Forums/en-US/31c70f0a-5d89-4308-895b-af0c2b249114/restore-the-site-collection-from-moss-2007-to-sp-2010-site-collec?forum=sharepointadminprevious

  • Have just been told by BT that I need a new/different version of Thunderbird to work with the new BTMail system (used to be BTYahooMail) - do I?

    I have had btinternet email for years, and Thunderbird for a long time too and have been happy with both. Unfortunately, I am not technical enough to understand most of the help or instructions on the Thunderbird support/info pages, but did manage to get TB set up in the first place (ages ago) and it seems to have worked well since. However, on Friday both of my BT accounts (two numbers, therefore two sets of BT email addresses) were moved over to the new BT Mail from the old BT Yahoo mail. I was unable to log in to one of them, but the other one was fine - I had some 'screen sharing' help from a BT technical chap to sort it out. However, Thunderbird was unable to conect with the email servers. I told BT and the tech chap tried to sort it out on the screen share, but was unable to (and I was unable to follow what he was doing). Some months ago, I made some changes, as requested by BT, to enable the transfer to go smoothly (!) but the man changed some things on Friday, I think, as well. He was unable to fix the TB problem and I can't figure it out at all, and the lady from BT Tech help who I spoke to this morning (and who had managed to sort out my BTID log-in problem, thankfully) had a look and suggested that maybe I needed an updated/new/different version of TB or 'another email'. Well, I'd really like to stay with Thunderbird and was hoping someone here could explain it in plain english for me, please? I was wondering what would happen, supposing I need to download an updated/different version, if I did that and then sort of re-installed my existing BT email addresses (just as if I was starting again with Thunderbird)? I do hope there is someone here who can help - please - I'm rather fond of that little blue bird. Thank you.

    Just add the account again.
    File|New|Existing Mail Account&hellip;
    There should be no need to delete or reinstall anything. Re-installing Thunderbird itself is rarely useful, since doing this doesn't delete account data. Don't delete the old yahoo-based account until you're sure that everything you need to keep is in the new criticalpath-based account.
    CriticalPath is the name of the business providing email services to bt.com.
    Some not very reassuring reading [http://www.theregister.co.uk/2014/03/13/bt_likely_to_have_breached_data_protection_act_after_email_accounts_were_allegedly_compromised_over_http_and_details_kept_in_log_files/ here].
    You'd think bt could run their own email service, wouldn't you? Yahoo was generally seen as a poor choice. I'm not sure that criticalpath is any better.

  • Could there be independent VI paths for different versions of LabVIEW?

    Hello,
    When jumping between different versions of LabVIEW (6.1, 7.1, 8.5) it is annoying that the current path for one becomes the current path for the other. 
    If I am working with LV 7.1 in a folder dedicated to 7.1 VI's, and then open LV 8.5, I don't want 8.5 to go to that 7.1 folder by default.  Alternately. if I was working in LV 8.5, closed it out, and then I click on a 7.1 VI, I don't want it to open in LV 8.5. 
    I've tried changing the path options in each version of LabVIEW, but that doesn't seem to help.  Is there any way of isolating these folder paths from one another?  One of our newer LV guys accidently opened some 7.1 code in 8.5.1 and then saved it.  Luckily, I had archived code to return to, but it could have been a disaster.
    Thanks for any ideas,
    McSynth

    You're actually asking two different questions.
    The first question has to do with which version of LabVIEW gets launched when you double-click a file. This is an operating system thing. The one that gets launched is the last one that got used. (Your first question will be: can this be changed? Answer: Change the operating system. Or, play around with the registry each time you quit out LabVIEW.)
    The second question has to do with search paths. These are independent. However, a VI will contain information about its subVIs in terms of where to find them. This is not a function of LabVIEW, as it is a function of the VI. Thus, it will make no difference which version of LabVIEW you use to open the VI. You can, if you wish, modify the search paths that LabVIEW uses to find VIs for each version of LabVIEW from the Tools->Options menu. However, this will not eliminate the problem, and your best bet is to keep those backups frequent.

  • How can I distribute an application using Reprot generation Toolkit for MS Office for different versions of MS Office?

    I want to create an application which uses the Report Generation Toolkit for Microsoft Office. The office version of the target machine depends on what my customer has installed.
    From several discussions I have seen that the installer detects which version I have on my development machine. I'm not able to hold three or four machines with different versions (97,2000,2002,XP).
    I decided to do the following software architecture:
    I create a LLB MakeReport.llb with a VI called MakeReport.vi. With VI server I will start MakeReport.vi in MakeReport.llb. Over a named queue I will send a command from my application to MakeReport.vi. Then the report will be
    printed.
    I will create this LLB by saving MakeReport.vi with File>>Save with options...>>Application distribution. All neccessary VIs will be in the LLB.
    I will hold different directories for each version. I can create different version of the LLB. During installation of my application the LLB for the right version will be copied from the CD to the application folder.
    I know I will be restricted in testing my report in only one version and hoping it will be good in the other versions.
    I think that the difference lays only in the word and excel related llbs.
    1. Will my software architecture work or is it obviously wrong?
    2. How will I get all versions from the toolkit CD?
    3. Which is the registry key I must read to get the right version (a minor question, if somebody knows I do not need to search for myself).
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

    Lookout saves the files in .csv form which can be opened in Excel. I did make some progress by using the "append table to report" vi which allowed me to put values into an array and then those values were entered into my template on my report vi.
    Where I am stuck now is I want to be able to put values into my template from a .csv file, not from an array I have to manually put numbers in.
    Once those values are in my template I want to pull summed values from the template and place them into a final excel file for printing.
    I have attached examples of the files I am working with to help you better understand what I am trying to do.
    I hope that makes sense.
    Jason Phillips
    Attachments:
    HourlyTotalsTemplate.xls ‏120 KB
    eb_rain_gauge_ss.csv ‏23 KB
    EastBankHourlyRainReport.xls ‏28 KB

  • How can I save different versions in iMovie 11 (plus angry rant)

    Sigh. 
    My fiancee is sitting in front of the computer crying because iMove just messed up her project.  The project that was basically done.  The project she has to hand in tomorrow morning (it is midnight right now). 
    Who knows what happened.  Things apparently just jumped around and no amount of undoing is getting her back to where she wants to be (apparently she used undo, then tried to fix things, then tried to undo again).
    Which leads me to:
    *** was Apple thinking when they removed the ability to save a file?  Seriously!  Both of us are experienced computer users and both of us are in the (very vital) habit of saving multiple versions of a file.  We don't save a version every 10 seconds, and we don't save a version for every insignificant change.  But we do save versions whenever we feel we have hit a milestone.  And we would have done exactly that had there been some obvious way to do it in iMovie.
    OSX Lion (the first version of OSX that desperately makes me want to downgrade) is supposed to autosave so that you don't have to.  But iMove 11 apparently cannot do even this simple thing. As far as I can tell you work on your project and it is the *only* version of this project you can ever work on.  If you make a change, you can either:
    live with it
    or
    linearly undo as long as you have not quit the program.  Heaven forbid that it crashes or (like it just did right now) stops playing back audio and you have to quit and restart.
    There must be a way of saving different versions of your project so that you aren't messing with your one and only precious copy every time you make an edit.  Please tell me there is.  Or how do I get to the autosaved versions?  It is probably too late for her now (she has to redo most of the project to get the audio to line up again) but for future reference we could use some help.
    Sigh.  Now I have to go help her.  I feel so bad for her and I pretty much want to chuck the freaking computer through Apple's living room window right now.

    Sorry for your frustration.
    Here are two tips that may help in the future.
    To save a version, use FILE/DUPLICATE PROJECT http://help.apple.com/imovie/#mov3a61c0ec
    You might also consider using Time Machine backups.

  • How can I run two different versions of Firefox, the latest does not work with an important site I need to use?

    With the latest version of Firefox I cannot send "Quick Mails" to my students using the college's ANGEL system. I had to uninstall it and go to an earlier version. I prefer the newest rev.
    Any way to run two different versions. It does not have to be simultaniously. Seems to be a problem on both my Mac and XP systems.
    Thanks,
    Kim

    Currently I don't think there is a way to run two version of firefox at the same time. But you can install Firefox Beta or Aurora instead (which is build for future release for firefox) and help test it! Here's the link:
    http://www.mozilla.org/en-US/firefox/channel/

  • How can i deploy two different versions of the same application on the same server??

    I have two different versions of an application. One is a released version. And another version under development. I need to port this version of the application to the same server. I'm using the same classes and packages(except for some new ones). Is it sufficient if i change the name of my ear(application name). Or should i change my code also.

    Hi
    You can repackage the new versions of ear,jar and war with different names. I hope that should work well.
    Cheers
    -pradeep

Maybe you are looking for

  • Need help buying RAM

    Hello, I'd like to max out the RAM on my now 3-yr old iMac. I'm having trouble trying to discern what is the right RAM to buy. The sales guy at one store said I can actually add up to 1GB RAM to my machine, and that apparently, the RAM used is in thi

  • Re-sizing SAP

    Hi Experts, We have ECC 6 system, the SAP was implemented a few years ago. We are rolling out new businesses to the existing system using same customization template, also there will be additions to users. From sizing perspective this categorises as

  • Third Party Attendance System Integration with Oracle Payroll

    Hi, How to integrate Third Party Attendance System like Bio-Metric System with Oracle Payroll. Please help me in this regard. Thanks in Advance,

  • Art on Podcast Page but Not Search Results

    Podcast art shows up fine on my iTunes podcast home page, but only the generic podcast art shows on an iTunes search results page. From my brief research (clicking on other generic podcast art in search results), this problem seems unique to my podca

  • Java transfer script to iTunesU

    I am working on the transfer script to iTunesU. In this example http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/CustomizingYouriTune sUSite/chapter_8_section_9.html credentials=Instructor@urn:mace:example.edu:courses:fall06:eecs302:02&ide