Getting an error msg while trying to run the java class from CMC

Hi All,
I am getting an error, while trying to run the java .class file, that which is imoported into CMC.
Error msg:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
     at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     at com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper.main(ProgramWrapper.java:49)
I have imported .class file into CMC and trying to invoke the .class file by another java program from eclipse..When i tried to invoke the .class in cmc, i am getting an error msg, mentioned above. I thought there might be version conflict. So i changed the java complier version to 1.5 in my Eclipse. After that is done again i am facing the same problem.
Can anyone help me to resolve this issue?
Thanks in Advance.

i have installed BO SDK 3.1 , Service pack 3. It comes woth JDK 1.5 version. i have not done any chnages to it. I impoprted all the jar files related to BO into eclipse.
1)  Actually, i am writing java code on eclipse. When i run code from the eclipse, it creates a session to cmc and creates folder structure what i need.
2)  But the thing is, that code needs to run, when i import the .class file into cmc. The process how i imported the .class file to cmc.
Manage> Add> Program File-->Java (Check Box). In this way i added java class file from the eclipse workspace (class file from the bin directory).
3) So when i run the .class file externally by another java program or also when i log in to CMC and run that .class file, the instance shows sucess, but when i see the logfile i am getting an exception that which i mentioned above.
If my method is worng can you please let me know the stepts how to run java program in cmc.
Thanks in Advance

