Different format of .class file in different versions

I found that the format of .class files(extracted from rt.jar) in jdk1.3.1 are different from those in jdk1.3.0._02.
Can anyone tell me what's the exact difference between them?
and Is there any format difference between jdk1.3.1, jdk1.2, and jdk1.02?
any answers are appreciated

The format or the content? Those two are significantly different.
As far as I know there can't be any difference in format, not in 1.3.x versions. If there were then the class files wouldn't run in the different jvms, and a new spec would have to be issued.
I am rather certain that the isn't any format change between 1.1.x and 1.2.x/1.3.x. The spec is rather specific about what did change and the format was not one of those.

Similar Messages

  • Initialization error : class file has wrong version 49.0, should be 45.3 or

    I have Jdeveloper Base installation and JDK 1.5..the classpath and JAVA_HOME environment variables are set to the respective JDK1.5\bin folders. Even then when i try to make a web application, with a simple JSP page i get the following error :
    Initialization error: class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 on CLASSPATH ..(followed by a long list of paths)
    pls help,
    thanks

    i have windows XP. i have tried to unset the class path...i get the same error.
    i have JDeveloper 10g 10.1.2.
    i have changed the jdev.conf file to set the Java Home to the path that contains the JDK 1.5..

  • Class file has wrong version 51.0,should be 49.0

    Dear All,
    I have 2 jdk in my computer, one is 1.7 and another is 1.5. I got a eclipse from my co-worker, checkout project from svn, complied it successful. However, there is error : class file has wrong version 51.0,should be 49.0 when I run it in eclipse( this is google gwt project).
    One of my colleague said I should modify one cache file under the eclipse direcotry, but he forgot the loaction of this file.
    Anyone knows?

    After modified this file : org.eclipse.jdt.launching.prefs under : <project folder>\.metadata\.plugins\org.eclipse.core.runtime\.settings,
    this problem has been fixed.
    The modification is :
    add
    <libraryLocations>\r\n<libraryLocation
    jreJar\="D\:/Java/jdk7/jre/lib/resources.jar"
    jreJavadoc\="http\://docs.oracle.com/javase/7/docs/api/"
    jreSrc\="D\:/Java/jdk7/src.zip" pkgRoot\=""/>\r\n
    to it.
    eclipse is :
    Eclipse Java EE IDE for Web Developers.
    Version: Luna Release (4.4.0)
    Build id: 20140612-0600
    my questions are :
    1. what is this file used for?
    2. when use this file?
    3. why I have to add these information to it by hand rather than generate these automatically when I set jdk in eclipse preference?
    4. why this error occur if this file doesn't has <libraryLocations> when running project(the project compile success before running)?

  • Determine the Java Class File Major & Minor Version

    Did anyone tried to look at the Major & Minor version of a specific java class file.
    Our server is running in version 1.3. We are including a third party class file, I like to check before our production move, whether the file is compiled is <= Jdk1.3.
    Thanks in Advance.

    // 1) Download Jakarta BCEL
    // 2) compile this class
    import org.apache.bcel.classfile.*;
    public class Main
         public static void main(String[] args) throws Exception
              printClassVersion("c:\\foo.jar", "com/foo/Bar.class");
         public static void printClassVersion(String jarfile, String classfile) throws Exception
              ClassParser cp = new ClassParser(jarfile, classfile);
              JavaClass clazz1 = cp.parse();
              System.out.println(jarfile);
              System.out.println("Major: " + clazz1.getMajor());
              System.out.println("Minor: " + clazz1.getMinor());
    }

  • Footage of different formats on one timeline; also different frame rates

    I need to edit footage of different formats on one timeline. The end product will be compressed for the web so I do not need to be working in HD.
    I have been using the timeline settings for DVCAM (720 x 480) Anamorphic.
    I have broll footage shot and captured at 960 x 720 59.95 FPS DVCPRO HD 720p60
    And Interview footage shoot in DV Cam -- 720 x 480 29.79 Dv/DVCPRO – NSTC
    When I put the HD footage on the timeline and render it, it appears to be in fast-forward – as if I adjusted the speed of the clip. I am wondering if it is caused by the difference in frame rates and also what I can do about it.
    Thanks!

    The main bulk of your footage is DV and DVCAM, with some B-roll at DVCPRO HD, and you need to deliver HDCAM? Then you either need to have a dub facility use a Terranex to upconvert all the DV to DVCPRO HD, or you need to invest in a Kona 3 and use that to upconvert your footage to DVCPRO HD...and also use that to output to HDCAM.
    Shane

  • Problem in using different format for Image files

    We are generating a report wherein the logo (Image File) is changed with respect to the company's location.
    Here, we are making use of a Text field using a formula column as its source for getting the file path.
    When the Size is kept as "Expand" or "Variable", then, when the image size changes considerably, it gives problem, wherein the logo is not displayed.
    Then we increased the size of the logo field and kept thte size type as Fixed. But the probnlem which we face is because of the .bmp format which the report accepts.
    This is because, when the format type is bmp, upon increasing the resolution or size of the bmp increases the size by several folds( say from 70kb to almost 1000 or 1500kb) which leads to the error "Memory cannot be read" and leads to abrupt application termination.
    Is their any way by which i can make use of GIF format for the image file and at the same time change the file name at runtime.
    Eagarly waiting for an early solution.
    Thanking you in Advance,
    Ramnath Balasubramanian

    Hi,
    You can only use one Apple ID with iTunes match. Purchasing another match subscription using wife's Apple ID is not a solution. I can only suggest that you use your ID for match and all iTunes music purchases.
    Jim

  • Different format for page numbers on different pages

    Hi guys,
    Currently I'm about to finish my thesis. Pages has been a great help with everything, until now. The problem is that I want to add page numbers, but some pages should have a different numbering then others. To clarify here is my table of contents with the desired page numbers:
    -Figures          i
    -Tables          ii
    -Acronyms     iii    
    -Chapter 1     1
    -Chapter 2     15    
    -Chapter 3     27
    -Appendix     iv
    -Summary     v
    So the stuff that is not directly main content should be numbered in roman numbers. The chapters then can have normal numbers.
    I've been trying for a while to make this happen now, but without luck. Anyone know how to accomplish this? I would be very thankful.

    Divide into Sections by inserting section breaks between and make the Roman numerals the first part and restart the numbering at Chapter 1:
    Inspector > Layout > Section > Start at: 1 / uncheck Use previous headers and footers
    To change the numbering format in the header or footer, right click on the page number and choose what you want.
    Peter

  • Exporting different formats in the same sequence.

    I created a sequence in FCE mixing both DV footage and MP4 footage (H.264 codec). I had no problems importing into FCE and working with both at the same time.
    When I export quicktime movie to idvd and watch the dvd on a tv, the dv footage looks beautiful but the MP4 footage is very blurry.
    I then tried many different compression options for export, but anything that makes the MP4 footage look good makes the dv footage look terrible.
    Is there an export option in FCE that would create a reasonable looking DVD from original source material in different formats?

    We used 2 different cameras when filming a project. I don't currently have access to the one used to film the MP4 footage. It saved onto a memory card during filming and I got it onto my computer by connecting the video camera and dragging the clips to a file on my desktop.
    An example of the names the clips saved under is SDV_0403.MP4, SDV_0404.MP4, etc.
    Properties of a sample clip as follows:
    Kind: MPEG-4 Movie
    Dimensions: 720x480
    Codecs: H.264, AAC
    Duration: 00:25
    Size: 17.6 MB on disk
    Channel count: 2
    Total bit rate 5,911
    Sorry if there's irrelevant info there...I'm not sure what's necessary.
    I would just drag the clips right from the file on my desktop to FCE either into the timeline or the canvas and insert them among others. Then render them so I could see them in the canvas, editing and rendering as necessary.
    I will try the mpeg streamclip in the future, but I'm freaking out a bit because I've already edited hours of footage, and fear having to go back to the beginning to re-import my source footage and start from scratch. I definitely won't be working with multiple formats in the future. I'm just trying to salvage this project now as best I can.

  • Include metainformation (My version number) into a java class file???

    Hy
    It is possible to include metainformatins like the versions number to a java class file?
    I think at the way of the VB6 programmers. The generated exe file contain a rigth click menu (Win Explorer) which shows the mettainformations from the developer (copyright, author, version number of the class file).

    The windows version info is specific to windows compound files, where the info is incuded as part of the file. Java is platform neutral, and doesn't support windows binary specific metadata (just like you can't add version info to a text file in windows). Other os's allow metadata that is seperate from the binary format of the file, so do not suffer from this limitation.
    Distributing your jar as a self extracting exe for windows will allow this info to be added.
    Pete

  • How to save open files in different projects/workspaces?

    Is it possible at all to have Dreamweaver save different sets of open files in different projects/workspaces like every other IDE out there?
    I can't imagine every web developer is working on ONE project at a time and doesn't feel the need to switch to another one and have his last open files restored from that specific project..
    Am I missing something?

    Very wrong
    I am talking about saving different sessions of open files automatically (and assign them to user-defined projects that may or may not contain several sites or just one site).

  • Appointment Letters with different formats

    Hello Experts,
    I want to generate appointment letters for different departments using different formats. How to create different formats for each department.
    Kindly advise.
    Regards,
    Devendra.

    The first question is can I do this with Reports?Yes, its possible in Oracle Reports. You can create multiple layouts in one report.
    Also sometimes I will need to print some forms with
    one format and not others. It can be done in reports. You have to use format trigger to hide or show a layout.
    Is there a way to configure the report to print some
    forms with their format if they have data and others
    not if they don't have data.You can create a summary column on a group to check how many records it has and in format trigger of the particular layout (frame) hide and show the layout based on this summary column.
    --- You have to use frame's format trigger to hide or show a layout
    http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwrefex%7Cplsql%7Ctriggers%7Ctr_format_trigger%7Ehtm/

  • How do I embed the different video formats that are required for different browsers?

    I have a short video in the different formats required to play across different browsers but I can't seem to get the HTML 5 code correct. I can only get it to play in one browser at a time. It seems to only play in the browser that has the video code first. What should the code look like?

    Yah the code goes just like that, the first line "var vid_html" declaires the variable. += just adds everything after it to what was already there. You've probably seen this with numbers before: some_number += 50; (will increment that number by 50 more than what it was previous to calling that)
    Another way to write the above is like this:
    var vid_html = '<video width="320" height="240" controls poster="video/v4b2.jpg">'+
                             '<source src="video/v4b.mp4" type="video/mp4">'+
                             '<source src="video/v4b.oggtheora.ogv" type="video/ogg">'+
                             '<source src="video/v4b.webmsd.webm" type="video/webm">'+
                             'Your browser does not support HTML5 video'+
                           '</video>';
    It's just appending strings together to be a little more readable. And I removed your reference to "var vid=sym.$("holder");" because you're only calling "vid" to set the html text.

  • Importing my class files from another folder

    hello everybody ,im creating a software package for a new company and want to organise my class files into different folders so that it would be easier for someone to navigate through them and update if necessary ,how do i import an instance of a class in a file that is in a subfolder of the folder that contains the class that is calling it.(sorry for being a bit long winded) iv tried diff things and they didn't work.
    At the moment i have all the files in the one folder,but as i said above want to put them into appropriate folders.
    I would be very gratefull if someone could give me some examples and if not some appropriate links,thanks iv tried looking for this on the net but could not find anything.

    What you should probably do is to organise your classes into a heirarchy of packages not merely folders. Java expects the package structure to be reflected in the directory structure holding both the source and class files. If it's looking for a class called, say, com.mycompany.widgets.MainWidget it expects to find it in a directory com//mycompany/widgets relative the the directory on the class path.
    Use the package directive in each source file to indicate the package path.

  • UDF error: bad class file

    Hi to all!
    i faced with following problem:
    i'm trying to use in message mapping exported Java function and get following error:
    <i>Source code has syntax error:  E:/usr/sap/DXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb97a3fc699d611dcaf9d001b78d07a70/source/com/sap/xi/tf/_UserToRoleId_.java:3: cannot access kolpix.echo bad class file: E:\usr\sap\DXI\DVEBMGS00\j2ee\cluster\server0\.\temp\classpath_resolver\Mapb97a3fc699d611dcaf9d001b78d07a70\classpath\Echo_1(kolpix/echo.class) class file has wrong version 50.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.*;import kolpix.echo; ^ 1 error</i>
    There is my Java function:
    package kolpix;
    public class echo {
        public echo() {
        public static String hello(String str) {
            return "Hello "+str+"!";
    in UDF into the <b>Imports</b> textField i just put <b>kolpix.echo;</b>
    and in body function i just put <b>return echo.hello("World");</b>
    Could any one explain what does it mean and what i must do to solve the problem?
    Thx in advance.

    <a href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240">That info explain all</a>

  • Bad class file error

    Hi
    I set my java home to JDK 1.4 and execute my build.It is ok.
    Then i try the same by setting JDK 1.5 as java home. build is ok.
    But now i need to use only JDK 1.4.So i set my java home as jdk 1.4 and try to execute the build.xml
    Now i got the error of class file has wrong version 49.0, should be 48.0
    I understand that the class files(49.0) which are created by JDK 1.5 and i try to execute those by JDK 1.4.
    But i donot knwo how to solve this.
    Will anybody please help me to solve?
    Thank you

    Hi
    I didnot compile java files with JDK 1.4 and 1.5 both.
    First time i use JDk 1.4. for all java files
    Second time i use JDk 1.5 for all java files.
    Finally i should use JDK 1.4. So i come to jdk 1.4 and set java home jdk 1.4 and exucute my build.xml. Then i got the bad class file error.
    Can u help me at this point?
    Thank you

Maybe you are looking for

  • Developer Update for InDesign Server Developers

    Hello all, If you are creating plug-ins for the Creative Suite of Adobe applications, you'll want to attend this ninety minute session for an update on developing plug-ins for Photoshop, Illustrator, InDesign, Bridge, Version Cue, and XMP. Topics inc

  • Ipod Classic - Case Quality ?

    Thinking of replacing my 5th Gen Video Ipod with new 80 GB Classic. How good is the new case ? I have an invisible shield on my current pod for much needed protection. Will I have to shell out more $$ to do the same with the new Classic or have Apple

  • How to register in i message?

    how to register phone number in i message in mac pro book?

  • IMovie records no sound

    Hello everyone, I'm having an extremely annoying problem with iMovie' 11. I did 5 sucessful voice over records on a .mov video. I did not touch ANY SETTING. When I recorded the sixth, played the clip and absolutely no sound had been recorded. I tried

  • New Downloads of Firefox will not open

    <blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/953049]]</blockquote> Just downloaded 19.0.2 and still getting an error message when I try to open: PROFILE MISSING "Your Firefox profile cannot be loaded. It may be missing