JAXB, problems trying to run a program

Hi!
I made a program similar to the create marshal example from the Java Web Services Tutorial. It compiled ok, but when I try:
java Main
I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
Do you know what might be causing this problem?
Thanks!

I've got this problem before,
as time limited,
I simply extract and copy the <jwsdp_home>\jaxb\lib\jaxb_api.jar to the folder containing the Main.java.

Similar Messages

  • Failure to launch problem trying to run any .jnlp

    Hello everyone,
    I have been trying to run a program to help me study for my medical board exams and it uses java web start. I have tried to run the demo program off of the java website as well and I keep getting the same error.
    Unable to Launch download error
    An error occurred while launching/running the application.
    Title: Draw 4 App
    Vendor: Sun Microsystems, Inc.
    Category: Download Error
    Unable to load resource: http://java.sun.com/products/javawebstart/apps/draw.jnlp
    Launch File
    ?xml version="1.0" encoding="utf-8"?>
    <!--
    # @(#)draw.jnlp     1.6 02/09/11
    # JNLP File for Draw Demo Application
    -->
    <jnlp spec="0.2 1.0"
    codebase="http://java.sun.com/products/javawebstart/apps"
    href="draw.jnlp">
    <information>
    <title>Draw 4 App</title>
    <vendor>Sun Microsystems, Inc.</vendor>
    <homepage href="http://java.sun.com/products/javawebstart/demos.html"/>
    <description>A minimalist drawing application along the lines of Illustrator</description>
    <description kind="short">Draw Demo Short Description</description>
    <icon href="images/draw.jpg"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se"/>
    <j2se version="1.3+"/>
    <jar href="draw.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="Draw"/>
    </jnlp>
    Exception
    JNLPException[category: Download Error : Exception: java.net.ConnectException: Connection refused: connect : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Wrapped Exception
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
         at com.sun.javaws.net.BasicNetworkLayer.doHeadRequest(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Sorry I didn't know exactly what info was needed to help with my problem so I just included everything it gave me. I have tried disabling my symantec antivirus, windows firewall and defender, but have had no success. Any help would be tremendously appreciated.
    Thanks,
    Cory Maughan

    sounds like it is not getting the proxyie information correctly.
    open the java console network settings tab and check what proxies are being used.
    /Andy

  • Trying to run java program

    I am trying to run a program called j perf, a graphical front end for iperf a network measurement tool.
    when i type java jperf i get this error message
    Exception in thread "main" java.lang.NoClassDefFoundError
    looking for assistance
    thanks

    Well,
    I assume jperf is the name of you class that has the main method in it. If not then this is one problem.
    If you application uses anything other than classes out of the standard Java rt.jar file then you need to specify the additional jar files in the classpath
    java -classpath myPackage.jar jperf
    P.S. If you main class is called jperf maybe you should think of a better name with a bit of capitalisation.
    IPerfGraphicalFrontEndMain maybe? OK it is more typing but using names that say what they are helps a lot in the end.

  • Problem trying to run program

    I get the following error when i try run my program, which is a simple printing hello world. I am trying to get the compiler on my laptop working.
    C:\Users\Taurus>javac test.java
    C:\Users\Taurus>java test
    Exception in thread "main" java.lang.NoClassDefFoundError: test
    Caused by: java.lang.ClassNotFoundException: test
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)This is the program:
    import java.io.*;
    public class test
         public static void main (String[] args)
              System.out.println("hello world!");
         Edited by: The_One on Sep 6, 2008 9:59 AM

    Check your environment variables. It looks like you have a CLASSPATH that doesn't include the current working directory ( . )
    db

  • Problems trying to run JDeveloper 9.0.2 on Linux

    Dear All,
    I am facing problems while trying to run JDeveloper 9.0.2 (release 2) on my Linux machine.
    When I invoke jdev/bin/jdev file, the well-known JDeveloper window starts up, but in my console I keep on getting the following error:
    JDeveloper Error:
    java.lang.NoSuchMethodError
    at oracle.ide.marshal.xml.Object2Dom.getNamespaceURI(Object2Dom.java:1158)
    at oracle.ide.marshal.xml.Object2Dom.applyTransforms(Object2Dom.java:1177)
    at oracle.ide.marshal.xml.Object2Dom.open(Object2Dom.java:635)
    at oracle.ide.model.DataNode.open(DataNode.java:75)
    at oracle.jdeveloper.model.JProject.open(JProject.java:177)
    at oracle.jdeveloper.model.JProject.ensureOpen(JProject.java:1116)
    at oracle.jdeveloper.model.JProject.getProjectSettings(JProject.java:339)
    at oracle.bm.commonIde.ModelersServices.initialize(ModelersServices.java:423)
    at oracle.ide.AddinManager._registerAddin(AddinManager.java:550)
    at oracle.ide.AddinManager.initAddins(AddinManager.java:715)
    at oracle.ide.AddinManager.initAddins(AddinManager.java:694)
    at oracle.ide.AddinManager.initProductAndUserAddins(AddinManager.java:287)
    at oracle.ide.Ide.initProductAndUserAddins(Ide.java:1147)
    at oracle.ide.Ide.startupImpl(Ide.java:1839)
    at oracle.ide.Ide.startup(Ide.java:1544)
    at oracle.ideimpl.IdeMain.main(IdeMain.java:33)
    The situation becomes even more irritating when I realise that almost all actions that I try to perform (like when I try to add a new Project) are not executed (while I keep on getting the SAME error in my console as above with only the number of the final line that indicates where the first call occured changed).
    Does anybody have any idea of what kind of dependency I may have forgotten and where ? The error seems to be related with some kind of xml (parser maybe ?) incompatibility ... Any clues ?
    To further assist you, I have a list of extra information that might prove to be helpful on my attempt to shed more light onto this very problem:
    My Java Version is:
    java -version:
    java version "1.3.1_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
    Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
    and any possible environment variable related stuff (all links have been double checked and are valid):
    SDK_HOME=/usr/lib/java
    J2EE_HOME=/opt/development/programming/java/sun/j2ee
    J2EE_BIN_HOME=/opt/development/programming/java/sun/j2ee/bin
    FORTE_JDK_HOME=/opt/development/programming/java/sun/forte/forte/j2sdk1.4.0
    CLASSPATH=/usr/lib/jre/lib/rt.jar:/opt/development/programming/java/apache/jakarta/tomcat/common/lib/servlet.jar:/opt/development/programming/java/sun/j2ee/lib/j2ee.jar:/usr/lib/java/lib/jsse.jar:/opt/Servers/JBoss/JBoss/client:.:/opt/development/programming/java/apache/jakarta/ant/lib:.
    JAVA_BINDIR=/usr/lib/java/bin
    ANT_HOME=/opt/development/programming/java/apache/jakarta/ant
    ANT_LIB_HOME=/opt/development/programming/java/apache/jakarta/ant/lib
    JSEE_HOME=/usr/lib/java
    JAVA_BIN_HOME=/usr/lib/java/bin
    TOMCAT_HOME=/opt/development/programming/java/apache/jakarta/tomcat
    JAVA_HOME=/usr/lib/java
    JAVA_PATH=/usr/lib/java:/opt/development/programming/java/sun/j2ee
    JDK_HOME=/opt/development/programming/java/sun/forte/forte/j2sdk1.4.0
    PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/openwin/bin:/usr/lib/java/bin:/opt/gnome/bin:/usr/lib/java/bin:/opt/development/programming/java/sun/j2ee/bin:.:/opt/development/programming/java/apache/ant/bin:.:/opt/projects/cvs/tk_cvs/installation/bin:.:/usr/lib/java/bin:/opt/development/programming/java/sun/j2ee/bin:.:/opt/development/programming/java/apache/jakarta/ant/bin:.:/opt/projects/cvs/tk_cvs/installation/bin:.
    ANT_BIN_HOME=/opt/development/programming/java/apache/jakarta/ant/bin
    I would really like to thank you in advance for your concern,
    Best regards,
    Nassos Koyrendas

    JDeveloper is only supported with JDK 1.3.1_02 as we are aware of some issues with 1.3.1_04. Can you try with JDK 1.3.1_02 and see whether the problem still reproduces.
    Thanks,
    Lisa
    JDev QA Dear Lisa,
    As I have stated within my previous reply to your immediate answer/response, today I reverted my production PC at work to operate with a single processor Linux kernel (2.4.18-4GB) and also installed JDK 1.3.1_02 but still get the same irritating error that apparently does not allow me perform almost any action at all:
    ava.lang.NoSuchMethodError
    at oracle.ide.marshal.xml.Object2Dom.getNamespaceURI(Object2Dom.java:1158)
    at oracle.ide.marshal.xml.Object2Dom.applyTransforms(Object2Dom.java:1177)
    at oracle.ide.marshal.xml.Object2Dom.open(Object2Dom.java:635)
    at oracle.ide.model.DataNode.open(DataNode.java:75)
    at oracle.jdeveloper.model.JProject.open(JProject.java:177)
    at oracle.jdeveloper.model.JProject.ensureOpen(JProject.java:1116)
    at oracle.jdeveloper.model.JProject.getProjectSettings(JProject.java:339)
    at oracle.bm.commonIde.ModelersServices.initialize(ModelersServices.java:423)
    at oracle.ide.AddinManager._registerAddin(AddinManager.java:550)
    at oracle.ide.AddinManager.initAddins(AddinManager.java:715)
    at oracle.ide.AddinManager.initAddins(AddinManager.java:694)
    at oracle.ide.AddinManager.initProductAndUserAddins(AddinManager.java:287)
    at oracle.ide.Ide.initProductAndUserAddins(Ide.java:1147)
    at oracle.ide.Ide.startupImpl(Ide.java:1839)
    at oracle.ide.Ide.startup(Ide.java:1544)
    at oracle.ideimpl.IdeMain.main(IdeMain.java:33)
    java.lang.NoSuchMethodError
    at oracle.ide.marshal.xml.Object2Dom.getNamespaceURI(Object2Dom.java:1158)
    at oracle.ide.marshal.xml.Object2Dom.applyTransforms(Object2Dom.java:1177)
    at oracle.ide.marshal.xml.Object2Dom.open(Object2Dom.java:635)
    at oracle.ide.model.DataNode.open(DataNode.java:75)
    at oracle.jdeveloper.model.JProject.open(JProject.java:177)
    at oracle.jdeveloper.model.JProject.ensureOpen(JProject.java:1116)
    at oracle.jdeveloper.model.JProject.getProjectSettings(JProject.java:339)
    at oracle.jdeveloper.model.JProject.getActiveConfiguration(JProject.java:925)
    at oracle.jdeveloper.model.JProject.getEncoding(JProject.java:750)
    at oracle.ide.Ide.getDefaultEncoding(Ide.java:1036)
    at oracle.ide.model.TextNode.loadURLContentIntoBuffer(TextNode.java:423)
    at oracle.ide.model.TextNode.reopen(TextNode.java:205)
    at oracle.ide.model.TextNode.open(TextNode.java:143)
    at oracle.ide.model.TextNode.acquireTextBuffer(TextNode.java:343)
    at oracle.ide.model.TextNode.getInputStream(TextNode.java:316)
    at oracle.jdevimpl.webapp.html.HtmlEditorConnection.getInputStream(HtmlEditorConnection.java:65)
    at ice.pilots.html4.DOMBuilder.loadData(Unknown Source)
    at ice.pilots.html4.DOMBuilder.linkStyleSheet(Unknown Source)
    at ice.pilots.html4.DOMBuilder.startElement(Unknown Source)
    at ice.pilots.html4.Lex2.doElementCallback(Unknown Source)
    at ice.pilots.html4.Lex2.parseElement(Unknown Source)
    at ice.pilots.html4.Lex2.parseMarkup(Unknown Source)
    at ice.pilots.html4.Lex2.do_parse(Unknown Source)
    at ice.pilots.html4.Lex2.parse(Unknown Source)
    at ice.pilots.html4.Lex2.parse(Unknown Source)
    at ice.pilots.html4.ThePilot.parse(Unknown Source)
    at ice.storm.StormBase.do_render_content(Unknown Source)
    at ice.storm.DefaultPilotContext.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:484)
    No matter what the action that is to be performed is, the JDeveloper application insists on reporting the above mentioned problem and almost always refuses to perform the desired activity!
    Based on your more advanced knowledge of the underlying architecture of JDeveloper, do you happen to have a more clear idea about it and especially the "oracle.ide.marshal.xml.Object2Dom.getNamespaceURI(Object2Dom.java:1158)" case ?
    Is there anything that I have forgotten to properly configure during the installation of jdeveloper ?
    Any other clues that could further assist me ? I am afraid I am still desperate for any king of useful derictives ?
    I would once again like to thank you for your concern,
    Best regards,
    Nassos Koyrendas

  • Help - error message when trying to run a program....

    Getting this error message - been trying to load and get jforge going, but I'm sure this is a standard problem.
    I'm trying to run this on WindowsXP Pro. Could this be an issue? Do I need any sort of plud-in for XP?
    D:\software\jforge\jforge3j2>set CLASSPATH=D:\software\jforge\jforge3j2\jforge.jar;D:\software\jforge\jforge3j\public.jar;D:\software\jforge\jforge3j2\calpahtml.jar;;.
    D:\software\jforge\jforge3j2>java com.tektools.jforge.JForgeMain
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/JFrameBea
    nInfo
    at com.tektools.beaninfo.proxies.JDialogProxyBeanInfo.getIcon(JDialogPro
    xyBeanInfo.java)
    at com.tektools.jforge.loadedbeans.DefaultLoadedBean.<init>(DefaultLoade
    dBean.java)
    at com.tektools.jforge.loadedbeans.DefaultLoadedBeansManager.a(DefaultLo
    adedBeansManager.java)
    at com.tektools.jforge.loadedbeans.DefaultLoadedBeansManager.readBeansFi
    le(DefaultLoadedBeansManager.java)
    at com.tektools.jforge.JForgeMain.g(JForgeMain.java)
    at com.tektools.jforge.JForgeMain.a(JForgeMain.java)
    at com.tektools.jforge.JForgeMain.main(JForgeMain.java)

    Those slashes in the first line of the error message suggest to me that maybe you referred to a class incorrectly in your source code.

  • Java/lang/NoClassDefFoundError when trying to run my program in Eclipse

    I have a problem when using Eclipse. I can compile my classes in Eclipse without problems, but when I try to run the main class I get the following error message:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    I have the same classpath setup when compiling and running the program. I am using JDK 1.3.1 and also have no problem running the program using javaw from a command prompt.
    Please answer if you have encountered this problem or have any idea what the problem might be.

    I start Eclipse using the exe file eclipse.exe with no special arguments.
    I use a JRE installed in e:\jdk1.3.1_01 so on the JRE page in the launch dialog box I have added a JRE with e:\jdk1.3.1_01\jre as the JRE home directory. This means that the JRE system library contain e:\jdk1.3.1_01\jre\lib\rt.jar. On the classpath page this JAR file is also listed as well as some other JAR files I use in my project.

  • I am trying to run PLC programming software, Click, thru windows 8.1, has anyone had any luck?

    I am trying to run a PLC software, Click, on a Mac Pro with a windows partition and windows 8.1 software.  The software runs fine, but cannot recognize a USB port.  Does anyone have an answer for this or tried the same thins?

    I am trying to run iTunes on a PC with Windows 8.1, but the setup wizard tells me there is no space on the D:/ drive, which makes sense, since my D:/ drive is a CD-ROM.
    Even though you're getting a slightly different error message, try the following user tip:
    "Invalid drive X:\" install errors

  • Problem trying to run sql loader

    hi ,
    i'm trying to run sql loader but i'm getting an error message. it was working a few days ago but not now. i am on oracle version 8.0.6.2.0
    from a unix prompt line i type....
    sqlldr system/manager id3com.ctl
    the error message i get is......
    ORA-01017: invalid username/password; logon denied
    SQL*Loader-704: internal error: ulconnect: OCISessionBegin [-1]
    does anyone know what this is for? i've always used system/manager in the past but just recently i've been getting error messages.

    I'd say someone changed the password. Try running sql*plus as system.

  • Jni panic when trying to run a program

    i wanted to install a neuroModeler, a program that requires JDK1.2 or higher,
    this is the message i get when i try to run the program:
    C:\Program Files\NeuroModeler\working>SET PATH=C:\PROGRA~1\NEUROM~1;C:\PROGRA~1\
    NEUROM~1\native;C:\PROGRA~1\NEUROM~1\javaC;
    C:\Program Files\NeuroModeler\working>"C:\PROGRA~1\NEUROM~1\JRE\bin\jre" -cp "C:
    \PROGRA~1\NEUROM~1" n_main "C:\PROGRA~1\NEUROM~1" PC 1
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at
    JNI panic: Couldn't build argument list for main
    i don't know what that means and how to solve it
    PLEASE HELP ME

    Make sure you have "java" in you path.
    For instance:
    C:\javasoft\j2sdk1.4.0\bin

  • Problem trying to run photoshop roundtrip with aperture/automator

    i have been trying to install photoshop round-trip to use with aperture but it is not working.
    first, i created a folder called automator in the main library and drag the "start photoshop roundtrip.action" file.
    second, i copied the photoshop action pack to my photoshop cs2, inside my application folder
    third, i restarted the computer (aperture loves quit and restart).
    now, i am trying to run photoshop round-trip from my aperture menu from automator, but i dont see the option for photoshop round-trip.
    what i am doing wrong?
    thanks for your help.
    eric

    Can you please provide the code for a sample procedure and the string you are passing it for me to try out?

  • Problem trying to run 32 bit VBA program on a 64 bit machine

    I am a new programmer using VBA in Excel. I have used code that refers to a kernel32 in the VBA code. This code fails on a 64 bit machine. Runs perfectly fine on 32 bit machine. Is there code I can add that will allow the program to run on both systems?
    The code is being used to determine the UTC time of a cell from a report.
    Thank you in advance. Code below:
    Option Explicit
    Public Declare Function SystemTimeToFileTime Lib _
        "kernel32" (lpSystemTime As SYSTEMTIME, _
        lpFileTime As FILETIME) As Long
    Public Declare Function LocalFileTimeToFileTime Lib _
        "kernel32" (lpLocalFileTime As FILETIME, _
        lpFileTime As FILETIME) As Long
    Public Declare Function FileTimeToSystemTime Lib _
        "kernel32" (lpFileTime As FILETIME, lpSystemTime _
        As SYSTEMTIME) As Long
    Public Type FILETIME
        dwLowDateTime As Long
        dwHighDateTime As Long
    End Type
    Public Type SYSTEMTIME
        wYear As Integer
        wMonth As Integer
        wDayOfWeek As Integer
        wDay As Integer
        wHour As Integer
        wMinute As Integer
        wSecond As Integer
        wMilliseconds As Integer
    End Type

    I don't have Office-64 to test but try this
    #If VBA7 Then
    Declare PtrSafe Function SystemTimeToFileTime Lib "kernel32" Alias "SystemTimeToFileTime" (lpSystemTime As SYSTEMTIME, lpFileTime As FILETIME) As Long
    Declare PtrSafe Function LocalFileTimeToFileTime Lib "kernel32" Alias "LocalFileTimeToFileTime" (lpLocalFileTime As FILETIME, lpFileTime As FILETIME) As Long
    Declare PtrSafe Function FileTimeToSystemTime Lib "kernel32" Alias "FileTimeToSystemTime" (lpFileTime As FILETIME, lpSystemTime As SYSTEMTIME) As Long
    #Else
    Public Declare Function SystemTimeToFileTime Lib _
    "kernel32" (lpSystemTime As SYSTEMTIME, _
    lpFileTime As FILETIME) As Long
    Public Declare Function LocalFileTimeToFileTime Lib _
    "kernel32" (lpLocalFileTime As FILETIME, _
    lpFileTime As FILETIME) As Long
    Public Declare Function FileTimeToSystemTime Lib _
    "kernel32" (lpFileTime As FILETIME, lpSystemTime _
    As SYSTEMTIME) As Long
    #End If
    For a good intro
    Declaring API Functions In 64 Bit Office

  • Major problems trying to run computer

    I am having a huge problem right now. When I try to boot my Mac the screen is a fuzzy mess and will just freeze up after a few seconds. If I try to reboot a few times, eventually the computer clears itself up and looks like it is booting normally, but when the desktop should show up, it does not, or does for a second and freezes up. I cannot get into any files to save anything. I tried booting to the install disk and running disk first aid. That worked fine, but the computer still will not load without becoming a snowy/fuzsy mess and locking up. Any ideas?

    Are you able to run the Apple Hardware Test from the CD or DVD? I had the same problem, was not able to run Apple Hardware Test, and AppleCare even took me through OpenFirmware, but with no luck. It ended up being a bad logic board, which luckily for me, was covered under warranty. Hopefully yours is something simple (cheap), or even better, I hope you're still under warranty.

  • Trying to run Java programs I wrote, need help~

    I wrote some very simple programs for image viewing with flickrj and other external libraries. But I don't know what would I do to make it run on other people's computers ( only with JRE installed, I can run it only because I have eclipse, can't even get it to work under windows command prompt). I have tried exe4j trial version, but it was really a mess. Please give me some advices~~~
    Thank you very much~

    Thx so much, i got it to work...is it possible for me
    to export it to a .jar file? and just double click it
    will run?Yes. Consult the Java Tutorial on using jars, and especially learn about the attribute "Main-Class" in manifest files. I also suggest you read the jar documentation here:
    http://java.sun.com/j2se/1.5.0/docs/guide/jar/index.html
    and how do you suppress all console output?
    TIAEither don't create it, or redirect it. Some operating systems provide a null device that can be used as a destination that acts as a data sink that will "eat" the data.
    See the setOut and setErr methods in java.lang.System class.

  • Problem trying to run java embedded in Xscale -PXA270

    Hi all,
    I have a Arcom Zeus (Xscale -PXA270, ARMv5, 5TE), and I'm trying to install java embedded for armv5 (headless). My system is debian/linux, gcc (), kernel 2.6.16-28 (cannot upgrade) and glibc (). My /proc/cpuinfo is:
    Processor : XScale-PXA270 rev 7 (v5l)
    BogoMIPS : 517.73
    Features : swp half thumb fastmult edsp
    CPU implementer : 0x69
    CPU architecture: 5TE
    CPU variant : 0x0
    CPU part : 0x411
    CPU revision : 7
    Cache type : undefined 5
    Cache clean : undefined 5
    Cache lockdown : undefined 5
    Cache format : Harvard
    I size : 32768
    I assoc : 32
    I line length : 32
    I sets : 32
    D size : 32768
    D assoc : 32
    D line length : 32
    D sets : 32
    Hardware : Arcom ZEUS
    Revision : 0000
    Serial : 0000000000000000
    My /proc/meminfo is:
    MemTotal: 127684 kB
    MemFree: 13532 kB
    Buffers: 4688 kB
    Cached: 70400 kB
    SwapCached: 0 kB
    Active: 71760 kB
    Inactive: 32680 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 127684 kB
    LowFree: 13532 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 0 kB
    Writeback: 0 kB
    Mapped: 39200 kB
    Slab: 7036 kB
    CommitLimit: 63840 kB
    Committed_AS: 161180 kB
    PageTables: 848 kB
    VmallocTotal: 319488 kB
    VmallocUsed: 66072 kB
    VmallocChunk: 253116 kB
    I think all system requirements are respected!
    I have installed the package but when I try to execute "java", using "./java", it state that the file is not found, which typically means (when the file exists :D), that it is not compiled for the system in question. So, I have compiled a simple helloworld in C and compile it, to compare the output of the file command, between my program and the "java" executable:
    * a.out: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.6.12, dynamically linked (uses shared libs), for GNU/Linux 2.6.12, not stripped
         * java: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
    The only two differences are "version 1 (ARM)" or "version 1 (SYSV) - can it be the EABI? - and Kernel version 2.6.12 to 2.6.14.
    Can someone help me understand what is the problem and if it can be solved by modifying my system (but not the kernel version)?.
    Thanks in advance!

    Hi,
    forgot to state libc6 version = 2.7-18;
    and gcc version = 4.4.3
    thanks!

Maybe you are looking for

  • MS5129

    Anyone know what the maximum memory limitation is on this mother board? There is currently 64Mb fitted (4 x 16Mb SIMMS). I would like to expand to maximum possible - hopefully 4 x 32Mb = 128Mb? Presumably if its possible I would need matched pair SIM

  • Can't remove album rating from an album

    For some reason I can't remove the album rating from one of my albums in iTunes 7.6. I can change the rating, but if I swipe the cursor all the way to the left (which removes all stars on other albums) I get weird, hollow stars that then revert to a

  • BPEL skip checkin documents in UCM

    Guru's : We have an serious issue, We are trying to load documents into UCM from BPEL that Invokes 2-way operation CheckIn.wsdl & service : CheckInUniversal as you can see below. There will be request in BPEL for creating multiple documents for the s

  • Transported to A and Q box - Changes not reflected in only  A Box Q Box Ok?

    Hi Experts, I am facing an issue with Transportation in SAP BI. In my project we have a requirement  to create a new query After that we have developed that query with new requirement features. As per the user requirement, the new developed query mus

  • What's the best phone app to use on iPad for uk users to make calls with

    I know there's a few apps out there to use and make phone calls with, but which is the best one for uk users/callers. I would prefer not to use Skype but if that's the best on the market, that's what I will use. As you can probably guess I'm new to t