Similar Messages

  • I keep getting an error message while trying to download the cd for my Epson SX515W Printer

    Can any one help me with this problem? I keep getting an error message while trying to download the cd for my new Epson Stylus SX515W series printer.

    Contact Epson's support and read the troubleshooting section of their manual - http://www.epson.co.uk/Store/Printers-and-All-in-Ones/Epson-Stylus-SX515W/Driver s-Support

  • HT5052 I keep getting an error code while trying to upload the IOS 5.1 update to my Ipad 2

    I keep getting an error code while trying to update my Ipad2 to iOS 5.1
    I have tried though syncing to my Mac and by itself

    First thing to try is a reboot of your iPad. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the iPad restart.
    Then try to update at Settings > General > Software Update
    The update servers have been extremely busy this week so keep trying. It took me several attempts before my iPad began the update process.

  • I keep getting an error message while trying to download the blackberry app world on my blackberry 9900

    Error: Invalid manifest or application descriptor.
    The "MIDlet-Name" attribute is missing.

    Hi and Welcome to the Community!!
    Please try this sequence:
    1) Remove AppWorld from your BB
    KB10040 How to view or remove installed applications on a BlackBerry smartphone
    If it requests that you reboot the BB, do so
    2) Do a Batt-Pull reboot (power on, remove battery, wait, insert battery, wait), even if redundant to the one you did in step 1.
    3) Install (on your BB) a fresh copy of AppWorld
    http://blackberry.com/appworld/download
    Again, if it requests to reboot, do so.
    4) Do another Batt-Pull reboot
    5) See if it now works.
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • An error occurred while trying to load the dvd player

    I try to use a dvd control or dvd tutorial and I get:
    An error occurred while trying to load the dvd player
    -2147220869
    (I was following
    http://www.adobe.com/devnet/director/articles/flash_dvd.html
    What should I try?
    .V

    We were having the same problem, found this note in the SAP KB
    https://websmp130.sap-ag.de/sap/support/notes/1321459
    Mike

  • Error message while trying to run combo update

    I get the following error message when trying to run the combo update.
    "You cannot install Mac OS X Update Combined on this volume. This volume does not meet the requirements for this update."
    I tried with both 10.5.7 and 10.5.8 and I get the same message.
    Any suggestions?

    1. Be sure you have downloaded the 10.5.8 Combo Installer.
    2. Verify that you have 10.5.x installed by opening About this Mac from the Apple menu. The installed version should be displayed.
    3. Do the following:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file from PDF or to PDF, I get the message "An error occured while trying to access the service.  What do I need to do to access the service paid for?

    I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file either to PDF or from PDF, I get the error message, "An error occurred while trying to access the service".  What do I need to do to get access to the service I have paid for?

    Hi DeaconTomColorado,
    Please see "Error occurred when trying to access this service" when logging on to Acrobat.com.
    Adobe has just released an update to Adobe Reader, so if you're accessing the service via Reader, please let us know whether the update helps resolve the issue.
    Best,
    Sara

  • I keep getting the message"an error occurred while trying to access the service".  does anyone know what i need to do to resolve this problem.  I am trying to convert apdf file for msword?

    I keep getting the message"an error occurred while trying to access the service".  does anyone know what i need to do to resolve this problem.  I am trying to convert a PDF file for ms word?

    Adobe Reader is free; but you may have paid for the ExportPDF service.
    Contact Adobe Customer Care and click on the Still need help? button to chat with an agent.
    [topic moved to ExportPDF forum]

  • TS1717 Installed the iTunes 10 update on my computer (Windows 7).  iTunes will no longer launch and I get no error msg. Tried uninstalling and reinstalling entire app but no help.  Tried setting up a new user, no help.  What's wrong??

    Installed the iTunes 10 update on my computer (Windows 7).  iTunes will no longer launch and I get no error msg. Tried uninstalling and reinstalling entire app but no help. What's the fix??

    Hi sahgin,
    The issue eventually resolved itself, I still don't really know why. I kept up with Windows update, and attempted downloading iTunes again from the Apple website, and it just... worked. It now works fine. I don't know why it took approximately 4 months to work, though.
    I'm sorry I don't have any more helpful information. Posting here was my last resort, and clearly Apple never bothered to reply.

  • I cannot convert my pdf files to word. I keep getting an error message that "an error occurred while trying to access the service"?

    I cannot convert my pdf files to word. I keep getting an error message that "an error occurred while trying to access the service"?

    See if anything in here helps: https://forums.adobe.com/docs/DOC-1831
    [topic moved to ExportPDF forum]

  • Getting an error message while trying to update Adobe AIR.

    I keep getting this error message while trying to update Adobe AIR:
    Sorry, an error has occurred.
    This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance.
    *Please help me resolve this issue.

    Sundeep, I'm getting the same message.
    I'm on OS 10.5.8
    I've downloaded the Adobe AIR Installer, but the installer always indicates that it will update Adobe AIR
    Installed: 1.5.2.8870
    Update: 1.5.3.9130
    A spotlight search for these two log files produces nothing.
    I also followed your instructions here:
    Double-click the Terminal application located at /Applications/Utilities/Terminal.
    Type cd /Users/userName.
    Type echo > .airinstall.log and/or echo > .airappinstall.log "
    But terminal replies with "No such file or directory"

  • I keep getting an error code while trying to import a cd to my itunes: Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space.  What does this mean?

    I keep getting this error code while trying to import a cd to my itunes: "Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space."  What does this mean?

    Well it probably means exactly what it says... How much free space is there on your hard drive where the iTunes Media folder resides? I believe there is also an obscure bug that can occur when software doesn't read the true value of the free space properly, and the workaround is, perversely, to duplicate some content so that with less actual free space the software in question perceives it as more. I've no idea if iTunes is affected by such a bug.
    tt2

  • HELP!!  I'm getting an error message while trying to sync my iPhone 5 to iTunes. Appreciate support.

    I'm getting an error message while trying to sync my iPhone 5 to iTunes. Appreciate support.

    Click here and follow the instructions.
    (60852)

  • Keep getting error message"an error occured while trying to access the service"

    I convert a pdf file to word every week, but today I keep getting the following error message
    "an error occurred while trying to access the service"
    Why is this happening?

    [topic moved to Acrobat.com Services forum]

  • I just got v10.6, while trying to run the update, it's telling me that the file is corrupt and cannot be saved. What do I do?!

    I'm running Snow Leopard v 10.6 on a Macbook 4,1. I've got a 500 GB HD and 4GB of Ram. While trying to run the software update (to get me to 10.6.8, I think?) I keep getting an error message around 600 MB that says it's unable to be saved because the file might be corrupt and that it will try again when the software update is ran next time. Why am I getting this message? Is there a way to get the update (so I can eventually get to Lion), without going through the software update screen?
    I'm going crazy with this. I've tried 4 times now and still keep getting the same message.

    Try downloading the stand alone installer here:
    http://support.apple.com/kb/DL1399
    In Safari Preferences, General tab, set "Save downloaded files to: select destop, if it is not in thed rop down select other, then selcet Desktop from the left sidebar. After the download completes click on the installer package on your desktop and follow the prompts.
    Also if possible use an ethernet conection as it is less prone to interference, thus less prone to corruption, and usually faster.
    Hope this helps

Maybe you are looking for