Compiler Compliance

Im looking for answers/references on JVM performance regarding the latest Java v6 performance benchmarks. Specifically if i compile with the Java v6 compiler setting to Java v5 compliance and running on the v6 VM what am I getting in terms of the marketed performance blow-out of the v6 VM? Does the bytecode compilation drastically make a difference?

Installing a newer version of eclipse will solve your issue.

Similar Messages

  • Eclipse: can't set compiler compliance level to 6.0

    hello!
    i have installed the following packages:
    local/jdk 6u3-1
        Sun's Java Development Kit
    local/jdk 6u3-1
        Sun's Java Development Kit
    local/eclipse 3.3.1.1-1
        Eclipse IDE development platform
    java -version says:
    java version "1.6.0_03"
    Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
    Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
    but i cannot set the jdk compiler compliance level to 6.0! when i select it, eclipse says, that the installed jre does not support the compliance level of 1.6.
    my jre definition in eclipse:
    java | /opt/java | standard vm
    what is the problem?
    thanks, mfg iggy
    Last edited by iggy (2008-02-01 14:45:06)

    noone here who can say something useful?
    Last edited by iggy (2008-02-03 13:15:59)

  • How to make compiler do inline optimization in WTK?

    Hello:
    I'm a freshman in WTK. I found that my project is running very slow, so I wrote the following test to find the time cost of function call. I found that in this test, it spent 94ms, 1076ms and 2016ms in simulator, for 0, 1, and 2 function calls in each cycle (300,000 times).
    By this result, I think function call may be very expensive and may became the bottleneck of performance in my project.
    public static runTest(){
            long i = 0;
            long j = 0;
            long begin = System.currentTimeMillis();
            int times = 300000;
            for (i = 0; i < times ; i++){
                j = j + i;
            long end = System.currentTimeMillis();
            System.out.println("The result no call is " + (end - begin) );
            begin  = System.currentTimeMillis();
            for (i = 0; i < times ; i++){
                j += set(i);
            end =System.currentTimeMillis();
            System.out.println("The result 1 call is " + (end - begin) );
            begin  = System.currentTimeMillis();
            for (i = 0; i < times ; i++){
                j += set2(i);
            end = System.currentTimeMillis();
            System.out.println("The result 2 call is " + (end - begin) );
    private static long set2(long i) {
         return set(i);
    private static long set(long i) {
            return i;
    }I work in eclipse ,and make sure i've checked "Inline finally blocks" check box.
    I also run the same code in pc, and find the function call may have been optimized to "inline" by compiler (The times changed to 300,000,000, and result is 2016ms, 2281ms, and 2266ms), i also make sure changed the "compiler compliance level" to 1.3
    In an ideal situation, the compiler can find "set(i)" is exactly "i" and change all"set(i)" to "i";
    I wonder if the compiler can change some function to such "inline" in WTK. I don't know how compiler works in WTK, but as a freshman in WTK, i think there may have some optimization option i don't know. Can someone tell me how to make compile do this stuff?
    Thx a lot!

    ...javac make something inline while WTK not...I doubt this. I think that code that was inlined by javac, will remain inlined when executed by WTK. You can check that in more details at compiler forum if needed. Javac remains the same, inlines are there - I don't think this changes.
    What WTK probably can (and maybe even should) change is *hotspot* optimization settings when it emulates execution of MIDlets by real device.
    As for your problem, could it be described as follows: MIDlets run slower than you'd expect of a typical desktop Java applications?
    If yes then WTK User Guide seem to have an explanation for that: +"...Compared to the desktop-based emulator, a real MIDP device usually has a slower processor, less memory, and a slower network connection, and might have a different type of display. The Sun Java Wireless Toolkit for CLDC enables you to simulate the constrained environment of a real device..."+ (quoted from chapter Adjusting Emulator Performance). To me this reads like WTK forces Java machine to slow down execution of MIDlets in order to make it feel closer to a typical mobile device.

  • Simple ArrayList declaration will NOT compile in Eclipse

    For some reason I can't get the following line of code to compile in eclipse, even though the exact same code compiles in NetBeans.
    I'm trying to work on my program at school and they don't have Netbeans installed they only have Eclipse so I have to work with it instead.
    Anyway, here's the line, it's a simple arraylist declaration:
    ArrayList<Integer> list = new ArrayList<Integer>();I''ve got java.util.ArrayList imported.
    There error I get is the following:
    "Syntax error on token '<', invalid assignment operator.
    Can anyone clear this up for me, I've been searching and I've basically wasted a good half-hour without even touching my damn program.

    endasil wrote:
    well, to go higher than 1.4 you'd need a JDK that is higher than 1.4. It really has nothing to do with eclipse, and if you don't have a 1.5 jdk installed, NetBeans will have the same problem.Nonsense. Eclipse has it's own compiler, your JDK is irrelevant.
    Go to Window->Preferences->Java->Compiler and change the compiler compliance setting to 5.0 or higher. Your JRE will need to match, but the JDK need not even be installed

  • Upgraded to ubuntu 7.04 now jeclipse wont compile

    i just upgraded to ubuntu 7.04 now when i try to compile
    ArrayList<Integer> a = new ArrayList<Integer>();
    i get this error in eclipse
    "The type ArrayList is not generic..."
    my compiler compliance level is 6.0
    any ideas?

    I have the same problem. I do not know for sure if this is what caused it but it kept reminding me to upgrade itunes so i did. Now my shuffle doesn't show up on my computer or in itunes, and there are NO songs on it. I had to restore my ipod but it said there was an error and it never finished and now it doesn't show up in itunes or windows.I plugged this into another computer but it doesn't load on that computer either. a green light comes on and blinks slowly. I have no idea whats wrong.

  • Problem with ' as a queryString in jsp

    Hi All,
    I am trying to send a value that I retrieved from the database as a queryString to other jsp. My String has special characters encoded.
    When I am using the encoded in the code given below I get nothing
    ../common/displayMessage.do?displayMessage=<bean:write name="article" property="errorMessage"/>&article=<bean:write name="article" property="article"/>'Here my errorMessage contains something like Data map dosn (&#39 ;)t contain article info.&article=zta-0016
    Special character encoding for '
    How can I pass this value as a queryString?
    --Any Help appreciated.
    Thanks,
    Sowj.
    Edited by: Sowj on Apr 17, 2009 6:45 AM

    The "Compiler compliance level" is set to 5.0
    I am using WebSphere v6.1 to deploy my web application.
    I have no problem to create a generic ArrayList in JSP. The problem occurs when I try to cast a object which I know and have checked is a generic ArrayList.
    First I check if the object is an instance of ArrayList. Then I check if the content of that ArrayList is an instance of my generic object. So I have taken every step to assure that it is what it is supposed to be.

  • Packet does not exist

    Hello,
    I am developing a WebDynpro application with Java 1.5 and NWDS 7.1. When I use external jars in the project build path I get build errors that say that the packet ...does not exist and cannot read symbol...Same thing was working smoothly with NWDS 7.0 java 1.4.
    Please help!
    Greets,
    Diana

    Hi,
    You can try to change your compliance level to another value:
    Windows, Preferences, Java, Compiler, Compliance and classfiles.
    Good luck,
    Roelof

  • MQ Adapter does not clear the rejected message from the queue

    Hi All,
    I'm using a MQ Adapter to fetch the message from the queue without any Backout queue configured. However, whenever there is any bad structured message found in the queue, MQ adapter rejects the message and moves the message to the rejmsg folder but does not clear it off the queue, as a result of which it keeps retrying the same hence, filling the logs and the physical memory. Somehow we do not have any backout queue configured so I can move the message to blackout queue. I have tried configuring the jca retry properties and global jca retry as well but to no avail.
    - Is it not the default behaviour of MQ Adapter to remove the rejected message from the queue irrespective of Backout queue is configured or not? The same behaviour working well with the JMS and File Adapter though.
    - Is there any way I can make MQ Adapter delete the message from that queue once it is rejected?
    Regards,
    Neeraj Sehgal

    Hi Jayson,
    Check this URL which answers a problem with com.sap.engine.boot.loader.ResourceMultiParentClassLoader problem:
    http://209.85.175.132/search?q=cache:RnFZ9viwuKkJ:https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.sdn.folder.sdn!2fcom.sap.sdn.folder.application!2fcom.sap.sdn.folder.roles!2fcom.sap.sdn.folder.navigationroles!2fcom.sap.sdn.role.anonymous!2fcom.sap.sdn.tln.workset.forums!2fforumtest!2fcom.sap.sdn.app.iview.forumthread%3FQuickLink%3Dthread%26tstart%3D45%26threadID%3D1020700+com.sap.engine.boot.loader.ResourceMultiParentClassLoader&hl=en&ct=clnk&cd=3&gl=in&client=firefox-a
    Please check that the JDK compliance level is at 5.0
    Window->Preferences->Java->Compiler->Compiler compliance level set this to 5.0
    Set the installed JRE to the one you have mentioned JDK 5.0 update 16
    Window->Preferences->Java->Installed JRE's->
    Click on the add button to select the path of your JDK.
    once completed click on the check box next to it.
    regards,
    AKD

  • Urgent Help on Smart Card

    Hi Friends
    I have a javacard application which write and reads to/from the smartcard.My card supports Javacard 2.2.1 and GP 2.1.1 ,but from my experience it seems no supporting GP( it is not working GPShell sowing 6d00 error and also giving error under mode_211)
    I converted my class file to a cap file .I was using Netbeans.Now i changed to Eclipse (galileo_jee) with Eclipsejcde plugin.I can convert to cap file from eclipse.I use compiler options as :
    Compiler Compliance level 1.3
    Source code compatibility 1.3
    Generated .class file compatibilty 1.1
    We can convert to a cap file through eclipse .I can run GPShell script (Ant script) using Eclipse and load the cap file to the smart card, but when i ran the following script .I am getting 6d00 error .
    So I moved to Smart card shell(SC Shell):
    It contains some javascript function to install the cap file to smart acrd and read some messages from FORUM that some peoples have successfully installed using Smart Card Shell.When i tried to install my cap file it is loading the file to smart card(I am able to see) ,but giving an error message at the end of install method as 6A80.The APDU trace i have pasted next message.Continue....
    Thanks

    Please note : Followed from 1st message...
    00 C: 00 A4 04 00 - SELECT Lc=8
    0005 A0 00 00 00 03 00 00 00 ........
    Le=0
    R: SW1/SW2=9000 (Normal processing: No error) Lr=27
    0000 6F 19 84 08 A0 00 00 00 03 00 00 00 A5 0D 9F 6E o........... ..n
    0010 06 10 01 76 DE 00 05 9F 65 01 7F ...v ...e..
    00 C: 80 50 00 00 - UNKNOWN_INS Lc=8
    0005 C1 A2 EF A2 26 4F 8F 06 &O..
    Le=0
    R: SW1/SW2=9000 (Normal processing: No error) Lr=28
    0000 00 00 71 18 02 02 1D 3D 33 F6 FF 01 6E D2 BC C7 ..q....=3 .n&#1212;
    0010 4B B3 B9 43 40 2F 7F D2 EB CF 5D FB K C@/. ] 00 C: 84 82 00 00 - UNKNOWN_INS Lc=16
    0005 64 EC 0F 28 6E F8 3A 80 DD B7 4D 8E BA A9 36 09 d .(n :.&#1911;M. 6.
    R: SW1/SW2=9000 (Normal processing: No error) Lr=0
    00 C: 80 E4 00 00 - UNKNOWN_INS Lc=14
    0005 4F 0C 01 02 03 04 05 06 07 08 09 00 00 01 O.............
    Le=0
    R: SW1/SW2=6A88 (Checking error: Reference data not found) Lr=0
    00 C: 80 E4 00 00 - UNKNOWN_INS Lc=12
    0005 4F 0A 01 02 03 04 05 06 07 08 09 00 O...........
    Le=0
    R: SW1/SW2=9000 (Normal processing: No error) Lr=0
    00 C: 80 E6 02 00 - UNKNOWN_INS Lc=23
    0005 0A 01 02 03 04 05 06 07 08 09 00 08 A0 00 00 00 ................
    0015 03 00 00 00 00 00 00 .......
    Le=0
    R: SW1/SW2=9000 (Normal processing: No error) Lr=0
    00 C: 80 E8 00 00 - UNKNOWN_INS Lc=255
    0005 C4 82 02 9D 01 00 14 DE CA FF ED 01 02 04 00 01 ...... .....
    0015 0A 01 02 03 04 05 06 07 08 09 00 02 00 1F 00 14 ................
    0025 00 1F 00 0F 00 0B 00 3E 00 0E 01 2A 00 0A 00 23 .......>...*...#
    0035 00 00 00 8F 00 02 00 00 00 00 01 01 00 04 00 0B ................
    0045 01 02 01 07 A0 00 00 00 62 01 01 03 00 0F 01 0B ........b.......
    0055 01 02 03 04 05 06 07 08 09 00 00 00 08 06 00 0E ................
    0065 00 80 03 00 FF 00 07 02 00 00 00 1C 01 0D 07 01 .... ...........
    0075 2A 00 01 10 18 8C 00 00 7A 02 30 10 09 90 0B 7F *.......z.0.....
    0085 00 01 8F 00 02 3D 8C 00 03 8B 00 04 7A 02 21 19 .....=......z.!.
    0095 8B 00 05 2D 1A 03 25 10 80 6B 28 1A 04 25 73 00 ...-..%..k(..%s.
    00A5 1B 00 02 00 04 00 0D 00 1B 00 14 18 19 8C 00 06 ................
    00B5 70 17 18 19 8C 00 07 70 10 11 6D 00 8D 00 08 70 p......p..m....p
    00C5 08 11 6E 00 8D 00 08 7A 04 23 19 8B 00 05 2D 1A ..n....z.#....-.
    00D5 05 25 60 08 11 6B 00 8D 00 08 1A 06 25 11 00 FF .%`..k......%..
    00E5 53 32 1F 10 09 6C 08 11 6B 00 8D 00 08 1A 07 25 S2...l..k......%
    00F5 11 00 FF 53 29 04 16 04 10 09 6F 08 11 67 00 .. S).....o..g.
    Le=0
    R: SW1/SW2=9000 (Normal processing: No error) Lr=0
    00 C: 80 E8 00 01 - UNKNOWN_INS Lc=255
    0005 8D 00 08 16 04 61 08 11 67 00 8D 00 08 19 8B 00 .....a..g.......
    0015 09 3B 19 16 04 8B 00 0A 19 7B 00 01 1F 16 04 8B .;.......{......
    0025 00 0B 7A 05 23 19 8B 00 05 2D 1A 05 25 60 08 11 ..z.#....-..%`..
    0035 6B 00 8D 00 08 1A 06 25 11 00 FF 53 32 1F 10 09 k......%.. S2...
    0045 6C 08 11 6B 00 8D 00 08 1A 07 25 11 00 FF 53 29 l..k......%.. S)
    0055 04 16 04 10 09 6F 08 11 67 00 8D 00 08 16 04 61 .....o..g......a
    0065 08 11 67 00 8D 00 08 18 19 8B 00 0C 1A 08 7B 00 ..g...........{.
    0075 01 1F 16 04 8D 00 0D 3B 11 90 00 8D 00 08 7A 02 .......;......z.
    0085 22 19 8B 00 05 2D 1A 07 25 11 00 FF 53 32 1F 19 "....-..%.. S2..
    0095 8B 00 0E 6A 08 11 67 00 8D 00 08 7A 08 00 0A 00 ...j..g....z....
    00A5 02 00 01 00 00 00 00 00 00 05 00 3E 00 0F 06 80 ...........>....
    00B5 03 00 05 00 00 00 01 00 00 00 06 00 00 01 03 80 ................
    00C5 03 01 03 80 0A 01 06 00 00 57 06 00 00 B1 06 80 .........W... ..
    00D5 07 01 03 80 0A 07 03 80 0A 09 03 80 0A 05 03 00 ................
    00E5 00 08 06 80 10 01 03 80 0A 06 09 00 23 00 00 00 ............#...
    00F5 1F 05 0A 03 04 03 07 1D 07 08 08 07 0C 13 15 ...............
    Le=0
    R: SW1/SW2=9000 (Normal processing: No error) Lr=0
    00 C: 80 E8 80 02 - UNKNOWN_INS Lc=163
    0005 0A 04 07 04 06 07 0C 13 15 0A 05 05 06 07 07 0E ................
    0015 08 0B 00 8F 01 00 01 00 00 00 00 01 00 06 FF 08 .............. .
    0025 00 00 00 00 22 FF 82 00 01 00 20 00 05 00 00 00 ...." .... .....
    0035 00 00 09 00 08 00 33 00 12 00 00 00 00 07 01 00 ......3.........
    0045 1C 00 24 00 39 00 00 00 00 FF 02 00 57 00 24 00 ..$.9.... ..W.$.
    0055 58 00 00 00 00 FF 02 00 B1 00 24 00 5A 00 00 00 X.... .. .$.Z...
    0065 00 08 01 01 0D 00 24 00 1B 00 00 00 00 00 0F 00 ......$.........
    0075 20 00 22 FF FF 00 20 00 20 00 22 00 24 00 24 00 ." . . .".$.$.
    0085 28 00 2A 00 28 00 2C 00 24 00 2F 00 2A 01 10 01 (.*.(.,.$./.*...
    0095 B0 06 68 00 A1 02 41 01 40 04 B4 41 06 B4 B4 44 .h. .A.@. A. D
    00A5 04 B4 31 . 1
    Le=0
    R: SW1/SW2=9000 (Normal processing: No error) Lr=0
    00 C: 80 E6 0C 00 - UNKNOWN_INS Lc=42
    0005 0A 01 02 03 04 05 06 07 08 09 00 0B 01 02 03 04 ................
    0015 05 06 07 08 09 00 00 0C 01 02 03 04 05 06 07 08 ................
    0025 09 00 00 01 01 07 02 C9 00 00 ....... ..
    Le=0
    R: SW1/SW2=6A80 (Checking error: Incorrect parameter in the command data field) Lr=0
    Please help me reagrding this.Fighting with this over 1 month.Someone Kindly help me to solve this error.I tried the following:
    1) I have read from some forum that if we replace the import.cap with original import.cap file,it will solve the probs.Eventhough it is not the rite method , i thought i can use it now.My import.cap file will be having the content as below.
    04 00 0b 01 02 01 07 a0 00 00 00 62 01 01 and the original cap file will be having 04 00 0b 01 00 01 07 a0 00 00 00 62 01 01
    2) Checked the applet and package AIDs are same.
    3) Checked with the empty methods (without any code in the applet file).had register method in applet constructor also called constructor from install method.
    4)Checked from command prompt ,same problem exist.
    Can anybody help please.i m really in trouble.My time is limited .Please go through my code.In next post ,i will post my code also and missing anything .If anybody wants to test cap file,i wills send tha cap file also.

  • The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing

    Hello,
    I want to create web service from ejb but everytime I want to do it, I get the following error:
    I'm using NWDS 7.2 and JDK 1.6
    [004]Deployment aborted
    Settings
    SDM host : XXX
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/XXXX/LOCALS1/Temp/temp3760382784932063822XXXWSProjectEar.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/XXX/LOCALS1/Temp/temp3760382784932063822XXX/WSProjectEar.ear
    Aborted: development component 'XXXWSProjectEar'/'sap.com'/'localhost'/'2011.01.06.15.48.31'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/XXXWSProjectEar.. Reason: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing. ; nested exception is:      com.sap.engine.services.ejb.exceptions.deployment.EJBXMLParserException: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Can anyone tell me why am I getting this error.
    Thnx for your help.
    Best regards.

    Hello Decio Junior,
    Actually yes, I resolved my problem.
    I'm developing an EJB 3.0 project. I'm using NWDS 7.2 and JDK 1.6 as I said.
    The problem is that my server was using JDK 1.4 and that was the problem.
    EJB 1.1 and 2.1 need ejb-jar.xml but EJB 3.0 use the annotations instead.
    Check your server JDK Version. It should be JDK 1.5 or higher.
    Something else that you should check, in your project properties :
    In the Build PATH : Use JDK 1.5
    In the Java Compiler : Set the java compiler compliance level to 1.6 and check use default compliance settings
    Hope it would help.
    If you need more explanations, I'm here
    Good luck.

  • Java.lang.UnsupportedClassVersionError: per/model/mac/Hrxss_Per_Subtype_Inf

    Hi,
    I have copied the essper application from inactive dc's and changed the visibility property to be derived dynamically depending on the subtype being displayed. After having deployed the essper, I am getting the java.lang.UnsupportedClassVersionError: (com/sap/xss/per/model/mac/Hrxss_Per_Subtype_Info) bad major version at offset=6.
    My compiler compliance level is 1.4 and I am deploying the applications using jdk1.4. Could you please assist?
    Root Cause:
    The initial exception that caused the request to fail, was:
       java.lang.UnsupportedClassVersionError: (com/sap/xss/per/model/mac/Hrxss_Per_Subtype_Info) bad major version at offset=6
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:252)
        at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
        at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
        at com.sap.engine.frame.core.load.ReferencedLoader.loadRefClass(ReferencedLoader.java:573)
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.xss.hr.per.za.family.overview.VcPerFamilyZaOverview. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:141)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$ComponentUsageManager.createVACComponentUsage(FPMComponent.java:747)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:563)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:315)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 57 more
    Caused by: java.lang.UnsupportedClassVersionError: (com/sap/xss/per/model/mac/Hrxss_Per_Subtype_Info) bad major version at offset=6
         at java.lang.ClassLoader.defineClassImpl(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:252)
         at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
         at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
         at com.sap.engine.frame.core.load.ReferencedLoader.loadRefClass(ReferencedLoader.java:573)
         at com.sap.engine.core.classload.impl0.LoaderInfo.loadClassByReference(LoaderInfo.java:34)
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClassByReference(ReferencedLoader.java:301)
         at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:119)
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)
         at java.lang.Class.forNameImpl(Native Method)
         at java.lang.Class.forName(Class.java:119)
         at com.sap.xss.hr.per.za.family.overview.wdp.InternalVcPerFamilyZaOverview.<init>(InternalVcPerFamilyZaOverview.java:47)
         ... 62 more
    Thanking you in advance.
    Kind regards,
    Nkonzo

    hi,
    you may get some idea from below lines
    I changed the compiler complience level to 1.4 and deployed the application using jdk1.4. However the error was still there. When basis team checked the development config for PCUI_GP, it was sitting on SP03 which they then updated and the problem was fixed. Now I am getting a java.lang.UnsupportedClassVersionError on a different wd componet.
    Thanks !
    seventyros
    http://learnsaponline.blogspot.com

  • My first roadblocks in bean culture

    I was trying to follow the how to make a bean instructions
    http://sheikyerbouti.developpez.com/forms-pjc-bean/first-bean/first_bean.pdf
    but I got bogged down here:
    A Javabean source code ‘s skeleton (bean_template.txt) is provided with the samples to help you to quickly start
    a new PJC/Javabean class.
    • Open the bean_template.txt file provided with the samples, then copy the content in the new
    GetCanvasProp.java window
    What samples?
    I think the url was supposed to be this but that no longer exists
    http://www.oracle.com/us/technology/sample_code/products/forms/index.html
    BTW I note that jdeveloper 11.1.1.2 uses weblogic 10.3.5 in case anyone was harboring wishes of less weblogic's on their system. Afraid not!
    This discussion of bean construction doesn't address the samples, and uses eclipse but brings up the question of "compiler compliance
    level". How do we find out the compiler compliance level of any forms version? (I'm trying to use 11.1.1.4)
    http://devtalks.blogspot.com/2008/07/creating-and-using-java-beans-in-oracle.html

    Hello,
    You can download the zip file from the link at the end of the article (PDF).
    Francois

  • UnsupportedClassVersionError in WASD

    I am creating a simple java project in WASD (WebSphere Studio Application Developer Version: 5.1.1 )
    but just changing compiler compliance level to 1.4 from 1.3 .
    when I run a class it gives me UnsupportedClassVersionError
    I don't know what is the problem ?
    pls help

    Having same problem as mentioned in this thread only getting it when try to run the demo webDynpro apps provided with NWDS. 
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
    After 3 installs now with different JDK's last was JDK 1_5_15  ..  can't find update 12 anywhere as perscribed in earlier threads.  Anyone figure out a way to resolve this without have to play shell games with JDK's.  Speaking from new SAP Netweaver Guy considering jumping from ledge.
    Thanks.

  • Eclips使用秘技(绝对经典)zt

    前言:
    本来我都是使用JBuilderX当主力IDE、但使用了Eclipse后
    发现...Eclipse原来也这么好用...渐渐的就爱上了它......
    Eclipse优点:免费、程序代码排版功能、有中文化包、可增
    设许多功能强大的外挂、支持多种操作系统(Windows、
    Linux、Solaris、Mac OSX)..等等。
    开此篇讨论串的目的,是希望能将Eclipse的一些使用技巧集
    合起来...欢迎大家继续补充下去...由于Eclipse的版本众多
    ,希望补充的先进们能顺便说明一下您所使用的版本~
    Eclipse网站:http://www.eclipse.org/
    Eclipse中文化教学:JavaWorld站内文章参考
    (使用版本:Eclipse 2.1.2 Release + 中文化)
    热键篇:
    Template:Alt + /
    修改处:窗口->喜好设定->工作台->按键->编辑->内容辅助。
    个人习惯:Shift+SPACE(空白)。
    简易说明:编辑程序代码时,打sysout +Template启动键,就
    会自动出现:System.out.println(); 。
    设定Template的格式:窗口->喜好设定->Java->编辑器->模板。
    程序代码自动排版:Ctrl+Shift+F
    修改处:窗口->喜好设定->工作台->按键->程序代码->格式。
    个人习惯:Alt+Z。
    自动排版设定:窗口->喜好设定->Java->程序代码格式制作程序。
    样式页面->将插入tab(而非空格键)以内缩,该选项取消勾选
    ,下面空格数目填4,这样在自动编排时会以空格4作缩排。
    快速执行程序:Ctrl + F11
    个人习惯:ALT+X
    修改处:窗口->喜好设定->工作台->按键->执行->启动前一次的启动作业。
    简易说明:第一次执行时,它会询问您执行模式,
    设置好后,以后只要按这个热键,它就会快速执行。
    <ALT+Z(排版完)、ATL+X(执行)>..我觉得很顺手^___^
    自动汇入所需要的类别:Ctrl+Shift+O
    简易说明:
    假设我们没有Import任何类别时,当我们在程序里打入:
    BufferedReader buf =
    new BufferedReader(new InputStreamReader(System.in));
    此时Eclipse会警示说没有汇入类别,这时我们只要按下Ctrl+Shift+O
    ,它就会自动帮我们Import类别。
    查看使用类别的原始码:Ctrl+鼠标左键点击
    简易说明:可以看到您所使用类别的原始码。
    将选取的文字批注起来:Ctrl+/
    简易说明:Debug时很方便。
    修改处:窗口->喜好设定->工作台->按键->程序代码->批注
    视景切换:Ctrl+F8
    个人习惯:Alt+S。
    修改处:窗口->喜好设定->工作台->按键->窗口->下一个视景。
    简易说明:可以方便我们快速切换编辑、除错等视景。
    密技篇:
    一套Eclipse可同时切换,英文、繁体、简体显示:
    1.首先要先安装完中文化包。
    2.在桌面的快捷方式后面加上参数即可,
    英文-> -nl "zh_US"
    繁体-> -nl "zh_TW"
    简体-> -nl "zh_CN"。
    (其它语系以此类推)
    像我2.1.2中文化后,我在我桌面的Eclipse快捷方式加入参数-n1 "zh_US"。
    "C:\Program Files\eclipse\eclipse.exe" -n "zh_US"
    接口就会变回英文语系噜。
    利用Eclipse,在Word编辑文书时可不必将程序代码重新编排:
    将Eclipse程序编辑区的程序代码整个复制下来(Ctrl+C),直接贴(Ctrl+V)到
    Word或WordPad上,您将会发现在Word里的程序代码格式,跟Eclipse
    所设定的完全一样,包括字型、缩排、关键词颜色。我曾试过JBuilder
    、GEL、NetBeans...使用复制贴上时,只有缩排格式一样,字型、颜
    色等都不会改变。
    外挂篇:
    外挂安装:将外挂包下载回来后,将其解压缩后,您会发现features、
    plugins这2个数据夹,将里面的东西都复制或移动到Eclipse的features
    、plugins数据夹内后,重新启动Eclipse即可。
    让Eclipse可以像JBuilderX一样使用拖拉方式建构GUI的外挂:
    1.Jigloo SWT/Swing GUI Builder :
    http://cloudgarden.com/jigloo/index.html
    下载此版本:Jigloo plugin for Eclipse (using Java 1.4 or 1.5)
    安装后即可由档案->新建->其它->GUI Form选取要建构的GUI类型。
    2.Eclipse Visual Editor Project:
    http://www.eclipse.org/vep/
    点选下方Download Page,再点选Latest Release 0.5.0进入下载。
    除了VE-runtime-0.5.0.zip要下载外,以下这2个也要:
    EMF build 1.1.1: (build page) (download zip)
    GEF Build 2.1.2: (build page) (download zip)
    3.0 M8版本,请下载:
    EMF build I200403250631
    GEF Build I20040330
    VE-runtime-1.0M1
    安装成功后,便可由File->New->Visual Class开始UI设计。
    安装成功后,即可由新建->Java->AWT与Swing里选择
    所要建构的GUI类型开始进行设计。VE必须配合着对应
    版本,才能正常使用,否则即使安装成功,使用上仍会
    有问题。
    使用Eclipse来开发JSP程序:
    外挂名称:lomboz(下载页面)
    http://forge.objectweb.org/project/showfiles.php?group_id=97
    请选择适合自己版本的lomboz下载,lomboz.212.p1.zip表示2.1.2版,
    lomboz.3m7.zip表示M7版本....以此类推。
    lomboz安装以及设置教学:
    Eclipse开发JSP-教学文件
    Java转exe篇:
    实现方式:Eclipse搭配JSmooth(免费)。
    1.先由Eclipse制作包含Manifest的JAR。
    制作教学
    2.使用JSmooth将做好的JAR包装成EXE。
    JSmooth下载页面:
    http://jsmooth.sourceforge.net/index.php
    3.制作完成的exe文件,可在有装置JRE的Windows上执行。
    Eclipse-Java编辑器最佳设定:
    编辑器字型设定:工作台->字型->Java编辑器文字字型。
    (建议设定Courier New -regular 10)
    编辑器相关设定:窗口->喜好设定->Java->编辑器
    外观:显示行号、强调对称显示的方括号、强调显示现行行、
    显示打印边距,将其勾选,Tab宽度设4,打印编距字段设80。
    程序代码协助:采预设即可。
    语法:可设定关键词、字符串等等的显示颜色。
    附注:采预设即可。
    输入:全部字段都勾选。
    浮动说明:采预设即可。
    导览:采预设即可。
    使自动排版排出来的效果,最符合Java设计惯例的设定:
    自动排版设定:窗口->喜好设定->Java->程序代码制作格式。
    换行:全部不勾选。
    分行:行长度上限设:80。
    样式:只将强制转型后插入空白勾选。
    内缩空格数目:设为4。
    Eclipse的教学文件:
    Eclipse 3.0系列热键表 - 中英对照解说版 (by sungo) ~New~
    Window+GCC+CDT用Eclipse开发C、C++ (by sungo) ~New~
    其它:
    扩充Eclipse的Java 开发工具(中文)
    使用Eclipse开发J2EE 应用程序(中文)
    使用Eclipse平台进行除错(中文)
    用Eclipse进行XML 开发(中文)
    开发Eclipse外挂程序(中文)
    国际化您的Eclipse外挂程序(英文)
    将Swing编辑器加入Eclipse(英文)
    如何测试你的Eclipse plug-in符合国际市场需求(英文)
    Eclipse的相关网站:
    http://eclipse-plugins.2y.net/eclipse/index.jsp
    http://www.eclipseplugincentral.com/
    Eclipse相关教学[简体]
    写程序写到很累了,想休息一下??玩玩小Game是
    不错的选择,下面介绍使用Eclipse玩Game的Plug-in。
    补充外挂篇:
    Eclipse-Games:
    http://eclipse-games.sourceforge.net/
    版本选:Latest Release 3.0.1 (Release Notes) Sat, 3 Jan 2004
    外挂安装完后,重新开启Eclipse。
    窗口->自订视景->其它->勾选Game Actions。
    再将Eclipse关闭,重新再启动,就可以开始玩噜。
    (共有4种:采地雷I、采地雷II、贪食蛇、仓库番。)
    (Eclipse 2.1.2 +中文化 玩Game -仓库番)  
    补充:(于Eclipse使用assertion机制)
    Eclipse版本:2.1.3 release。
    JDK1.4版新加入的assertion机制(关键词:assert),由于JDK1.4编译器
    预设是兼容1.3,所以要使用assert必须在编译时加上-source 1.4的参数。
    C:\>javac -source 1.4 XXX.java
    执行时则必须加-ea 或-enableassertions参数启动。
    C:\>java -ea XXX
    如要在Eclipse中使用assertion机制,请作以下设定:
    设定一:(编译设定)
    Windows->Preferance->Java->Compiler->Compliance and Classfiles
    页面。将..JDK Compliance level->Compiler compliance level调成1.4。
    设定二:(执行设定)
    Run->Run->(x)=Arguments页面,在VM arguments加入-da参数,按下
    Run button便可看到启动assertion后的执行结果。
    (Eclipse 2.1.3 release + assertion测试)
    <assert判别为false,所以show出AssertionError>
    新版(m8+)的eclipse可以设vm arguments
    另外提供一种设法,是在eclipse启动时加入vm arguments(跟加大eclipse预设内存大小的方式一样)
    这样就不用每次run都得需去设vm arguments

    其实很多功能JBuilder中也都有,我现在用惯了JBuilder,反而觉得eclipse不方便,习惯而已。不过eclipse是免费的!

  • About creating deployment package.

    Hello,
    I am using java1.5.x, Eclipse 3.4.2 ,sun java wireless toolkit 2.5.2 and MTJ SDK.
    I am creating application and debugging well.But when I am going to create package for deployment error raises like
    Could not find jar tool executable.
    The jar tool requires full jjdk installation.
    specify full jdk installation in java prefereneces.
    In jdk compliance I keep default compiler compliance level as 1.5 is it require to set others or not
    please help me
    My application waiting for deplyoment.

    hi
    you can easily deploy application on wireless tool kit in following step
    1. Open Application
    2. Project Menu
    3. Package-> Create Package.

