Unable to launch jar in dist folder

Hello Everyone.
I'm using Netbeans 7.1, javafx 2.02. I have a small application in JavaFX, the software executed fine from Netbeans IDE, however when i tried to launch it by double clicking the jar file directly, i got this "JavaFx launcher Error, exception while running application".
Need advice, probably this topic is more on how to deploy a developed JavaFX application
1. Was it because i'm not suppose to launch the program directly and need some upfront settings before i'm allowed to do so?
2. How to get more detail error on whats went wrong
3. How to effectively deploy my application
Many thanks in advance.

I'm having same problem. Building and running from the Netbeans works fine but when trying to double click the jar-file in dist folder get JavaFX Launcher Error.
Least in my case, the problem is with external libraries. Problems started when started to play with spring and rmi.
When starting form command line stack trace is following:
Exception in Application constructor
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.javafx.main.Main.launchApp(Main.java:453)
        at com.javafx.main.Main.main(Main.java:570)
Caused by: java.lang.RuntimeException: Unable to construct Application instance:
class org.tut.amcosop.hometerminal.HomeTerminal
        at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown So
urce)
        at com.sun.javafx.application.LauncherImpl.access$000(Unknown Source)
        at com.sun.javafx.application.LauncherImpl$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/springframework/context/Applicati
onContext
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.getConstructor(Unknown Source)
        ... 4 more
Caused by: java.lang.ClassNotFoundException: org.springframework.context.Applica
tionContext
        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 java.lang.ClassLoader.loadClass(Unknown Source)
        ... 8 moreSo seems that springframework is not found.
Found this http://stackoverflow.com/questions/6750249/javafx-2-0-application-referencing-external-jars but not really help since corresponding project files did not contain same lines/blocks.
MANIFEST.MF inside jar contains following:
Manifest-Version: 1.0
JavaFX-Version: 2.0
implementation-vendor: summanek
implementation-title: HomeTerminal
implementation-version: 1.0
JavaFX-Application-Class: org.tut.amcosop.hometerminal.HomeTerminal
JavaFX-Class-Path:
JavaFX-Fallback-Class: com.javafx.main.NoJavaFXFallback
Created-By: JavaFX Packager
Main-Class: com/javafx/main/Main
Should JavaFX-Class-Path be empty?

