Bad major version number! Help please ;-)

I have been writing applets using the Forte 3.0 sdk.
I don't as yet use Swing, but rather the standard AWT elements.
These applets work fine in IE 5, but when I try to view them in Netscape Communicator 4.79, the applet fails to appear and I see the following error message "Applet Editor Error:java.lang.ClassFormatError: Bad major version number"
I have searched the net and this is some advice I found: "The javac by default compiles for 1.2 compatible vm's. To compile an application to be compatible for both 1.1 and 1.2 vm's use:
javac -target 1.1 foo.java"
I'm guessing Netscape isn't 1.2 compatble, despite that the java plugins for 1.4.0 are enabled ( I have checked.).
So my question is:
How do I force 1.1 compatability in the Forte IDE?
I have looked through all the options and cannot find any switches for compatability.
I'm not using command-line so I can't directly add -target 1.1
Thank you in advance.

In Forte go to menu Project->Settings. Open Compiler Types->External Compilation, there you have a property called "External Compiler", click on the value and there you can edit the arguments that are sent to the compiler...
//Anders =)

Similar Messages

  • Java.lang.ClassFormatError: Bad major version number

    Hi friends,
    I am using JWS2.0(trial version). I have uploaded class files into servlet (and respective packages), every thing was working fine. one fine day i started getting the 404 - file not found error(JWS not yet expired). I uninstalled the jws, j2sdk1.4.0, jre1.4.0 but with no result.
    I even formated the system and loaded all again. But still i am getting the same problem.
    The servlet is the simple HelloWorld servlet.
    Through the SunExample its working fine. But the uploaded servlet is not getting recognised.
    Here is the ErrorLog
    [Tue Feb 22 17:26:29 GMT+05:30 2005] ClassLoaderFactory Error: Can not find Class : Hello [ ClassNotFoundException ]
    [Tue Feb 22 17:26:31 GMT+05:30 2005] ClassLoaderError: (com.sun.server.loader.JarClassLoader@17d67e:\servlets) ERROR: Unable to load class local class Hello
    [Tue Feb 22 17:26:31 GMT+05:30 2005] java.lang.ClassFormatError: Bad major version number
    at java.lang.ClassLoader.defineClass(ClassLoader.java:219)
    at com.sun.server.loader.ServletClassLoader.callDefineClass(ServletClassLoader.jav a:726)
    at com.sun.server.loader.ServletClassLoader.checkAndDefineClass(ServletClassLoader .java:620)
    at com.sun.server.loader.DirectoryClassLoader.getClassFromLocalDir(Compiled Code)
    at com.sun.

    Try re-compiling the Servlet. Make sure that the JDK version used to recompile is <= the version used to run the server (if you are using a higher jdk to compile the servlet, maybe Java 5.x, then you are to run, maybe Java 1.4.x, then use the -target option of javac to target the lower release...)

  • Bad major version number error

    I'm trying to run the HelloWorld program in Linux. I can compile ("javac HelloWorld.java"), but when I try to run the program, using "java HelloWorld", i got the following error message:
    Error loading class HelloWorld: Bad major version number
    Any idea of what's wrong?

    well, i found the problem. i had installed an old java version and forgot to delete it. i was using jdk 1.1 and i didn't notice it. just deleted the old version and everything went fine. thanks, m_srini ! :-)

  • Major version number mismatch warning ?

    Flatform : RedHat Linux7.1
    Program : j2sdk-1_4_0-linux-i386.bin
    I have this error after installing jdk1.4.0 and typing 'javac' :
    ===========================
    Warning: Major version number mismatch.
    Warning: Minor version number mismatch.
    Warning: Major version number mismatch.
    Warning: Minor version number mismatch.
    Warning: Major version number mismatch.
    Warning: Minor version number mismatch.
    Warning: Major version number mismatch.
    repeat...
    Why this error do occur?
    How can I complete jdk1.4 installing?

    I'm getting the same warning as well. I recently upgraded from Red Hat 7.1 -> 7.2 and have j2sdk1.4.0.
    I get the following warnings when I actually run programs:
    Warning! Major version number mismatch.
    Warning! Minor version number mismatch.
    Did you ever find any resolution? I'll keep looking & if I find something, I'll post it here.
    Thanks-
    [email protected]

  • I accidentally signed up to download the Windows version of Adobe Acrobat Pro but I actually want the Mac version. Help please!

    I accidentally signed up to download the Windows version of Adobe Acrobat Pro but I actually want the Mac version. Help please!

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • Live Office Version number help

    Which LO version iis the latest with all fix packs? My LO version is 12.1.0.882 and does that indicate whether all latest fix packs
    are installed as of now?
    (I am taking over the project and does not know which is the latest version number).
    Thank you..

    This version is XI 3.1. As of date, XI 3.1 SP2 is also available. However, please note that your client software and server software should be at the same patch level. In other words, you should not upgrade live office client to XI 3.1 SP2 if your Business Objects Enterprise is XI 3.1.
    Thanks
    Subhodeep

  • Having trouble importing individual songs on a CD.  Instructions say to select/deselect songs using the check marks by song titles, but they are not there. never had this problem in older versions.  Help Please

    having trouble importing individual songs on a CD.  Instructions say to select/deselect songs using the check marks by song titles, but they are not there. never had this problem in older versions.  Help Please

    Are you saying that the tick-box shown in my screenshot, isn't there? (Yes, this is iTunes 11 - I've turned on the sidebar and the Menu bar. So you can see, this is a CD in my drive that we're looking at.)
    If it isn't, go to Edit/Preferences/General and turn on the tick-box box
    You can show the Menu Bar (with Edit on it) by using CTRL + B

  • Serial Number help, please!

    While attempting to download my new Adobe Photoshop Elements 10, I keep getting the message that my serial number is invalid.  I have entered and re-entered the correct number many times (the number on the back of the disc box) but still keep getting the error message.  Please help - any advice will be appreciated!
    Many thanks.

    Beveni99 I would recommend contacting our support team as they can review your serial number and ensure it is valid.  For the best assistance, I recommend our chat support at http://adobe.ly/yxj0t6.  Our chat representatives can provide a personalized experience to resolve the issue you have described.

  • One year plan,didnt charge my card,back to trial version,need help please?!?

    im a student of graphic design. i bought creative cloud during the christmas sale for 15.99$. it charged for the first month but then i had to change cards because of a new bank account and it took 1$ out but never charged and now i have the trial version again. i have the money on my card and it still shows the 1$ as a pending transaction on my account but it has been almost two weeks and my trial ran out. i need creative cloud for college,please some help me?

    This is an open forum, not Adobe support... you need Adobe support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • I had backed up my I-tunes files to an external hard drive but after my computer crashed when I try to reload from the hard drive the message comes up saying I-tunes library cannot be read because it was created by a newer version. Help please!

    I had backed up my I-tunes files to an external hard drive but after my computer crashed and I restored it when I try to reload from the hard drive the message comes up ""I-tunes files cannot be read because it was created by a newer version of I-tunes". Help Please

    Upgrade the version of itunes on the new computer
    Itunes.com for free download.
    Peace

  • How can i reinstall itunes 10.5.2 on windows xp, after i deleted the older version? help please!

    it's been painfull not to get the answer for this issue, since i did update every single apple features that works with my pc windows xp, thi's the 1rst time that i have this problem! anyone out there can help pleeeaasseee?????

    "how can i reinstall itunes 10.5.2 on windows xp, after i deleted the older version?"
    Go to apple.com/itunes/download
    Download the current version.
    Install it.
    When installing, are specific errors being generated?

  • Trial ABAP Version any help please?

    Hello,
    I am interested in setting up the trial version ABAP. 
    I have downloaded the files and extracted them, but after extracting part I into a folder, the size of the folder is 2.78GB  --  I extracted part II into the same folder, and the file size is now.. well the same, 2.78GB. 
    Both files pre-extraction match the size of the download page, exactly.  This is a little strange? 
    I would like to know if by Windows XP professional- will this include Win XP home edition?  or am I better to run on Windows Server?
    I intend to run on Virtual Box, and would like to know if the 22GB for installation is inclusive of the 2.78GB installation files, do those files need to be copied to the intended installation drive?
    I like the idea in the other thread about creating a partition separate from the OS and installing there. 
    Any help would be greatly appreciated.
    Roger

    Hello Roger,
    it is enough extract like this: Place the files to the same folder and extract "SAPNW7.0ABAPTrialSP12.part1.rar" only. The first and second file are required to install the complete trial software package.
    I have heard here in SDN installation on XP is no problem. I use by myself even older OS; Windows 2000 Professional. My installation is on separate partition. It is working.
    Good luck by your installation.
    Peter

  • Skype number help please!

    Hello!Need an advise.Can't find answers to several questions.
    If I get a Skype number:
    1. Can I receive text messages if sent to Skype number?
    2. How many seconds it takes to connect calls (very important to know)
    3. Can the number be put on hold if not required and be saved for me to use in future?
    Thanks for your help!

    1.  No incoming SMS is not supported.2.  For me it's been 1-3 seconds and that is with most of my calls being forwarded through another service as well (2 forwards).  It's been like that for the over 8 years I've used the number. Other people have mentioned longer durations to the point when people hangup (like 6 seconds or so).  Some claim nothing resolves that problem, others claim it's solved by having a computer connected 24x7 to a stable connection vs. going through a mobile device.  Skype provide no ringing adjustment other than time delays (1, 2 seconds, etc.) which would increase the duration.  My configuration is on 24x7 and some of my computers on the wired/wireless network respond faster than others on the same Internet connection.3.  The number is essentially leased for a duration (3, 6, 12 months) and is enabled for that long.  So the usage can't be placed on hold.    Choosing a shorter duration and canceling it when not needed would be best.  After expiration the number itself would still be attached to you account and reserved for 90 days.   So that is one method of hold.  Beyond 90 days it's made available to others.

  • Just replaced my Superdirve, now I have a major problem! Help please!

    I was having lots of trouble with my factory fitted Matshita drive, it would only burn DVD's at 2x regardlesss of what the disc said. After a lot of research I finally purchased a Pioneer K05 the other day and fitted it last night along with some extra memory. I started the computer up biting my fingernails and all was well. I went to system profiler and it was recognised in there along with the "supported/shipped" statement which gave me confidence. My problems started when I put my first DVD film in. There is a terrible scraping noise coming from within the drive?? It does read the disc correctly, the only way I can describe it is that it sounds like 2 things-
    1. It either has a loose part inside or
    2. It has some sort of vibration problem because of my fitting.
    To be totally honest now I did not have the correct Torx screwdriver for the job so I removed and replaced them with a small pair of electrical pliers so I'm guessing they will not be in as tight as before, could this be the problem? I know it could just be a faulty drive but before I send it back I would liked to have covered all my options. I am off in to town now to get the correct Torx set so upon my return any help comments can be met with a person who actually has the correct tools! lol
    Thanks in advance for any info regarding this, I'm sure you can all understand how frustrated I am.
    gilford
    iMac G5 Mac OS X (10.4.5)
    iMac G5 Mac OS X (10.4.2)
    iMac G5   Mac OS X (10.4.2)  

    Well I've bought the right torx set and its still the same. I have now replaced the Matshita and that sounds perfect. I have contacted the supplier of the Pioneer and they are going to give me a replacement. It MUST have been the drive, I replaced the Matshita back exactly the same and it is fine??

  • T60 -- Bad Wireless connection​. Help please!

    Hi Guys, my T60 has unstable wireless connection problem. I make sure the radio is "ON". It gets connected to the DSL network but it gets disconnected on and off ( the radio turns off by itself sometimes). Something wrong with my Intel PRO Wireless driver 3945abg? Can anyone guide me how to fix the problem?? 
    Thank you!!
    -meLittlebee

    Hi there,
    I'm having the exact same problem - installed the OS (Windows XP Pro) adding SP3 and updating all drivers.
    Then I connect to the wireless whitout any problems. I go to sleep, and next day wireless don't work!
    The Machine is a T60 2008-WGV. I have made a image of the clean disk with Clonezilla, and therefore I can restore the OS quickly to a working wireless, but I find it quite anoing to have a clean OS every morning, in order to use network.
    anyone please?
    Message Edited by denbert on 05-03-2009 09:47 AM