Maybe you are looking for

  • GR/IR from miro document and posting date.

    Hi experts, Is there any proper way to selecting data. My purpose is getting GR/IR on Miro Document and Posting date basis. THE CODE IS. TABLES : bkpf, rseg, bseg. DATA : BEGIN OF it_bkpf OCCURS 0.         INCLUDE STRUCTURE bkpf. DATA : bbelnr TYPE b

  • Error while creating https based web clipping portlet

    Please help me if any one has created https based web clipping portlet. I'm getting the following error when https url is used during clipping : An exception has occurred : oracle.portal.wcs.transport.http.HttpTransportException WCS-510 -- HTTP conne

  • Help - How to Remove X on the Dialog Title Bar

    I have been trying for a while to remove the X(Close) on the Jdialog title bar. Is this possible? Is there an alternative? I have a progress bar in the JDialog and don't want to user to X out.... appeciate the help.

  • Insert HTML and export to PDF problem (ID CS6)

    Greetings, A new feature in Indesign CS6 is to insert HTML snippets in an Indesign document via the Object > Insert HTML option. This will insert a frame in the page containing the rendered HTML content. There are several issues that I have encounter

  • Reinstalling itunes after recovery

    had to run Windows Systems Recovery. Cannot find way to get back into itunes. desktop   Windows XP