Similar Messages

  • Unable to install MySQL J Connector, its unable to launch jar file in OS mavericks 10.9.. please

    Hello all,
    i am referring following link to create connector for connection between mysql and sqldeveloper,
    while installing jar file for mysql J conncetor its telling unable to launch jar file.
    This is the latest OS and they have java preferences from utility folder and gave java control panel instead in system prefernces which is picking the runtime latest java version from oracle site.
    Please refer "http://reviews.cnet.com/8301-13727_7-57533880-263/java-preferences-missing-after -latest-os-x-java-update/" for the same.
    Please suggest ASAP.
    Thanks
    AbhiNU

    sorry i missed link in above descriptin
    http://mysql-dba-journey.blogspot.com/2009/05/installing-oracle-sql-developer-or acle.html

  • Application Error, Unable to launch the application Blackboard Collaborate

    I recently updated to Java 7 so I could use this service. I called up Blackboard support when it would not load and they told me to clear Cache, try downloading new deployment file, disable Windows firewall and nothing worked. They then told me to delete all versions of Java I had installed and reinstall Java 6. Here are the execeptions in the error message. Below I posted the
    JeNeLa report, can someone help me?
    Thanks
    JaNeLA Report - version 11.05.17
    Report for https://sas.elluminate.com/site/external/recording/playback/link/meeting.jnlp?suid=M.443BA574762A8747628C022B8E8DE2&sid=329
    Content type text/html;charset=utf-8 does not equal expected type of application/x-java-jnlp-file
    The entity "copy" was referenced, but not declared.
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://na-downloads.elluminate.com/web/download/12.0/video-client-windows-x86.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.net.SocketException: Address family not supported by protocol family: connect
         at java.net.DualStackPlainSocketImpl.connect0(Native Method)
         at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
         at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
         at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.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.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine._downloadCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi, I've missed three weeks of classes because of the same error listed above.  Everything was fine and Blackboard Collaborate Elluminate worked almost effortlessly for 5 or 6 weeks.  Suddenly I tried to log in for a live lecture and this error occurred.  Other students were having trouble and still are.  Tech support at the school couldn't fix it, so they referred me to Blackboard Collaborate tech support (level 2).  They haven't been able to fix it either.  They recommended the same steps listed at the top of this email.  I executed all of them but still receive the same error.  Additionally, at one point, I was unable to install Java.  Funny things seem to happen when I get on the line with tech support to solve this problem, although funny things don't happen during the other work I do on this computer.  Technical language, I know.  :-)
    In an effort to pass the class, I am doing research on own to try to fix this and get into the lectures.
    I am getting the same error listed above but am not a developer and don't understand how to get to JNLP to enter the fix listed above (if someone has a hint, I'd love to try that fix).
    Any help would be very much appreciated. 
    System Info
    OS:  Windows 8
    Browsers:  IE (threw this one out), Chrome, Firefox, Safari (tested in all four)
    Sample of Recorded lectures I'm trying to access (missed live ones):
    1.  https://sas.elluminate.com/mr.jnlp?suid=M.60B248A725D4A32CA5B76ADD737480&sid=99
    2.  https://sas.elluminate.com/mr.jnlp?suid=M.439DBCFAF3A92D0CF4463E08F292FF&sid=99
    3.  https://sas.elluminate.com/mr.jnlp?suid=M.CEEE93FF5E74424C9522175933AEAB&sid=99
    4.  https://sas.elluminate.com/mr.jnlp?suid=M.5CBD227A9E691833B971171B71F3F5&sid=99
    5.  https://sas.elluminate.com/mr.jnlp?suid=M.A3B01958884535C4DA594910D08F3A&sid=99
    6.  https://sas.elluminate.com/mr.jnlp?suid=M.F7B438C6DDB82538CAFC2F4EF86FC4&sid=99
    7.  https://sas.elluminate.com/mr.jnlp?suid=M.B341AF2AE689D0DEFDCC7261ADA1DE&sid=99
    8.  https://sas.elluminate.com/mr.jnlp?suid=M.5EDE7727548758A71965665DE7B882&sid=99
    9.  https://sas.elluminate.com/mr.jnlp?suid=M.DF55C212D327654AE0969C0387E763&sid=99
    10.  https://sas.elluminate.com/mr.jnlp?suid=M.08C2668EDDCE02548EFB530E0A2370&sid=99
    Here are steps taken so far:
    1. Clear Java Installed Apps and Applets (Control Panel - Java 32-bit - SEttings - Delete files - Installed apps and applets - ok - ok - ok)
    2.  Delete all files in Downloads folder (from all browsers)
    3.  Allow Java in Windows firewall (Start screen - hold down Windows key and W - Search for "firewall" - Navigate to Java program name - click all boxes and save)
    4.  Ran CCleaner to remove all temporary internet files, cookies, etc. that could be interfering
    5.  When nothing else worked, uninstalled and reinstalled Java twice (on the second time, it took over a dozen tries to reinstall Java - suddenly it just worked) and both times I deleted the Sun folder (C:/Users/Me/appdata/LocalLow/Sun) at the direction of tech support
    6.  Removed old registry entries both times using CCleaner
    7.  Rebooted (something done all along the way to see if it helped)
    8.  Tried to access live classes and recordings from multiple lectures through Blackboard Collaborate Elluminate and received the same error (details included below)
    9.  Tried to access Blackboard Collaborate Elluminate with Windows firewall on, then Windows firewall off, then ZoneAlarm Extreme firewall on, then ZoneAlarm Extreme firewall off (and entire associated software package); when on, ZoneAlarm gives "super" trusted status to all parts of Java listed and gives green checkmarks for all parts of Java listed and all levels of security
    10.  End results so far:  receiving same error - nothing works
    Here's the error followed by a copy of all text from the details section.
    ERROR INFO BEGIN (my note on beginning of actual error language)
    Application Error
    Unable to launch the application.
    Name:  Blackboard Collaborate
    Publisher:  Blackboard Collaborate
    Location:  https://.../classroom-full.jar
    ERROR INFO END (my note on end of actual error language)
    ERROR More Information BEGIN
    Error:  Unable to load resource:  https://na-downloads.elluminate.com/web/download/12.5/video-client-windows-x86.jar
    ERROR More Information END
    DETAILS BEGIN
    Details - Launch File Tab
    <jnlp spec="1.5+" codebase="https://na-downloads.elluminate.com/web/download/12.5">
      <information>
        <title>Blackboard Collaborate</title>
        <vendor>Blackboard Collaborate</vendor>
        <description>Blackboard Collaborate Virtual Classroom</description>
        <icon href="gemini.png"/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="always" policy="always"/>
      <resources os="Mac\ OS\ X">
        <j2se version="1.6" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
        <j2se version="1.7+" initial-heap-size="512m" max-heap-size="512m"/>
      </resources>
      <resources os="Mac\ OS\ X" arch="ppc">
        <nativelib href="audio-client-macosx-ppc.jar"/>
        <nativelib href="video-client-macosx-ppc.jar"/>
        <nativelib href="classroom-browser-macosx-ppc.jar"/>
        <nativelib href="audio-client-ecelp-macosx-ppc.jar"/>
        <nativelib href="classroom-util-platform-macosx-ppc.jar"/>
        <nativelib href="classroom-gui-macosx-ppc.jar"/>
        <nativelib href="appshare-client-macosx-ppc.jar"/>
      </resources>
      <resources os="Mac\ OS\ X" arch="i386">
        <nativelib href="appshare-client-macosx-x86.jar"/>
        <nativelib href="audio-client-macosx-x86.jar"/>
        <nativelib href="audio-client-ecelp-macosx-x86.jar"/>
        <nativelib href="video-client-macosx-x86.jar"/>
        <nativelib href="classroom-browser-macosx-x86.jar"/>
        <nativelib href="audio-client-webrtc-macosx-x86.jar"/>
        <nativelib href="classroom-gui-macosx-x86.jar"/>
        <nativelib href="classroom-util-platform-macosx-x86.jar"/>
        <jar href="engine-webkit-3.3.jar"/>
      </resources>
      <resources os="Mac\ OS\ X" arch="x86_64">
        <nativelib href="audio-client-macosx-x86_64.jar"/>
        <nativelib href="classroom-browser-macosx-x86_64.jar"/>
        <nativelib href="classroom-util-platform-macosx-x86_64.jar"/>
        <nativelib href="audio-client-webrtc-macosx-x86_64.jar"/>
        <nativelib href="classroom-gui-macosx-x86_64.jar"/>
        <nativelib href="video-client-macosx-x86_64.jar"/>
        <nativelib href="audio-client-ecelp-macosx-x86_64.jar"/>
        <nativelib href="appshare-client-macosx-x86_64.jar"/>
        <jar href="engine-webkit-3.3.jar"/>
      </resources>
      <resources os="Windows">
        <j2se version="1.6+" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
      </resources>
      <resources os="Windows" arch="x86">
        <nativelib href="video-client-windows-x86.jar"/>
        <nativelib href="audio-client-windows-x86.jar"/>
        <nativelib href="audio-client-ecelp-windows-x86.jar"/>
        <nativelib href="classroom-util-platform-windows-x86.jar"/>
        <nativelib href="appshare-client-windows-x86.jar"/>
        <nativelib href="audio-client-webrtc-windows-x86.jar"/>
        <nativelib href="classroom-gui-windows-x86.jar"/>
      </resources>
      <resources os="Windows" arch="x86_64 amd64">
        <nativelib href="audio-client-webrtc-windows-x86_64.jar"/>
        <nativelib href="classroom-util-platform-windows-x86_64.jar"/>
        <nativelib href="audio-client-windows-x86_64.jar"/>
        <nativelib href="video-client-windows-x86_64.jar"/>
        <nativelib href="audio-client-ecelp-windows-x86_64.jar"/>
        <nativelib href="classroom-gui-windows-x86_64.jar"/>
        <nativelib href="appshare-client-windows-x86_64.jar"/>
      </resources>
      <resources os="SunOS" arch="sparc">
        <j2se version="1.6+" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
        <nativelib href="appshare-client-solaris-sparc.jar"/>
        <nativelib href="audio-client-ecelp-solaris-sparc.jar"/>
        <nativelib href="classroom-gui-solaris-sparc.jar"/>
      </resources>
      <resources os="Linux">
        <j2se version="1.6+" java-vm-args="-Xincgc" initial-heap-size="512m" max-heap-size="512m"/>
      </resources>
      <resources os="Linux" arch="i386 x86">
        <nativelib href="classroom-gui-linux-x86.jar"/>
        <nativelib href="audio-client-ecelp-linux-x86.jar"/>
        <nativelib href="appshare-client-linux-x86.jar"/>
        <nativelib href="video-client-linux-x86.jar"/>
      </resources>
      <resources os="Linux" arch="x86_64 amd64">
        <nativelib href="audio-client-ecelp-linux-x86_64.jar"/>
        <nativelib href="appshare-client-linux-x86_64.jar"/>
        <nativelib href="video-client-linux-x86_64.jar"/>
        <nativelib href="classroom-gui-linux-x86_64.jar"/>
      </resources>
      <resources locale="ar">
        <jar href="lang-ar.jar"/>
      </resources>
      <resources locale="bg">
        <jar href="lang-bg.jar"/>
      </resources>
      <resources locale="cy">
        <jar href="lang-cy.jar"/>
      </resources>
      <resources locale="da">
        <jar href="lang-da.jar"/>
      </resources>
      <resources locale="de">
        <jar href="lang-de.jar"/>
      </resources>
      <resources locale="en_GB">
        <jar href="lang-en_GB.jar"/>
      </resources>
      <resources locale="es">
        <jar href="lang-es.jar"/>
      </resources>
      <resources locale="fr">
        <jar href="lang-fr.jar"/>
      </resources>
      <resources locale="it">
        <jar href="lang-it.jar"/>
      </resources>
      <resources locale="iw">
        <jar href="lang-iw.jar"/>
      </resources>
      <resources locale="ja">
        <jar href="lang-ja.jar"/>
      </resources>
      <resources locale="ko">
        <jar href="lang-ko.jar"/>
      </resources>
      <resources locale="nl">
        <jar href="lang-nl.jar"/>
      </resources>
      <resources locale="pl">
        <jar href="lang-pl.jar"/>
      </resources>
      <resources locale="pt_BR">
        <jar href="lang-pt_BR.jar"/>
      </resources>
      <resources locale="ru">
        <jar href="lang-ru.jar"/>
      </resources>
      <resources locale="sv">
        <jar href="lang-sv.jar"/>
      </resources>
      <resources locale="th">
        <jar href="lang-th.jar"/>
      </resources>
      <resources locale="tr">
        <jar href="lang-tr.jar"/>
      </resources>
      <resources locale="vi">
        <jar href="lang-vi.jar"/>
      </resources>
      <resources locale="zh_CN">
        <jar href="lang-zh_CN.jar"/>
      </resources>
      <resources locale="zh_TW">
        <jar href="lang-zh_TW.jar"/>
      </resources>
      <resources>
        <j2se version="1.6+" initial-heap-size="512m" max-heap-size="512m"/>
        <property name="sun.jnu.encoding" value="UTF-8"/>
        <property name="apple.laf.useScreenMenuBar" value="true"/>
        <property name="apple.awt.window.position.forceSafeProgrammaticPositioning" value="false"/>
        <property name="jnlp.packEnabled" value="true"/>
        <jar href="classroom-full.jar" main="true"/>
        <jar href="guice-2.0-no_aop.jar"/>
        <jar href="classroom-mrf.jar"/>
        <jar href="classroom-version.jar"/>
        <jar href="classroom-util.jar"/>
        <jar href="classroom-capture.jar"/>
        <jar href="extra.jar"/>
        <jar href="classroom-gui.jar"/>
        <jar href="jinx-core.jar"/>
        <jar href="classroom-core.jar"/>
        <jar href="classroom-mlf.jar"/>
        <jar href="classroom-session.jar"/>
        <jar href="classroom-feature.jar"/>
        <jar href="classroom-imps.jar"/>
        <jar href="classroom-location.jar"/>
        <jar href="classroom-swing.jar"/>
        <jar href="wsfix.jar"/>
        <jar href="classroom-app.jar"/>
        <jar href="view-core.jar"/>
        <jar href="jinx-client.jar"/>
        <jar href="view-client.jar"/>
        <jar href="video-core.jar"/>
        <jar href="command-engine.jar"/>
        <jar href="video-client.jar"/>
        <jar href="online-client.jar"/>
        <jar href="recorder-core.jar"/>
        <jar href="recorder-client.jar"/>
        <jar href="chair-core.jar"/>
        <jar href="chair-client.jar"/>
        <jar href="chat-core.jar"/>
        <jar href="chat-client.jar"/>
        <jar href="polling-core.jar"/>
        <jar href="polling-client.jar"/>
        <jar href="starttime-core.jar"/>
        <jar href="starttime-client.jar"/>
        <jar href="jdom-1.0.jar"/>
        <jar href="profile-core.jar"/>
        <jar href="profile-client.jar"/>
        <jar href="player-client.jar"/>
        <jar href="hand-core.jar"/>
        <jar href="hand-client.jar"/>
        <jar href="notes-core.jar"/>
        <jar href="notes-client.jar"/>
        <jar href="participant-core.jar"/>
        <jar href="participant-client.jar"/>
        <jar href="calculator-core.jar"/>
        <jar href="calculator-client.jar"/>
        <jar href="transfer-core.jar"/>
        <jar href="transfer-client.jar"/>
        <jar href="timer-core.jar"/>
        <jar href="timer-client.jar"/>
        <jar href="whiteboard-core.jar"/>
        <jar href="whiteboard-palette.jar"/>
        <jar href="itext-0.40.jar"/>
        <jar href="whiteboard-client.jar"/>
        <jar href="breakout-core.jar"/>
        <jar href="breakout-client.jar"/>
        <jar href="activity-core.jar"/>
        <jar href="activity-client.jar"/>
        <jar href="hazelcast-2.3.1.jar"/>
        <jar href="clustering.jar"/>
        <jar href="lm-core.jar"/>
        <jar href="lm-client.jar"/>
        <jar href="telephony-core.jar"/>
        <jar href="telephony-client.jar"/>
        <jar href="audio-core.jar"/>
        <jar href="audio-client.jar"/>
        <jar href="appshare-core.jar"/>
        <jar href="appshare-client.jar"/>
        <jar href="caption-core.jar"/>
        <jar href="caption-client.jar"/>
        <jar href="jxbrowser-3.4.jar"/>
        <jar href="jniwrap-3.8.4.jar"/>
        <jar href="engine-webkit-3.4.jar"/>
        <jar href="slf4j-api-1.5.8.jar"/>
        <jar href="slf4j-log4j12-1.5.8.jar"/>
        <jar href="log4j-1.2.15.jar"/>
        <jar href="classroom-browser.jar"/>
        <jar href="web-core.jar"/>
        <jar href="web-client.jar"/>
        <jar href="multimedia-core.jar"/>
        <jar href="multimedia-client.jar"/>
        <jar href="agenda-core.jar"/>
        <jar href="agenda-client.jar"/>
        <jar href="invite-core.jar"/>
        <jar href="invite-client.jar"/>
        <jar href="quiz-core.jar"/>
        <jar href="quiz-client.jar"/>
      </resources>
      <application-desc main-class="com.elluminate.classroom.client.branding.full.Main">
        <argument>-session</argument>
        <argument>player</argument>
        <argument>-play</argument>
        <argument>https://sas.elluminate.com/site/external/download/recording?uid=C6C6F19E808D60024636948EB0BABADC</argument>
      </application-desc>
    </jnlp>
    DETAILS END
    DETAILS BEGIN
    Exception Tab
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: https://na-downloads.elluminate.com/web/download/12.5/video-client-windows-x86.jar
      at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    DETAILS END
    DETAILS BEGIN
    Wrapped Exception Tab
    java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
      at sun.security.ssl.BaseSSLSocketImpl.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.protocol.https.HttpsClient.<init>(Unknown Source)
      at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
      at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    DETAILS END
    Message was edited by: nondev
    Added links to recorded lectures I'm trying to access and a couple of additional details that describe the situation

  • Change desktop icon in dist folder

    hi. i was wondering how could i change the default icon of the coffee cup in the dist folder of my application once i compile my program. thanks in advance.
    xna

    xnofate wrote:
    no. not really. once we've finished our application and compile it we get an Executable Jar File in our project's Dist folder right? and it's default icon is the Java&#153; Coffee Cup. i would like to change the image of that desktop icon ^^; sorry for being too vague btw.
    xnayou can change the icon to be used for all jar files - not for each single one...
    Instructions for Windows XP:
    1) Explorer > Tools > FileTypes
    2) Select JAR (Executable Jar File)
    3) Click "Advanced"
    4) Click "Change Icon"
    5) Select the icon you wish to use
    6) Click "OK"
    7) Click "Close"
    If you want to change for a single application you have create an application launcher. I use [install4j|http://www.ej-technologies.com/products/install4j/overview.html] from ej-technologies.
    ;-)

  • 'Unable to Launch Application Error' - Java Web Start Running Under MS IIS.

    I am attempting to render the following .jnlp in MS IE:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for LottoMadness Application -->
    <jnlp
       codebase="http://localhost/LottoMadness/"
       href="LottoMadness.jnlp">
       <information>
         <title>LottoMadness Application</title>
         <vendor>Rogers Cadenhead</vendor>
         <homepage href="http://localhost/LottoMadness/"/>
         <icon href="lottobigicon.gif"/>
       </information>
       <resources>
         <j2se version="1.5"/>
         <jar href="LottoMadness.jar"/>
       </resources>
       <application-desc main-class="LottoMadness"/>
    </jnlp>I've deployed the .jnlp, .gif, and .jar to MS IIS, running locally on my PC.
    When I attempt to render the .jnlp in IE I obtain an 'Application Error' window stating 'Unable to Launch Application'. Clicking details gives me:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost/LottoMadness/LottoMadness.jnlp
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I have configured MS IIS for Web Start, by setting the Extension/Content Type fields to .jnlp and application/x-java-jnlp-file.
    (The .jnlp is basically from 'Programming with Java in 24 Hours', as this is the book I am learning Java from.)

    AndrewThompson64 wrote:
    I am not used to seeing references to a local server that do not include a port number.
    E.G. http://localhost:8080/LottoMadness/
    I have deployed the following HTML (HelpMe.html) to the web server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Help Me!
    </body>
    </html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
    http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
    >
    As an aside, what happens if (your MS IIS is running and) you click a direct link to..
    [http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
    When I click this link I get the error and exception I cited in my previous post.

  • Unable to access jar file error !

    hello,
    i have built my netbeans project and obtained the hequalifies.jar file . unfortunately when i'm trying to run this jar file from the prompt command I'mgetting the error: unable to access jar file
    here is the command i'm typing:
    C:\Users\User\Documents\NetBeansProjects\hEqUALIFIES\dist>java -jar " C:\Users\U
    ser\Documents\NetBeansProjects\hEqUALIFIES\dist hequalifies.jar "
    anyone has any clue?
    10x!

    ok i'm gonna make it easier on you.
    i gess i found what is the problem but have no idea how to solve it.
    when i obtained the .jar file i also obtained a README.txt file in which it is written the following phrase:
    ** If a library on the projects classpath also has a Class-Path element*
    specified in the manifest,the content of the Class-Path element has to be on the projects runtime path.
    I'M SORRY BUT I DID NOT UNDERSTAND WHAT IS MEANT BY: what is "the projects runtime path"?
    the content of my manifest is:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: 10.0-b23 (Sun Microsystems Inc.)
    Main-Class: hequalifies.ui.HeQualifies
    Class-Path: lib/PlugIn
    X-COMMENT: Main-Class will be added automatically by build
    I'm having problem with lib/plugin.

  • Unable to launch application with webstart

    Hi all, hope someone can help
    I recently installed j2se 5.0 update 1 and uninstalled my earlier version of 1.4.2_06.
    Since uninstalling the earlier version I am unable to run my application, I get the following error:
    An error occurred while launching/running the application.
    Title: Uploader
    Vendor: Me
    Category: Launch File Error
    Could not parse launch file. Error at line 0.
    This is from the exception tab:
    JNLParseException[ Could not parse launch file. Error at line 0.]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)
    Here is a copy of my jnlp file
    <?php
    header('Content-type: application/x-java-jnlp-file');
    echo '<?xml version="1.0" encoding="UTF-8"?>';
    echo '<jnlp spec="1.0+" codebase="http://www.******.com.au/uploader/fileuploader" href="fileuploader_jnlp.php">';
    echo ' <information>';
    echo ' <title>Uploader</title>';
    echo ' <vendor>Me</vendor>';
    echo ' <homepage href="index.html" />';
    echo ' <description></description>';
    echo ' </information>';
    echo ' <resources>';
    echo ' <j2se version="1.4"/>';
    echo ' <jar href="fileuploader.jar" main="true" />';
    echo ' <jar href="JimiProClasses.jar" />';
    echo ' </resources>';
    echo ' <application-desc main-class="fileuploader.FileUploader">';
    echo ' <argument>http://www.********.com.au/uploader/fileuploader/upload.php</argument>';
    echo ' <argument>25/</argument>';
    //echo ' <argument>100000</argument>';
    //echo ' <argument>thomas:test</argument>';
    echo ' </application>';
    echo ' <security>';
    echo ' <all-permissions/>';
    echo ' </security>';
    echo '</jnlp>';
    ?>
    The application runs fine if I uninstall version 5.0 and revert to 1.4.2_06
    but I would like it to be compatible with newer versions of java.
    P.S. Im not a programer so if you could explain to me in simple terms what Im doing wrong it would be great.
    Thanks in advance
    Dean

    I'm a programming illiterate having the same problem with the latest java.
    Unable to Launch Application
    Exception:
    JNLParseException[ Could not parse launch file. Error at line 0.]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Wrapped Exception:
    java.io.EOFException: encoding.error.not.xml
         at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    What am I supposed to do? Java Web Start is supposed to be dummy friendly :(
    Edit: Problem solved! It seems the file wasn't completely removed and parts of it were corrupted under the java viewer-resources (old cache messing it up). Once removed the problems were gone, so anyone having this problem should check that out :D
    Edited by: Mr.O on Jul 21, 2008 10:32 PM

  • Unable to launch application

    I am just starting off with Java Web Start and trying some simple tests. Let me preface the problem statement by saying that everything is on the same machine (my Win XP Pro desktop). Also, I have confirmed that the environment is set up correctly by running the demo apps at http://java.sun.com/products/javawebstart/demos.html; these work flawlessly.
    However, when I try to invoke my application it fails with a dialog that reads
    Unable to launch Test JNLP ApplicationSelecting the "Details" button, displays the Download Error window. The gist of the contents of the General tab is
    Unable to load resource: http://d10616:8080/aatview/test.jnlpEverything about the URL is correct. The Exception tab has a stack trace that begins with
    JNLPException[category: Download Error : Exception: java.io.IOException: Server returned HTTP response code: 503 for URL: http://d10616:8080/aatview/test.jnlp : LaunchDesc: null ]Perusing this forum I read a recommendation to remove the proxy setting the JAWS Application Manager. So I did that; but then I get a failure with the General tab reading
    Unsigned application requesting unrestricted access to systemCan you help?

    Unsigned application requesting unrestricted access to systemWell It means your application was downloaded, but if the jnlp file indicates an unrestricted access to the client, you need to sign your application.
    Search for self-signed certificates in the forums to know how to generate a cert yourself and sign the jar file(s).

  • Application Error: Unable to launch application

    Hi guys,
    My name is Jay Sun and I am new this this Forums.  I am told by my professor to migrate from this Java application to Java Web Start.
    I read all about it but I'm still struggling.  I have an example program called Traffic Light.  From the TrafficLight class,
    I created a .jar file from .java file.  The jar file runs perfectly fine and I created a .jnlp file using this.<?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="file:///C:/Documents and Settings/HP_Administrator/Desktop/TrafficLight" href="TrafficLight.jnlp">
    <information>
    <title>Traffic Light</title>
    <vendor>Java Developer Connection</vendor>
    <homepage href="/jdc" />
    <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <resources>
    <j2se version="1.6+" />
    <jar href="TraffcLight.jar"/>
    </resources>
    <application-desc main-class="Traffic Light" />
    </jnlp>That's my .jnlp file.
    My .java file is below it.import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class TrafficLightFrame extends JFrame {
    // These are the window's components
    private JRadioButton[] buttons = new JRadioButton[3];
    private JButton advButton;
    private JProgressBar progressBar;
    private JSlider slider;
    private JComboBox actionList;
    private JCheckBox autoButton;
    public TrafficLightFrame(String title) {
    super(title);
    buildWindow();
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setSize(400, 250);
    // Add all components to the frame's panel
    private void buildWindow() {
    GridBagLayout layout = new GridBagLayout();
    GridBagConstraints constraints = new GridBagConstraints();
    setLayout(layout);
    // Add all the labels
    JLabel label = new JLabel("Manual");
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.gridwidth = 1;
    constraints.gridheight = 1;
    constraints.weightx = 0;
    constraints.weighty = 0;
    constraints.fill = GridBagConstraints.NONE;
    constraints.anchor = GridBagConstraints.NORTHWEST;
    constraints.insets = new Insets(5, 5, 0, 0);
    layout.setConstraints(label, constraints);
    add(label);
    label = new JLabel("Action");
    constraints.gridx = 1;
    layout.setConstraints(label, constraints);
    add(label);
    label = new JLabel("Advance");
    constraints.gridx = 2;
    layout.setConstraints(label, constraints);
    add(label);
    label = new JLabel("Timer Progress");
    constraints.gridx = 0;
    constraints.gridy = 4;
    layout.setConstraints(label, constraints);
    add(label);
    // Add the Radio Buttons
    ButtonGroup lights = new ButtonGroup();
    JPanel aPanel = new JPanel();
    aPanel.setLayout(new BoxLayout(aPanel, BoxLayout.Y_AXIS));
    aPanel.setBackground(Color.black);
    for (int i=0; i<3; i++) {
    buttons[i] = new JRadioButton("", false);
    buttons.setBackground(Color.black);
    lights.add(buttons[i]);
    aPanel.add(buttons[i]);
    buttons[0].setText("Red");
    buttons[1].setText("Yellow");
    buttons[2].setText("Green");
    buttons[0].setForeground(Color.red);
    buttons[1].setForeground(Color.yellow);
    buttons[2].setForeground(Color.green);
    constraints.gridx = 0;
    constraints.gridy = 1;
    constraints.gridheight = 3;
    constraints.fill = GridBagConstraints.BOTH;
    layout.setConstraints(aPanel, constraints);
    add(aPanel);
    // Make the Actions List
    String[] actions = {"Stop", "Yield", "Go"};
    actionList = new JComboBox(actions);
    constraints.gridx = 1;
    constraints.gridy = 1;
    constraints.gridheight = 1;
    constraints.weightx = 1;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    layout.setConstraints(actionList, constraints);
    add(actionList);
    // Make the Slider
    slider = new JSlider(JSlider.HORIZONTAL, 0, 20, 1);
    slider.setMajorTickSpacing(5);
    slider.setMinorTickSpacing(1);
    slider.setPaintTicks(true);
    slider.setPaintLabels(true);
    constraints.gridx = 1;
    constraints.gridy = 3;
    layout.setConstraints(slider, constraints);
    add(slider);
    // Add the auto checkbox button
    autoButton = new JCheckBox("Auto Advance");
    constraints.gridx = 1;
    constraints.gridy = 2;
    constraints.fill = GridBagConstraints.BOTH;
    layout.setConstraints(autoButton, constraints);
    add(autoButton);
    // Add the Advance Picture button
    advButton = new JButton(new ImageIcon("RedLight.jpg"));
    constraints.gridx = 2;
    constraints.gridy = 1;
    constraints.gridheight = 3;
    constraints.weightx = 0;
    constraints.weighty = 1;
    constraints.fill = GridBagConstraints.BOTH;
    constraints.insets = new Insets(5, 5, 0, 5);
    layout.setConstraints(advButton, constraints);
    add(advButton);
    // Add the progress bar
    progressBar = new JProgressBar(JProgressBar.HORIZONTAL, 0, 8);
    constraints.gridx = 0;
    constraints.gridy = 5;
    constraints.gridwidth = 3;
    constraints.gridheight = 1;
    constraints.weightx = 1;
    constraints.weighty = 2;
    constraints.fill = GridBagConstraints.BOTH;
    constraints.insets = new Insets(5, 5, 5, 5);
    layout.setConstraints(progressBar, constraints);
    add(progressBar);
    public static void main(String args[]) {
    TrafficLightFrame frame = new TrafficLightFrame("Traffic Light");
    frame.setVisible(true);
    }When I launch the Java appliation, I get the dialog box error saying "Application Error - Unable to launch the application"
    Exception:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: file:/C:/Documents and Settings/HP_Administrator/Desktop/TrafficLight/TrafficLight.jnlp
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Wrapped Exception
    java.io.FileNotFoundException: C:\Documents and Settings\HP_Administrator\Desktop\TrafficLight\TrafficLight.jnlp (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    actually there are 2 problems here:
    file:///Documents and Settings/... will work, but this means the path:
    /Documents and Settings/... on the current path.
    if you have to include the "c:" part first, then there needs to be only 2 leading slashes, because "/C:/Documents and Settings/..." is not a leagle pathname (even after replacing the file separators).
    However the colon (":") char is not legal in a URL, so has to be escaped.
    Best to just use: "file:///Documents and Settings/..."
    /Andy

  • Unable to Launch Application error while starting IR

    Dear friends
    I am not a BASIS trained person, but wearing different caps because I am the only SAP engineer in our company and so learning on the job.
    I have installed a new server that has (SAP ECC 6.0, EP and PI). This is an IDES version. The operating system is Windows Server 2003 R2 (64 Bit).
    The menu System -> Status says that  Software Component SAP_BASIS is  Release 700.
    The ECC part is working ok, since I have been using many custom and standard tables, Bapis etc.,
    However, when I give transaction code    "SXMB_IFR"   to start PI, it opens the browser with a message at the top saying "You need to install Javau2122 WebStart 1.4.2. "
    However, I have installed j2sdk1.4.2_17-x64 and entered the environment variable path "C:\j2sdk1.4.2_17-x64".
    When I try to click on 'Integration Repository', it tries to start 'Java Web Start window and after a while fails with a message 'Unable to launch the application'.
    I searched SDN and other blogs and tried suggestions like,
    selecting  Control Panel -> Java and removing temporary internet files. But this didn't help.
    I have installed another server on a 32 bit system and that one doesn't have any issues. The main difference with this one is that it is a 64 bit server and has (ECC, EP and PI) installed on the same server.
    I would appreciate any feedback or suggestions.
    Thanks
    Ram

    Dear Ram
    install JDK then
    first set your environment variable like this... upto ur java bin folder.
    JAVE_HOME      C:\Program Files\Java\jre6\bin
    then run your java webstart . goto preferences and there  make proxy as none
    now start IR again.. it will start.. if it fails again then take 1-2 more trial to start . It will open.
    IN SAP XI/PI, java webstart is used to cache fat clients like IR and ID on local machines. So you need to make JWS proxy as NONE and then run IR or ID. with in 1-2 attemt it will cache all the required files.
    then after wards it will run smoothly.
    good luck
    --sandeep

  • Unable to Launch Integration Builder: Java Web Start problem

    Hi,
    I am unable to launch the integration builder. I am using JDK 1.4.2_05. The java Web Start gives the following error:
    Unsigned application requesting unrestricted access to system
    Unsigned resource: http://<XIHostName>:50000/rep/repository/aii_util_rb.jar
    I have tried deleting the Java web start cache, and even reinstalling the JDK.
    Can someone suggest a workaround this problem ?
    thanks,
    Manish

    The Java Web Start cannot accept unsigned jars. If the jars are signed, it will ask in a dialog box if it should allow unrestricted access to this jar.
    In my case, I upgraded XI SP0 to SP4, which included updating the Adapter Core, Adapter Framework, and the XI TOOLS to SP4.
    On launching the Web start, it seemed that the jars were not getting signed. JWS cannot allow unsigned jars to the client.
    These jars are maintained in:
    \usr\sap\<SID>\SYS\global\xi\directory_server\javaws\directory
    I am having problems with my XI upgrade to SP4, and it is probably not signing the jars.
    Do you know why this may be happening ...
    thanks,
    Manish

  • "Application error:unable to launch the application"

    Hi Friends,
    Now i want to open ENDEAVOUR(bio conductor
    package) tool.that is runned by java web start .so that purpose i want to run the java(net beans).
    i can access the net beans and endeavour in my home,but my office i can´t
    In office,The last week i tried to run the net beans.it couldn't run.i faced the following error
    "the proxy configuration cannot connect to the internet"
    i thought the the problem of proxy.but i checked some of the forums ,they said "the problem because of the firewall"
    3 days after i got it.but,now i want to run the ENDEAVOUR.The Endeavour ,it opened,but i can access partially,whenever i opened the application, i faced the following error.
    error:
    "Application error:unable to launch the application"
    i click the error detail ,the following details will be displayed
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for ENDEAVOUR -->
    <jnlp
    spec="1.4+"
    codebase="http://www.esat.kuleuven.be/~bioiuser/endeavour/"
    href="endeavour.jnlp">
    <information>
    <title>ENDEAVOUR 2.44</title>
    <vendor>University of Leuven - Developed by Bert Coessens, Stein Aerts, Peter Van Loo and Leo Tranchevent</vendor>
    <homepage href="http://www.esat.kuleuven.be/endeavour/"/>
    <description>Endeavour for computational prioritization of candidate disease genes</description>
    <description kind="short">
    </description>
    <description kind="tooltip">ENDEAVOUR 2.44</description>
    <description kind="one-line">ENDEAVOUR - Prioritizing candidate disease genes</description>
    <icon href="http://www.esat.kuleuven.be/~bioiuser/endeavour/images/endeavour2.jpg"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+" max-heap-size="400m" />
    <jar href="endeavour.jar" main="true"/>
    <jar href="distributions.jar"/>
    <jar href="jai_codec.jar"/>
    <jar href="mysql.jar"/>
    <jar href="rmiservices.jar"/>
    <jar href="axis.jar"/>
    <jar href="jaxrpc.jar"/>
    <jar href="jaxrpc-api.jar"/>
    <jar href="jaxrpc-ri.jar"/>
    <jar href="commons-logging.jar"/>
    <jar href="commons-discovery.jar"/>
    <jar href="saaj.jar"/>
    <jar href="wsdl4j.jar"/>
    <jar href="xerces.jar"/>
    </resources>
    <application-desc main-class="biovec.gui.MainFrame"/>
    </jnlp>
    I try to close the error,the application also closed.
    i want to access the full application.i don´t know how to clear the error. please help me,

    Hi,
    Application Error:unable to launch the application
    i installed java network launch analyser(janela).then,i load the JNLP file to (janela).the analyser (jaNeLa) displayed the following issues.
    Content type application/XML does not equal expected type of X-java -jnlp-file.
    XML encoding not known,but declared as utf-8
    *code base +href 'http://www.esat.kuleuvan.be/~biouser/endeavour.jnlp'is not equal to a actual location of "file :c:/documents....so on*
    *''tooltip´ description is longer than ´short´ description.*
    porblem fetching resource endeavour .jar  .connection timed out.:connect
    *porblem fetching resource jai codec.jar.connection timed out,like the same for rmiservice.jar,mysql.jar,axis.jar,jaxr.pc jar,,jaxrpc-api. jar,commenslogging-jar,common discovering- jar,saaj.jar,xerces.jar*
    *problem fetching resource 'http://www.esat.kuleuvan.be/~biouser/endeavour/.connection timed out:connect
    can you have any idea about these issues ,please reply me.
    thank you very much.

  • Error message at start-up Unable to access Jar file

    I am a consumer, not a business...and not an IT professional. I am running Vista and have not installed any new software recently.
    At every start-up, I get a pop-up titled Java Virtual Machine Launcher. The message says "Unable to access jar file". C:\users\user\.jnana.jnana.tsa.
    Any idea how to fix this?
    Thanks in advance.
    Edited by: 794979 on Sep 15, 2010 5:31 AM

    ok i'm gonna make it easier on you.
    i gess i found what is the problem but have no idea how to solve it.
    when i obtained the .jar file i also obtained a README.txt file in which it is written the following phrase:
    ** If a library on the projects classpath also has a Class-Path element*
    specified in the manifest,the content of the Class-Path element has to be on the projects runtime path.
    I'M SORRY BUT I DID NOT UNDERSTAND WHAT IS MEANT BY: what is "the projects runtime path"?
    the content of my manifest is:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: 10.0-b23 (Sun Microsystems Inc.)
    Main-Class: hequalifies.ui.HeQualifies
    Class-Path: lib/PlugIn
    X-COMMENT: Main-Class will be added automatically by build
    I'm having problem with lib/plugin.

  • Error while creating jar from source folder

    Hi,
    i have source folder and i added log4j.properties
    i try to build for creating jar (sourcecode.jar) by ant build (build.xml)
    it is throwing error and saying that "package org.apache.log4j does not exist"
    i spend more time to resolve this error , but i could not find any solution.
    what is the error on this.. below the build.xml code which i try to build jar
    <project name="MyProject" default="dist" basedir=".">
        <description>
            simple example build file
        </description>
      <!-- set global properties for this build -->
      <property name="src" location="src"/>
      <property name="build" location="build"/>
      <property name="dist"  location="dist"/>
      <target name="init">
        <!-- Create the time stamp -->
        <tstamp/>
        <!-- Create the build directory structure used by compile -->
        <mkdir dir="${build}"/>
      </target>
         <path id="classpath">
                 <fileset dir="${src.dir}">
                 <include name="log4j-1.2.16.jar"/>
                 </fileset>
         </path>
         <target name="compile" depends="init"
            description="compile the source " >
        <!-- Compile the java code from ${src} into ${build} -->
        <javac srcdir="${src}" destdir="${build}"/>
      </target>
      <target name="dist" depends="compile"
            description="generate the distribution" >
        <!-- Create the distribution directory -->
        <mkdir dir="${dist}/lib"/>
        <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
        <jar jarfile="${dist}/lib/EscapeIncontra.jar" basedir="${build}"/>
      </target>
      <target name="clean"
            description="clean up" >
        <!-- Delete the ${build} and ${dist} directory trees -->
        <delete dir="${build}"/>
        <delete dir="${dist}"/>
      </target>
    </project>i am using log4j.properties inside source folder also added in eclipse class path..
    Thanks
    Rosina

    user13836688 wrote:
         <path id="classpath">
                 <fileset dir="${src.dir}">
                 <include name="log4j-1.2.16.jar"/>
                 </fileset>
         </path>
    maybe you ment<path id="classpath">
                 <fileset dir="${src.dir}">
                 </fileset>
                 <pathelenemt path="${your_lib_folder_path}/log4j-1.2.16.jar"/>
         </path>bye
    TPD

  • Adobe Premiere Elements 11 unable to launch - User receives Debug & Runtime Errors

    Adobe Premiere Elements 11 unable to launch - User receives Debug & Runtime Error.  The Adobe program launches and the Premiere Elements splash screen displays.  Once the "Loading ImportQuicktime.pm" function completes the following errors display:
    The program has been re-installed without success.  The only way to open the program is to "Run as Different User" windows 7 function, using the local admin account.  The Preferences Folders have been deleted and recreated without success.  Any information for this error will be great.  Thank you for your time.

    Hi UBDEV,
    Thanks for posting on the Adobe forums.
    Please tell us if this system is on Network, if yes please make sure that My Documents Folder should be on the local drive not on the Network drive.
    Regards,
    Sandeep

Maybe you are looking for

  • EFS, password change denies access to encrypted data

    Hi, Has anyone had the issue with admin changing users password in Console One resulting in users not being able to access their encrypted data. Laptop users are using EFS to encrypt their data. These users have WinXPPro SP2 and we are running ZfD 6.

  • Widescreen monitor benefits???

    I currently have a 2-3 year old flat panel LCD 17" monitor but with price drops was thinking of going with a widescreen monitor, are there benefits, or will my Windows XP and internet look funny on the widescreen since I have an older computer?  I he

  • How to maintain muline header using webdynpro

    Hi Friends, please let me know how shall i maintain muline header in a table ( eg: in a single colum i want to provide Qty,UOM,Price S.NO ITEM       Desc       Qty                                       UOM                                       Price

  • How to  creat an xsl for the following code ?

    Hi all ! Could any one help me to creat an xsl (in the form of table) for the following xml data ? <?xml version="1.0" encoding="UTF-8"?> <scenarioReport> <node name="V2_DR"> <netObjId >1 </netObjId> <result>undefined</result> <report>xyz</report> <a

  • Project server 2013 PWA - Can't open project in PWA

    When attempting to open a project in PWA the following message is generated: An error occurred while opening your project. Give us a few minutes and try again. If this happens again, contact your administrator. It happens in all PWA sites. In additio