Maybe you are looking for

  • Using Multiple Apple TV's with One Account

    I am thinking of installing multiple Apple TV's in my home so we can rent/buy movies in different rooms. Is their any limitation of how many can be logged in at one time? Can I be downloading to multiple ATV's at the same time using the same account?

  • How to use external query in subreport?

    I would like to use report builder to display a simple report containing a one to many relationship. For example, a list of customer orders where each customer order can consist of many ordered items. The queries for this report must be external.  Is

  • Using StreamConnection with MMAPI emulator

    Hi, I am using StreamConnection class to establish a socket connection with my server. If I run the application on PalmOS PDA it works fine. But when I run it in the mobile media emulator it does not connect to the server. Does anyone know why? These

  • Has anyone created a grd, gridrow and griditem

    I am trying to create a grid dynamically with the following code and I'm getting errors TypeError: Error #1034: Type Coercion failed: cannot convert mx.containers::Grid@4c98479 to mx.containers.GridRow. var tempStr : String = arrayOfFormItems[index].

  • Getting Slow after Migration to a new Mac

    Every time, I've bought a new Mac and using Migration Assistant to migrate my data to new Mac. The new Mac is getting slower, not look like a hardware upgrade. For example, my Macbook Pro i5 needs more than 10 seconds to start MS Word while my MBA ne