6 Replies Latest reply: Nov 30, 2012 4:55 PM by EJP RSS

    Invalid MAGIC number in jar file

    mh*379860*ly
      HI Gentlemen,

      I just compiled a java file into a class file and then set up a jar file with that one single class. Manifest indicates that the Java version is 1.7.0 as is any other development tool. Now I am inspecting the file with my hex editor and it does not contain CAFEBABE as a magic number. However, a legacy jar file in an Applet sample code has it and works correctly. It was as well with my JDK 1.7.0 compiled. What can be wrong with my method? JDeveloper does not accept the jar when I want to deploy and call the applet.

      Please help if you can.

      Many thanks in advance, kindly regards

      Miklos HERBOLY
        • 1. Re: Invalid MAGIC number in jar file
          gimbal2
          Perhaps your JDeveloper is simply not configured to support Java 7?
          • 2. Re: Invalid MAGIC number in jar file
            mh*379860*ly
            No, sorry--by looking into JDeveloper configuration it always says Java 1.7.0. This because I started with changing the shipped Java 6 to Java 7.
            WHat else can it be?

            Thanks, regards

            Miklos
            • 3. Re: Invalid MAGIC number in jar file
              gimbal2
              With the current lack of in information provided - impossible to know.
              • 4. Re: Invalid MAGIC number in jar file
                mh*379860*ly
                HI gimbal2,

                Thank you for your reply. Just to start with, I included here some stuff.
                (i) JDeveloper parameters
                About
                -----
                
                Oracle JDeveloper 11g Release 1 11.1.1.6.0
                Studio Edition Version 11.1.1.6.0
                Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
                Copyright © 1997, 2011 Oracle and/or its affiliates. All rights reserved.
                IDE Version: 11.1.1.6.38.61.92
                Product ID: oracle.jdeveloper
                Product Version: 11.1.1.6.38.61.92
                
                Version
                -------
                
                Component     Version
                =========     =======
                ADF Business Components     11.1.1.61.92
                Java(TM) Platform     1.7.0
                Oracle IDE     11.1.1.6.38.61.92
                Versioning Support     11.1.1.6.38.61.92
                
                Properties
                ----------
                
                Name     Value
                ====     =====
                awt.toolkit     sun.awt.windows.WToolkit
                ceditor.java.parse.large     1500
                ceditor.java.parse.small     300
                class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
                class.load.log.level     CONFIG
                class.transfer     delegate
                compiler.vmargs     -Xmx512m
                EDITOR_J2SE_VERSION     1.5
                feedbackmanager.disable     false
                file.encoding     Cp1252
                file.encoding.pkg     sun.io
                file.separator     \
                http.agent     Mozilla/5.0 (Java 1.7.0; Windows 7 6.1 x86; en_US) ICEbrowser/v6_1_3
                ice.browser.forcegc     false
                ice.pilots.html4.ignoreNonGenericFonts     true
                ice.pilots.html4.tileOptThreshold     0
                ide.bootstrap.start     12082784954629
                ide.build     JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
                ide.conf     C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf
                ide.config_pathname     C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf
                ide.debugbuild     false
                ide.devbuild     false
                ide.editions     oracle.studio, oracle.j2ee, oracle.jdeveloper
                ide.extension.role.search.path     jdev/roles
                ide.extension.search.path     jdev/extensions:sqldeveloper/extensions
                ide.feedbackmanager.customer     false
                ide.firstrun     false
                ide.java.maxversion     1.8
                ide.java.minversion     1.6.0_04
                ide.launcherProcessId     2132
                ide.main.class     oracle.ide.boot.IdeLauncher
                ide.max.jar.handles     500
                ide.old.user.country     DE
                ide.old.user.language     de
                ide.patches.dir     jdev/lib/patches
                ide.pref.dir     C:\Users\gksadmin\AppData\Roaming\JDeveloper
                ide.pref.dir.base     C:\Users\gksadmin\AppData\Roaming
                ide.product     oracle.jdeveloper
                ide.role     <none>
                ide.shell.enableFileTypeAssociation     C:\Oracle\Middleware\jdeveloper\jdeveloper.exe
                ide.splash.screen     splash.gif
                ide.startingArg0     C:\Oracle\Middleware\jdeveloper\jdeveloper.exe
                ide.startingcwd     C:\Oracle\Middleware\jdeveloper
                ide.throttleLocale     true
                ide.user.dir     C:\Users\gksadmin\AppData\Roaming\JDeveloper
                ide.user.dir.var     JDEV_USER_HOME,JDEV_USER_DIR
                ide.work.dir     C:\\JDeveloper
                ide.work.dir.base     C:\Users\gksadmin\Documents
                ilog.propagatesPropertyEditors     false
                inJUIDesigntime     true
                insight.suppresshidden     true
                INSIGHT_OMIT_HIDDEN     true
                java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
                java.awt.printerjob     sun.awt.windows.WPrinterJob
                java.class.path     ..\..\ide\lib\ide-boot.jar
                java.class.version     51.0
                java.endorsed.dirs     C:\Java\jdk1.7.0\jre\lib\endorsed
                java.ext.dirs     C:\Java\jdk1.7.0\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
                java.home     C:\Java\jdk1.7.0\jre
                java.io.tmpdir     C:\Users\gksadmin\AppData\Local\Temp\
                java.library.path     C:\Oracle\Middleware\jdeveloper;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\gksadmin\product\11.2.0\dbhome_1\bin;c:\Java\jdk1.7.0\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\ocf\lib;c:\Windows/System32;C:\Java\jdk1.7.0\bin;.
                java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
                java.protocol.handler.pkgs     oracle.jdevimpl.handler
                java.runtime.name     Java(TM) SE Runtime Environment
                java.runtime.version     1.7.0-b147
                java.specification.name     Java Platform API Specification
                java.specification.vendor     Oracle Corporation
                java.specification.version     1.7
                java.vendor     Oracle Corporation
                java.vendor.url     http://java.oracle.com/
                java.vendor.url.bug     http://bugreport.sun.com/bugreport/
                java.version     1.7.0
                java.vm.info     mixed mode
                java.vm.name     Java HotSpot(TM) Client VM
                java.vm.specification.name     Java Virtual Machine Specification
                java.vm.specification.vendor     Oracle Corporation
                java.vm.specification.version     1.7
                java.vm.vendor     Oracle Corporation
                java.vm.version     21.0-b17
                javax.xml.parsers.DocumentBuilderFactory     oracle.xml.jaxp.JXDocumentBuilderFactory
                jbo.debugoutput     silent
                jbo.showdebugwarningbanner     false
                jps.authz     NULL
                line.separator     \r\n
                oracle.adfm.usemds     false
                oracle.home     C:\Oracle\Middleware\jdeveloper
                oracle.j2ee.extension.status     enabled
                oracle.jbo.usemds     false
                oracle.jdbc.Trace     true
                oracle.jdeveloper.webservice.hidePropertyOverride     false
                oracle.jdeveloper.webservice.showAllOwsmPolicyTypes     false
                oracle.mds.internal.config.override.emptystore     true
                oracle.security.jps.config     /C:/Users/gksadmin/AppData/Roaming/JDeveloper/system11.1.1.6.38.61.92/DefaultDomain/config/fmwconfig/jps-config-jse.xml
                oracle.soap.transport.noHTTPClient     true
                oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
                oracle.xdkjava.compatibility.version     9.0.4
                os.arch     x86
                os.name     Windows 7
                os.version     6.1
                path.separator     ;
                reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
                sun.arch.data.model     32
                sun.awt.disablegrab     true
                sun.awt.enableExtraMouseButtons     true
                sun.awt.keepWorkingSetOnMinimize     true
                sun.boot.class.path     ../lib/lwawt.jar;C:\Java\jdk1.7.0\jre\lib\endorsed\javax.annotation_1.0.0.0_1-0.jar;C:\Java\jdk1.7.0\jre\lib\endorsed\javax.xml.bind_2.1.1.jar;C:\Java\jdk1.7.0\jre\lib\endorsed\javax.xml.ws_2.1.1.jar;C:\Java\jdk1.7.0\jre\lib\resources.jar;C:\Java\jdk1.7.0\jre\lib\rt.jar;C:\Java\jdk1.7.0\jre\lib\sunrsasign.jar;C:\Java\jdk1.7.0\jre\lib\jsse.jar;C:\Java\jdk1.7.0\jre\lib\jce.jar;C:\Java\jdk1.7.0\jre\lib\charsets.jar;C:\Java\jdk1.7.0\jre\classes;C:\Java\jdk1.7.0\lib\tools.jar;C:\Java\jdk1.7.0\lib\dt.jar
                sun.boot.library.path     C:\Java\jdk1.7.0\jre\bin
                sun.cpu.endian     little
                sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
                sun.desktop     windows
                sun.io.unicode.encoding     UnicodeLittle
                sun.java2d.noddraw     true
                sun.jnu.encoding     Cp1252
                sun.management.compiler     HotSpot Client Compiler
                sun.os.patch.level     
                svnkit.sax.useDefault     true
                user.country     US
                user.dir     C:\Oracle\Middleware\jdeveloper\jdev\bin
                user.home     C:\Users\gksadmin
                user.language     en
                user.name     gksadmin
                user.script     
                user.timezone     Europe/Berlin
                user.variant     
                wasp.location     ../../uddi
                weblogic.home     C:\Oracle\Middleware\wlserver_10.3\server
                weblogic.security.SSL.ignoreHostnameVerification     true
                weblogic.security.TrustKeyStore     DemoTrust
                windows.shell.font.languages     en
                
                Extensions
                ----------
                
                Name     Identifier     Version     Status
                ====     ==========     =======     ======
                ADF Business Components     oracle.BC4J     11.1.1.6.38.61.92     Loaded
                ADF Business Components Annotations     oracle.adfbcdt.annotations     11.1.2     Loaded
                ADF Business Components Dependency     oracle.bc4j.dependency     11.1.1.6.38.61.92     Loaded
                ADF Business Components Deployment     oracle.bc4jdt.deploy     11.1.1.6.38.61.92     Loaded
                ADF Business Components Modeler     oracle.adfbcdt.modeler     11.1.1.6.38.61.92     Loaded
                ADF Business Components Syscat     oracle.bc4j.syscat     0     Loaded
                ADF Business Components Tester     oracle.bc4j.tester     11.1.1.6.38.61.92     Loaded
                ADF Common Audit     oracle.adf.common.audit     0     Loaded
                ADF Context Debugger     oracle.adf.share.debug     11.1.1.6.38.61.92     Loaded
                ADF Controller Configuration Design Time     oracle.adf.controller.config.dt     11.1.1.6.38.61.92     Loaded
                ADF Data Visualizations Design Time Tests     oracle.dvt.dt     11.1.1.6.38.61.92     Loaded
                ADF Debugger     oracle.adf.debug     11.1.1.6.38.61.92     Loaded
                ADF Debugger Diagram Support     oracle.adf.debug.diagram     11.1.1.6.38.61.92     Loaded
                ADF Desktop Integration Design Time     oracle.adfdt.desktopintegration     11.1.1.6.38.61.92     Loaded
                ADF Faces Cache     oracle.webcache     11.1.1.6.38.61.92     Loaded
                ADF Faces Data Visualization Tools Help     oracle.dvt-faces-doc     11.1.1.0.0     Loaded
                ADF Faces Databinding Design Time     oracle.adf-faces-databinding-dt     11.1.1.6.38.61.92     Loaded
                ADF Faces Design Time     oracle.adf-faces-dt     11.1.1.6.38.61.92     Loaded
                ADF Faces Design Time Migration     oracle.adffacesdt.migration     11.1.1.6.38.61.92     Loaded
                ADF Faces Runtime Help     oracle.adf-faces-rt-doc     11.1.1.0.0     Loaded
                ADF Faces Skin Design Time     oracle.adf-faces-skin-dt     11.1.1.6.38.61.92     Loaded
                ADF JMX Data Control Designtime     oracle.adf.jmxdc     11.1.1.6.38.61.92     Loaded
                ADF Java Server Faces Diagram     oracle.adf.jsf.diagram     11.1.1.6.38.61.92     Loaded
                ADF Library Design Time     oracle.jdeveloper.adflibrary     11.1.1.6.38.61.92     Loaded
                ADF Lifecycle Design Time     oracle.adf.lifecycle.dt     11.1.1.6.38.61.92     Loaded
                ADF Management Pages     oracle.adf.management     11.1.1.6.38.61.92     Loaded
                ADF Menu Model Design-Time     oracle.adfmenudt     11.1.1.6.38.61.92     Loaded
                ADF Page Flow Design Time     oracle.adf.pageflow.dt     11.1.1.6.38.61.92     Loaded
                ADF Page Flow Design Time Extras     oracle.adf.pageflow.dt.extras     11.1.1.6.38.61.92     Loaded
                ADF Page Template DT     oracle.adf-faces-templating-dt     11.1.1.6.38.61.92     Loaded
                ADF Region Design Time     oracle.adf-faces-region-dt     11.1.1.6.38.61.92     Loaded
                ADF Struts Page Flow Modeler     oracle.struts.adf     11.1.1.6.38.61.92     Loaded
                ADF Struts and Model One Databinding     oracle.adf.struts.and.model.one.databinding.dt     11.1.1.6.38.61.92     Loaded
                ADF Swing     oracle.adfdt.swingcore     11.1.1.6.38.61.92     Loaded
                ADF View Debugging Design Time     adf.view.debugging.dt     11.1.1.6.38.61.92     Loaded
                ADFv Common Databinding     oracle.adf-view-databinding-dt     11.1.1.6.38.61.92     Loaded
                Ant     oracle.ant     11.1.1.6.38.61.92     Loaded
                Application Server Manager     oracle.jdeveloper.asnav     11.1.1.6.38.61.92     Loaded
                Application State - Application Navigator     oracle.ideimpl.appstate.appnav     11.1.1.6.38.61.92     Loaded
                Application State - Editors     oracle.ide.appstate.editors     11.1.1.6.38.61.92     Loaded
                Application State Manager     oracle.ide.appstate     11.1.1.6.38.61.92     Loaded
                Archive Compare     oracle.jdeveloper.archive-compare     11.1.1.6.38.61.92     Loaded
                Audit Oracle Public Cloud Support     oracle.jdeveloper.audit.cloud     11.1.2     Loaded
                BI Beans Graph     oracle.bibeans     11.1.1.6.38.61.92     Loaded
                BM metamodel framework     oracle.bm.meta     11.1.1.6.38.61.92     Loaded
                Bug Reporter     oracle.jdeveloper.bugfiler     11.1.1.6.38.61.92     Loaded
                Business Modelers     oracle.bm     11.1.1.6.38.61.92     Loaded
                Check For Updates     oracle.ide.webupdate     11.1.1.6.38.61.92     Loaded
                Code Editor     oracle.ide.ceditor     11.1.1.6.38.61.92     Loaded
                Command Line Formatting Support     oracle.jdeveloper.ojformat     11.1.1.6.38.61.92     Loaded
                Command Line Make/Rebuild Support     oracle.jdevimpl.oj-compiler     11.1.1.6.38.61.92     Loaded
                Common Controller Design-Time     oracle.controller.dt     11.1.1.6.38.61.92     Loaded
                Common Page Flow Design-Time     oracle.pageflow.dt     11.1.1.6.38.61.92     Loaded
                Component Palette     oracle.ide.palette1     11.1.1.6.38.61.92     Loaded
                Controller to ADF Bindings Bridge     oracle.controller.bindings.dt     11.1.1.6.38.61.92     Loaded
                Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.6.38.61.92     Loaded
                Database Features (JDeveloper)     oracle.jdeveloper.db     11.1.1.6.38.61.92     Loaded
                Database Features (SQLDeveloper in JDeveloper)     oracle.jdeveloper.db.navigator     11.1.1.6.38.61.92     Loaded
                Database Modeler     oracle.dbmodeler     11.1.1.6.38.61.92     Loaded
                Database Modeler Migration     oracle.dbmodeler.migrate     11.1.1.6.38.61.92     Loaded
                Database Object Dependency API Support     oracle.jdeveloper.db.dependency     11.1.1.6.38.61.92     Loaded
                Database Object Explorers     oracle.ide.db.explorer     11.1.1.6.38.61.92     Loaded
                Database Object Transfer Framework     oracle.jdeveloper.db.transfer     11.1.1.6.38.61.92     Loaded
                Database UI     oracle.ide.db     11.1.1.6.38.61.92     Loaded
                Design Time Resource Bundle Variable Resolver     oracle.jdeveloper.resourcebundle.resolver.dt     11.1.1.6.38.61.92     Loaded
                Diagram Framework     oracle.diagram     11.1.1.6.38.61.92     Loaded
                Diagram Framework Toplink extensions     oracle.diagram.toplink     11.1.1.6.38.61.92     Loaded
                Diagram Javadoc Extension     oracle.diagram.javadoc     11.1.1.6.38.61.92     Loaded
                Diagram Thumbnail     oracle.diagram.thumbnail     11.1.1.6.38.61.92     Loaded
                Diagram to XMLEF Bridge     oracle.diagram.xmlef     11.1.1.6.38.61.92     Loaded
                Diff/Merge     oracle.ide.diffmerge     11.1.1.6.38.61.92     Loaded
                EJB     oracle.ejb     11.1.1.6.38.61.92     Loaded
                EJB Modeler     oracle.ejbmodeler     11.1.1.6.38.61.92     Loaded
                Editor Tint     oracle.ide.ceditor-tint     11.1.1.6.38.61.92     Loaded
                Editor Tint (Java)     oracle.jdeveloper.ceditor-tint-java     11.1.1.6.38.61.92     Loaded
                Extended IDE Platform     oracle.javacore     11.1.1.6.38.61.92     Loaded
                Extension Designtime Core     oracle.jdeveloper.extensiondt.core     11.1.1.6.38.61.92     Loaded
                Extension Designtime UI     oracle.jdeveloper.extensiondt.ui     11.1.1.6.38.61.92     Loaded
                External Tools     oracle.ide.externaltools     11.1.1.6.38.61.92     Loaded
                Feedback     oracle.ide.feedback     11.1.1.6.38.61.92     Loaded
                File Support     oracle.ide.files     11.1.1.6.38.61.92     Loaded
                Fusion Application Overview Definition     oracle.ide.appoverview.fusion.definition     11.1.1.6.38.61.92     Loaded
                Fusion Web Application (ADF) Template     oracle.adf.webapp.template     11.1.1.6.38.61.92     Loaded
                Go to File     oracle.ide.gotofile     11.1.1.6.38.61.92     Loaded
                Go to Java Type     oracle.jdeveloper.gotojava     11.1.1.6.38.61.92     Loaded
                HTML     oracle.html     11.1.1.6.38.61.92     Loaded
                Help System     oracle.ide.help     11.1.1.6.38.61.92     Loaded
                History Support     oracle.jdeveloper.history     11.1.1.6.38.61.92     Loaded
                IDE Reports Extension     oracle.ide.report     11.1.1.6.38.61.92     Loaded
                Import/Export Support     oracle.ide.importexport     11.1.1.6.38.61.92     Loaded
                Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.6.38.61.92     Loaded
                J2EE     oracle.j2ee     11.1.1.6.38.61.92     Loaded
                J2EE     oracle.j2ee.webapp.ve     11.1.1.6.38.61.92     Loaded
                J2EE     oracle.j2ee.webapp.ve.facelets     11.1.1.6.38.61.92     Loaded
                J2EE CSS     oracle.css     11.1.1.6.38.61.92     Loaded
                J2EE Faces Config     oracle.j2ee.facesconfig     11.1.1.6.38.61.92     Loaded
                J2EE Web App     oracle.j2ee.webapp     11.1.1.6.38.61.92     Loaded
                J2EE-ADRS     oracle.j2ee.adrs     11.1.1.6.38.61.92     Loaded
                J2ee extension help     oracle.j2ee.help     11.1.1.0.0     Loaded
                JDeveloper     oracle.jdeveloper     11.1.1.6.38.61.92     Loaded
                JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.6.38.61.92     Loaded
                JGoodies Forms     oracle.jdeveloper.jgoodies     11.1.1.6.38.61.92     Loaded
                JPublisher     oracle.jdeveloper.db.jpub     11.1.1.6.38.61.92     Loaded
                JSON Language support     oracle.jdeveloper.json     11.1.1.6.38.61.92     Loaded
                JViews Registration Addin     oracle.diagram.registration     11.1.1.6.38.61.92     Loaded
                Java Annotation Inspector     oracle.jdeveloper.annotation.inspector     11.1.1.6.38.61.92     Loaded
                Java Breadcrumbs     oracle.jdeveloper.ceditor-breadcrumbs-java     11.1.1.6.38.61.92     Loaded
                Java Class Modeler     oracle.javamodeler     11.1.1.6.38.61.92     Loaded
                Java Modeler Toplink extensions     oracle.javamodeler.toplink     11.1.1.6.38.61.92     Loaded
                Java Server Faces Page Flow Modeler     oracle.jsfmod     11.1.1.6.38.61.92     Loaded
                Java Structure Compare     oracle.jdeveloper.java-compare     11.1.1.6.38.61.92     Loaded
                Java Type Search     oracle.jdeveloper.searchbar.java     11.1.1.6.38.61.92     Loaded
                Java extension help     oracle.java.help     11.1.1.0.0     Loaded
                JavaBeans, Swing, and AWT     oracle.swingawt     11.1.1.6.38.61.92     Loaded
                JavaScript Language Support     oracle.ide.javascript     11.1.1.6.38.61.92     Loaded
                Jdeveloper UI Editor     oracle.jdeveloper.uieditor     11.1.1.6.38.61.92     Loaded
                Jdeveloper XML Extension     oracle.jdeveloper.xml     11.1.1.6.38.61.92     Loaded
                Legacy Controller Design-Time     oracle.controller.bm.dt     11.1.1.6.38.61.92     Loaded
                Legacy Preferences integration for BM     oracle.modeler.bm.prefs     11.1.1.6.38.61.92     Loaded
                Log Window     oracle.ide.log     11.1.1.6.38.61.92     Loaded
                MDS Extension     oracle.mds     11.1.1.6.38.61.92     Loaded
                MOF Ide Integration     oracle.mof.ide     11.1.1.6.38.61.92     Loaded
                MOF Modeler Integration     oracle.modeler.mof     11.1.1.6.38.61.92     Loaded
                Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.6.38.61.92     Loaded
                Modeler Framework     oracle.modeler     11.1.1.6.38.61.92     Loaded
                Modeler Framework Common Layer     oracle.modeler.common     11.1.1.6.38.61.92     Loaded
                Modelling migration from BM     oracle.modeler.bm.migrate     11.1.1.6.38.61.92     Loaded
                Navigator     oracle.ide.navigator     11.1.1.6.38.61.92     Loaded
                Nightly Indexing support     oracle.ideimpl.indexing-rt     11.1.1.6.38.61.92     Loaded
                OAR/MAR/SAR Deployment Support Extension     oracle.deploy.orapp     11.1.1.6.38.61.92     Loaded
                OWSM Policy Manager Installer     oracle.jdeveloper.webservice.wsmpm.installer     11.1.1.6.38.61.92     Loaded
                Object Gallery     oracle.ide.gallery     11.1.1.6.38.61.92     Loaded
                Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.64.48     Loaded
                Offline Database     oracle.jdeveloper.offlinedb     11.1.1.6.38.61.92     Loaded
                Offline Database Import/Generate     oracle.jdeveloper.offlinedb.transfer     11.1.1.6.38.61.92     Loaded
                Offline Database Reports Extension     oracle.jdeveloper.offlinedb.report     11.1.1.6.38.61.92     Loaded
                Offline Database SXML     oracle.jdeveloper.offlinedb.sxml     11.1.1.6.38.61.92     Loaded
                Offline Database User Properties     oracle.jdeveloper.offlinedb.userprops     11.1.1.6.38.61.92     Loaded
                Offline Database User Properties SXML     oracle.jdeveloper.offlinedb.userprops.sxml     11.1.1.6.38.61.92     Loaded
                Oracle Database Browser     oracle.sqldeveloper.thirdparty.browsers     11.1.1.64.48     Loaded
                Oracle Enterprise Repository Editor     oracle.jdeveloper.oereditor     11.1.1.6.38.61.92     Loaded
                Oracle IDE     oracle.ide     11.1.1.6.38.61.92     Loaded
                Oracle JDevloper Deployment Core Module     oracle.deploy.core     11.1.1.6.38.61.92     Loaded
                Oracle MDS Design time     oracle.mds.dt     11.1.1.6.38.61.92     Loaded
                Oracle Mobile ADF     oracle.wireless.dt     11.1.1.6.38.61.92     Loaded
                Oracle Page Templates     oracle.adf-page-template-samples     11.1.1.6.38.61.92     Loaded
                Oracle Public Cloud     oracle.jdeveloper.cloud     11.1.1.0.0     Loaded
                Oracle SQL Developer     oracle.sqldeveloper     11.1.1.64.48     Loaded
                Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.64.48     Loaded
                Oracle SQL Developer Worksheet     oracle.sqldeveloper.worksheet     11.1.1.64.48     Loaded
                Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.64.48     Loaded
                PL/SQL Debugger     oracle.jdeveloper.db.debug.plsql     11.1.1.6.38.61.92     Loaded
                PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.6.38.61.92     Loaded
                Peek     oracle.ide.peek     11.1.1.6.38.61.92     Loaded
                Persistent Storage     oracle.ide.persistence     11.1.1.6.38.61.92     Loaded
                Profiler     oracle.jdeveloper.profiler     11.1.1.6.38.61.92     Loaded
                Properties File Support     oracle.jdeveloper.props     11.1.1.6.38.61.92     Loaded
                Property Inspector     oracle.ide.inspector     11.1.1.6.38.61.92     Loaded
                Quick Start Features for Web Applications     quickstart.webapp.dt     11.1.1.6.38.61.92     Loaded
                QuickDiff     oracle.ide.quickdiff     11.1.1.6.38.61.92     Loaded
                REST Web Services     oracle.jdeveloper.webservice.rest     11.1.1.6.38.61.92     Loaded
                Refactoring     oracle.jdeveloper.refactoring     11.1.1.6.38.61.92     Loaded
                Replace With     oracle.ide.replace     11.1.1.6.38.61.92     Loaded
                Reports Extension     oracle.javatools.report     11.1.1.6.38.61.92     Loaded
                Resource Bundle Support     oracle.ide.resourcebundle     11.1.1.6.38.61.92     Loaded
                Resource Bundle Support for Properties Files     oracle.jdeveloper.resourcebundle.props     11.1.1.6.38.61.92     Loaded
                Resource Catalog Application Server Adapter     oracle.jdeveloper.asadapter     11.1.1.6.38.61.92     Loaded
                Resource Catalog DB UI extension     oracle.jdeveloper.db.rcadapter.ui     11.1.1.6.38.61.92     Loaded
                Resource Catalog Database Adapter     oracle.jdeveloper.rcdbadapter     11.1.1.6.38.61.92     Loaded
                Resource Catalog WSIL Adapter     oracle.jdeveloper.rcwsiladapter     11.1.1.6.38.61.92     Loaded
                Resource Lookup     oracle.jdeveloper.rclookup     11.1.1.6.38.61.92     Loaded
                Runner     oracle.ide.runner     11.1.1.6.38.61.92     Loaded
                SQL*Plus Integration     oracle.jdeveloper.db.sqlplus     11.1.1.6.38.61.92     Loaded
                SQLJ     oracle.jdeveloper.sqlj     11.1.1.6.38.61.92     Loaded
                Search Bar     oracle.ide.searchbar     11.1.1.0.0     Loaded
                SearchBar Commands     oracle.ide.searchbar.commands     11.1.1.6.38.61.92     Loaded
                Searchbar Preferences     oracle.ide.searchbar.preferences     11.1.1.6.38.61.92     Loaded
                Snippet Window     oracle.sqldeveloper.snippet     11.1.1.64.48     Loaded
                Struts Page Flow Modeler     oracle.struts     11.1.1.6.38.61.92     Loaded
                Studio     oracle.studio     11.1.1.6.38.61.92     Loaded
                Studio extension help     oracle.studio.help     11.1.1.0.0     Loaded
                Template     oracle.ide.ceditor-template     11.1.1.6.38.61.92     Loaded
                TopLink     oracle.toplink     11.1.1.6.38.61.92     Loaded
                Trinidad Databinding Design Time     oracle.trinidad-databinding-dt     11.1.1.6.38.61.92     Loaded
                Trinidad Design Time     oracle.trinidad-dt     11.1.1.6.38.61.92     Loaded
                UDDI Resource Catalogue Provider     oracle.jdevimpl.uddiadapter     11.1.1.6.38.61.92     Loaded
                UML XMI     oracle.uml.v2.xmi     11.1.1.6.38.61.92     Loaded
                UML v2     oracle.uml.v2     11.1.1.6.38.61.92     Loaded
                UML v2 Activity Modeler     oracle.uml.v2.activity     11.1.1.6.38.61.92     Loaded
                UML v2 Class Diagram     oracle.uml.v2.clazz     11.1.1.6.38.61.92     Loaded
                UML v2 Migration     oracle.uml.v2.migrate     11.1.1.6.38.61.92     Loaded
                UML v2 Sequence Diagram     oracle.uml.v2.sequence     11.1.1.6.38.61.92     Loaded
                UML v2 Transformation to Java     oracle.uml.v2.umljava     11.1.1.6.38.61.92     Loaded
                UML v2 Use Case Diagram     oracle.uml.v2.usecase     11.1.1.6.38.61.92     Loaded
                UML2 Modelers Common Classes     oracle.uml.v2.modeler     11.1.1.6.38.61.92     Loaded
                URL Connection Designtime     oracle.jdevimpl.urlconn     0     Loaded
                VHV     oracle.ide.vhv     11.1.1.6.38.61.92     Loaded
                Versioning Support     oracle.jdeveloper.vcs     11.1.1.6.38.61.92     Loaded
                Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.6.38.61.92     Loaded
                Virtual File System     oracle.ide.vfs     11.1.1.6.38.61.92     Loaded
                WSDL Chooser     oracle.jdeveloper.wsdllookup     11.1.1.0.0     Loaded
                WSDL web services extension     oracle.jdevimpl.wsdl     11.1.1.6.38.61.92     Loaded
                Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.6.38.61.92     Loaded
                Web Services     oracle.jdeveloper.webservice     11.1.1.6.38.61.92     Loaded
                WebDAV Connection Support     oracle.jdeveloper.webdav2     11.1.1.6.38.61.92     Loaded
                WebStart     oracle.j2ee.webstart     11.1.1.0.0     Loaded
                XML Compare     oracle.jdeveloper.xml-compare     11.1.1.6.38.61.92     Loaded
                XML Editing Framework IDE Extension     oracle.ide.xmlef     11.1.1.6.38.61.92     Loaded
                XML Editing Framework Java Integration     oracle.jdeveloper.xmlef     11.1.1.6.38.61.92     Loaded
                adf-deploy-dt     oracle.adfdt.common.deploy     11.1.1.6.38.61.92     Loaded
                adf-deploy-dt-mds     oracle.adfdt.common.deploy.mds     11.1.1.6.38.61.92     Loaded
                adf-installer-ide     adf.installer.dt     11.1.1.6.38.61.92     Loaded
                adf-logging-dt     oracle.adf.logging.dt     11.1.1.6.38.61.92     Loaded
                adf-model-debugger-dt     oracle.adf-model-debugger-dt     11.1.1.6.38.61.92     Loaded
                adf-model-sqldc-ide     oracle.adfm.sqldc     11.1.1.6.38.61.92     Loaded
                adf-model-tools     oracle.adf.model.tools     11.1.1.6.38.61.92     Loaded
                adf-security-policy-dt     oracle.adfdtinternal.adf-security-policy-dt     11.1.1.6.38.61.92     Loaded
                adf-share-audit     oracle.adf-share-audit     11.1.1.6.38.61.92     Loaded
                adf-share-deploy-dt     oracle.adf.share.deploy.dt     11.1.1.6.38.61.92     Loaded
                adf-share-dt     oracle.adf.share.dt     11.1.1.6.38.61.92     Loaded
                adfm-business-editor-deploy     oracle.adf.businesseditor.deploy     11.1.1.6.38.61.92     Loaded
                adfm-business-editor-ide     oracle.adf.model.businesseditor     11.1.1.6.38.61.92     Loaded
                adfm-business-editor-settings-ide     oracle.adfm.businesseditor.settings     11.1.1.6.38.61.92     Loaded
                adfmcoredt-xdf     oracle.adfm.xdf     11.1.1.6.38.61.92     Loaded
                adfquerylovdt     oracle.adf-faces-query-and-lov-dt     11.1.1.6.38.61.92     Loaded
                appoverview     oracle.ide.appoverview     11.1.1.6.38.61.92     Loaded
                asnav-cloud     oracle.jdeveloper.asnav.cloud     11.1.1.6.38.61.92     Loaded
                asnav-weblogic     oracle.jdeveloper.asnav.weblogic     11.1.1.6.38.61.92     Loaded
                audit     oracle.ide.audit     11.1.1.6.38.61.92     Loaded
                audit-core     oracle.ide.audit.core     11.1.1.6.38.61.92     Loaded
                bi-jdbc     oracle.bi.jdbc     11.1.1.6.38.61.92     Loaded
                classpath: protocol handler extension     oracle.jdeveloper.classpath     11.1.1.0.0     Loaded
                db-audit     oracle.ide.db.audit     11.1.1.6.38.61.92     Loaded
                db-modeler-transform     oracle.dbmodeler.transform     11.1.1.6.38.61.92     Loaded
                dcadapters-ide     oracle.adfm.dc-adapters     11.1.1.6.38.61.92     Loaded
                dependency-java     oracle.jdeveloper.java.dependency     11.1.1.6.38.61.92     Loaded
                dependency-refactor     oracle.jdeveloper.refactoring.dependency     11.1.1.6.38.61.92     Loaded
                deploy-ant     oracle.deploy.ant     11.1.1.6.38.61.92     Loaded
                deploy-rt     oracle.jdevimpl.deploy-rt     11.1.1.6.38.61.92     Loaded
                feedback-client2     oracle.ideimpl.feedback2.client     11.1.1.6.38.61.92     Loaded
                ide-diagnostics     oracle.ide.diagnostics     11.1.1.0.0     Loaded
                j2ee-adrsimpl     oracle.j2ee.adrsimpl     11.1.1.0.0     Loaded
                j2ee-cloud     oracle.j2ee.cloud     11.1.1.6.38.61.92     Loaded
                j2ee-facelets     oracle.j2ee.facelets     11.1.1.6.38.61.92     Loaded
                j2ee-jpsconfig     oracle.j2ee.jpsconfig     11.1.1.6.38.61.92     Loaded
                j2ee-security     oracle.j2ee.security     11.1.1.6.38.61.92     Loaded
                j2ee-server     oracle.j2ee.server     11.1.1.0.0     Loaded
                j2ee-server-dt     oracle.j2ee.server.dt     11.1.1.6.38.61.92     Loaded
                j2ee-serverimpl     oracle.j2ee.serverimpl     11.1.1.6.38.61.92     Loaded
                j2ee-weblogic     oracle.j2ee.weblogic     11.1.1.6.38.61.92     Loaded
                j2ee-weblogic-editors     oracle.j2ee.weblogic.editors     11.1.1.6.38.61.92     Loaded
                jdukshare     oracle.bm.jdukshare     11.1.1.6.38.61.92     Loaded
                library-dconfig-infra     oracle.jdeveloper.library.dconfig.infra     11.1.1.6.38.61.92     Loaded
                library-jee-api     oracle.jdeveloper.library.jee.api     11.1.1.6.38.61.92     Loaded
                library-jmx     oracle.jdeveloper.library.jmx     11.1.1.6.38.61.92     Loaded
                library-jps     oracle.jdeveloper.library.jps     11.1.1.6.38.61.92     Loaded
                library-weblogic-api     oracle.jdeveloper.library.weblogic.api     11.1.1.6.38.61.92     Loaded
                library-weblogic-client     oracle.jdeveloper.library.weblogic.client     11.1.1.6.38.61.92     Loaded
                mof     oracle.mof     11.1.1.6.38.61.92     Loaded
                mof-index     oracle.mof.index     11.1.1.6.38.61.92     Loaded
                mof-xmi     oracle.mof.xmi     11.1.1.6.38.61.92     Loaded
                oracle.adfm     oracle.adfm     11.1.1.6.38.61.92     Loaded
                oracle.adfm.contextual     oracle.adfm.contextual     11.1.1.6.38.61.92     Loaded
                oracle.dynamic-faces-dt     oracle.dynamic.faces     11.1.1.6.38.61.92     Loaded
                oracle.ide.dependency     oracle.ide.dependency     11.1.1.6.38.61.92     Loaded
                oracle.ide.filequery     oracle.ide.filequery     11.1.1.6.38.61.92     Loaded
                oracle.ide.indexing     oracle.ide.indexing     11.1.1.6.38.61.92     Loaded
                oracle.ide.usages-tracking     oracle.ide.usages-tracking     11.1.1.6.38.61.92     Loaded
                oracle.todo.tasks     oracle.todo.tasks     11.1.1.6.38.61.92     Loaded
                palette2     oracle.ide.palette2     11.1.1.6.38.61.92     Loaded
                placeholder-jsf-ui     oracle.placeholderjsf-ui     11.1.1.6.38.61.92     Loaded
                placeholderdc-dt     oracle.placeholderdc.dt     11.1.1.6.38.61.92     Loaded
                rcasadapter-cloud     oracle.jdeveloper.asadapter.cloud     11.1.1.6.38.61.92     Loaded
                rcasadapter-cloud-api     oracle.jdeveloper.asadapter.cloud.api     11.1.1.6.38.61.92     Loaded
                rcasadapter-dt     oracle.jdeveloper.asadapter.dt     11.1.1.6.38.61.92     Loaded
                rcasadapter-oc4j     oracle.jdeveloper.asadapter.oc4j     11.1.1.6.38.61.92     Loaded
                rcasadapter-rescat2     oracle.jdeveloper.asadapter.rescat2     11.1.1.6.38.61.92     Loaded
                rcasadapter-thirdparty     oracle.jdeveloper.asadapter.thirdparty     11.1.1.6.38.61.92     Loaded
                rcasadapter-weblogic     oracle.jdeveloper.asadapter.weblogic     11.1.1.6.38.61.92     Loaded
                rcasadapter-weblogic-api     oracle.jdeveloper.asadapter.weblogic.api     11.1.1.6.38.61.92     Loaded
                rescat2     oracle.jdevimpl.rescat2     11.1.1.6.38.61.92     Loaded
                resourcebundle-api-adfdeps     oracle.jdeveloper.resourcebundle.adfdeps     11.1.1.6.38.61.92     Loaded
                resourcebundle-api-xliff     oracle.resourcebundle.xliff     11.1.1.6.38.61.92     Loaded
                resourcebundle-customization     oracle.jdeveloper.resourcebundle.customization     11.1.1.6.38.61.92     Loaded
                searchbar-gallery     oracle.ide.searchbar.gallery     11.1.1.6.38.61.92     Loaded
                searchbar-help     oracle.ide.searchbar.help     11.1.1.6.38.61.92     Loaded
                searchbar-index     oracle.ide.searchbar.index     11.1.1.6.38.61.92     Loaded
                status     oracle.ide.status     11.1.1.6.38.61.92     Loaded
                xml-schema-dt     oracle.jdevimpl.xml.schema     11.1.1.6.38.61.92     Loaded
                xsl-dt     oracle.jdevimpl.xml.xsl     11.1.1.6.38.61.92     Loaded
                xsqldt-ide     oracle.xsqldt-ide     11.1.1.6.38.61.92     Loaded
                (ii) The beginning portion of my jar file as output by the hex editor
                504B0304140008080800844E7E41000000000000000000000000090004004D4554412D494E462FFECA00000300504B0708000000000200000000000000504B0304140008080800844E7E41000000000000000000000000140000004D4554412D494E462F4D414E49464553542E4D46F34DCCCB4C4B2D2ED10D4B2D2ACECCCFB35230D433E0E5722E4A4D2C494DD175AA040998EB192868F8172526E7A42A38E71715E417259600D56AF272F1720100504B07083F4283104000000041000000504B030414000808080010AF7D4100000000000000000000000010000000443030314170706C65742E636C6173739557097C1C6515FF7FD94D66773B39CB962ED096D256364DD26D5A48611B5ADA84D4D42454124AD35ACD6477924CBAD95D66274D8B0A1E8007E20188E00148C17880D052368170299EA878A2888A8A175A4F040FAC84FF9BDD5C6D5A607F3BDFF1EEF7BEF7DE37F3D84BF73F0460B5F206B01E5704A0E1CA00DE83F7CAEA7D1ADE1F4021AED2F001D95FA1E1EA00FC42E6C70765B8D2870F09F9877DF888ECAF11B26B65B84EB61F0DE07A7C4C861B647BA31F1FC72764F8A46C3F25C34D427C7300B7E03A0D9FD6706B000BB04FF6B7C970BB86CF04701A867DF8ACCC9FF3E1F3327F41863B64B8730E16E28B427B57007763BF860301D4E01E0D070388E05E19B21A460258855119EEF3E37E8CF9F08086070378080F6B782480B385F2167C49905F16A71F0D70F5150D5F5528CB98B66524B69A76C64A252F6C6E54509B158A1B52C98C63249DAD4662D02C44EEA7148AEAADA4E5AC53F0842BB72A781B527153A1B4C54A9A6D8303DDA6DD61742708A96849C528D6A070EEF340AFD36765144E6889AF5C596BA4D39146CE1BD2E984E9ACA5E8FEEE66CA56089CB72766A61DDA4362AFE5C214D9832DFDC66E23923092BD9149123216B73B466C57AB9176D5F060C9356058498579E11DD378DA1DDB4AF6AE75ED36EC5E0A9F3B0B9A8618AE490A853DB631608AC142B527921922416473934049A7E213A88831E4441AAD013399C999E47739DBAD4BC85DC840DA94E6CD38A9B4821637338E9DDAABE0B34D232E21A0288B4FB34241CC5658D2924A9BC99861C723B1946D467844BBAD98196920E402F3E241F253454126A6B0F818A4ED035429F424F4F61831FA5A35459A4A3B112B938AF464224D56C2DC108B99998C50B7E7D8457ABC4761E1AC2C42286CAE68CB3DD7B8E118E4D9B191437FAD0CAB08
                (iii) Contents of MANIFEST.MF
                Manifest-Version: 1.0
                Created-By: 1.7.0 (Oracle Corporation)
                (iv) The error message as it appears
                *ClassFormatError*
                Incompatible magic value 1013478509 in class file D001Applet
                I know that searching a stuff as the hex output is tedious; however, I did it and did not find the value 0xCAFEBABE, the magic value.
                Please let me know if this helped or if you need some further info.

                Thanks, regards,

                Miklos
                • 5. Re: Invalid MAGIC number in jar file
                  DrClap
                  >
                  Incompatible magic value 1013478509 in class file D001Applet
                  I know that searching a stuff as the hex output is tedious; however, I did it and did not find the value 0xCAFEBABE, the magic value.
                  However 1013478509 is decimal, not hexadecimal. Converting to hex gives 3C68746D. And converting that to ASCII gives "<htm".

                  So what is in your JAR file masquerading as a Java class is actually a text file starting with those four characters. Look in the JAR and you should be able to see that.
                  • 6. Re: Invalid MAGIC number in jar file
                    EJP
                    More likely it is an HMTL error page. Check your HTML applet tag and file locations. Check that browsing to the effective JAR URL does download the JAR.