Application works in jdeveloper but not as standalone jar file

Hi All
We have developed an application using BI Publisher APIs,it works as expected through JDevelper,however when I try to deploy it to a jar file a run it through command line it gives me No class found exception for
javax/xml/rpc/Service class factory.. thinking that the class is not present.I have extracted the jar file but could find the class file in the expected directory........anyhelp would greatly be appreciated.
Regards
Venkatesh

Hi Venkatesh,
Few questions.
1. What is your JDeveloper version? (Always better to post your JDev version along with the question, which would help us to help you better).
2. Did you try adding webserviceclient.jar to the classpath? (Search in your JDev installation directory for the location of this jar file).
-Arun

Similar Messages

  • Application working under NetBeans but not as a *.jar file

    Hello,
    recently I found a little problem. I wrote application that shows all available ports in my computer. When I am running this applications under NetBeans it works with no problem - finds all available ports. Then I am building it to the *.jar file. Application is working with no problem but command:
    Enumeration PortIds = CommPortIdentifier.getPortIdentifiers();
    is not returning any identifiers - PortIds is empty.
    Anyone knows a solution for this type of problems? Thanks

    Hi Venkatesh,
    Few questions.
    1. What is your JDeveloper version? (Always better to post your JDev version along with the question, which would help us to help you better).
    2. Did you try adding webserviceclient.jar to the classpath? (Search in your JDev installation directory for the location of this jar file).
    -Arun

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Program run in Netbeans but NOT running as jar file

    Dear all ,
    i hope any help in this problem.
    i am writing program to access parallel port i put next files :
    1. [ comm.jar + javax.comm.properties ] in
    [ C:\Program Files\Java\jdk1.6.0_18\lib ] and [ C:\Program Files\Java\jdk1.6.0_18\jre\lib ]
    2. [ win32com.dll ] in [ C:\WINDOWS\system32 ]
    when i run application in NetBeans IDE 6.8 work fine and every think is ok
    BUT when i produce jar file , generated jar file does not work [GUI appear but can not get ports on PC]
    - I try to set Environment Variable as next :
    CLASSPATH = .;C:\Program Files\Java\jdk1.6.0_18\lib\comm.jar
    also does not work
    any tip please ?
    Thanks in advance
    Nabil

    First of all, leave the lib and jre/lib directories of the JRE alone. Never ever touch them again. Remove any jars you have put there yourself, or better yet completely remove and reinstall the JRE to make sure you put it back in a correct state.
    After you do that, learn how to properly work with the classpath in both the IDE and the command line.
    Netbeans: you define the classpath by adding jars to the project (right click on the libraries node in the project tree to get the appropriate options).
    Command line: this depends on if you run a single class, or you invoke an executable jar.
    Single class: you use the -cp command line switch to define the classpath
    Executable jar: the jar itself defines the classpath in its META-INF/manifest.mf file. The -cp command line switch is ignored.
    Since you use Netbeans, you'll get an executable jar so make sure to learn how such a jar is structured.

  • Application works no WTK but not on phone

    I created a very simple application, with a form, some textfields, nothing fancy, no images, no menus, etc.
    It works fine on the WTK simulator, and it installs on the phone, but when I execute it I get "Application Error" and it doesn't even open.
    I'm manually creating the JAR file... is there anything I should add to it? I'm using the manifest file created by WTK and the class file (only one).

    Hey thanks mate.
    I have posted my code in other thread if you would like to have a look at it.
    I m using 3G to access my webserver. Oh yeah, I m using pure HTTP and not WAP-HTTP since I have changed the configuration.
    But, as I said previously I had no problems doing the samething from the same device although I didnt send any data, just something like pinging the web server and getting a reply in form of say " works1","works2" and so on....
    Ok, I will have a look at device config. data sheet.
    Thanks for your reply

  • Application works in emulator but not on real device

    Hi Everyone,
    I have been trying to build this application and avail users to download it from a WAP page.
    Now, initially for testing purpose I managed to transfer it on my mobile device which is a Sony Ericsson Z800 using a data cable.
    The application downloads 2 images from an Apache Tomcat web server and displays it on user screen. I have created this application using MIDP 2.0. I managed to install it on my mobile device and now when I m trying to send request to the server I wont get any response ? The request itself is not reaching to the web server.
    Strangely it works when I give a static path from my mobile browser like: http://xxx.xxx.xxx.xxx:8080/servlet?param1=x&param2=y but when the same path is accessed from installed application it wont work :-(. Its a static IP so there is no problem with changing of IP Address.
    Please note that I have transferred only the jar file. Does that make any difference ?
    Please guide me as to where I m going wrong..
    Regards

    Hey thanks mate.
    I have posted my code in other thread if you would like to have a look at it.
    I m using 3G to access my webserver. Oh yeah, I m using pure HTTP and not WAP-HTTP since I have changed the configuration.
    But, as I said previously I had no problems doing the samething from the same device although I didnt send any data, just something like pinging the web server and getting a reply in form of say " works1","works2" and so on....
    Ok, I will have a look at device config. data sheet.
    Thanks for your reply

  • Application works from NB but not from jar

    Hi,
    I'am programming a game in JAVA and this going as planned. Everything works when I run it from NetBeans, but when I execute the jar file from the console, then I get hunderds of the same exception.
    I really don't know what it is, I see a NoSuchMethod exception in the MouseEvent of the method getLocationOnScreen(), but just as i said, the app works fine without errors from out NB.
    Does somebody knows what the problem is?
    thx Sven
    java -jar Hotel.jar
    Loading board images.
    Loading image: /Images/bg-patern-hotel.jpg
    Opening file /Images/bg-patern-hotel.jpg file exisits: true -- [/Users/svenvanzoelen/NetBeansProjects/Games/Hotel/dist/Images/bg-patern-hotel.jpg]
    Loading image: /Images/Main-board-big.jpg
    Opening file /Images/Main-board-big.jpg file exisits: true -- [/Users/svenvanzoelen/NetBeansProjects/Games/Hotel/dist/Images/Main-board-big.jpg]
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.awt.event.MouseEvent.getLocationOnScreen()Ljava/awt/Point;
         at Engine.GameAction.setMousePos(GameAction.java:137)
         at Engine.InputManager.mouseMoved(InputManager.java:277)
         at java.awt.Component.processMouseMotionEvent(Component.java:5647)
         at java.awt.Component.processEvent(Component.java:5371)
         at java.awt.Container.processEvent(Container.java:2010)
         at java.awt.Window.processEvent(Window.java:1184)
         at java.awt.Component.dispatchEventImpl(Component.java:4068)
         at java.awt.Container.dispatchEventImpl(Container.java:2068)
         at java.awt.Window.dispatchEventImpl(Window.java:1801)
         at java.awt.Component.dispatchEvent(Component.java:3903)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Same error goes 50 times more.Edited by: Svenmeister on Apr 16, 2010 7:22 AM
    Edited by: Svenmeister on Apr 16, 2010 7:22 AM

    Ok, I updated my Mac but still got the 1.5.0_22 crap so I changed the function from the mouseEvent to one that 1.5 supports.
    But now when I run the application from the console the Exception about the mouse function is gone, but I got another exception instead of it. And this one is I believe not JRE version relevant.
    The error is in the loading of the images, at the third PNG image to be precise. The images are now in total 10.8MB in size.
    So is this also a 1.6 thing? Would be awesome if someone can explain it.
    java -jar Hotel.jar Loading board images.
    Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
         at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
         at java.awt.image.Raster.createPackedRaster(Raster.java:458)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
         at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:223)
         at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:469)
         at apple.awt.OSXImageRepresentation.setPixels(OSXImageRepresentation.java:66)
         at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:120)
         at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:498)
         at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:419)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
         at java.awt.image.Raster.createPackedRaster(Raster.java:458)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
         at java.awt.image.BufferedImage.<init>(BufferedImage.java:345)
         at apple.awt.CGraphicsConfig.createCompatibleImage(CGraphicsConfig.java:174)
         at GUI.Board.toBufferedImage(Board.java:1472)
         at GUI.Board.loadImages(Board.java:1143)
         at Engine.HotelMain.switchState(HotelMain.java:86)
         at Engine.HotelMain.<init>(HotelMain.java:57)
         at Engine.HotelMain.main(HotelMain.java:194)Edited by: Svenmeister on Apr 16, 2010 11:01 AM

  • Applet works in JDeveloper, but not when deployed to OC4J

    I am working on an applet version of the BI Beans java client application. It works fine when running in JDeveloper (applet viewer), but fails when deployed to OC4J. The applet shows a red X, with a message in the status bar saying "Loading Java Applet Failed...". Contents of java console are as follows:
    java.lang.NoClassDefFoundError: oracle/dss/selection/step/Step
         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.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any one have any ideas how to chase this one down?
    Here is the message that JDeveloper shows when it runs the applet. I have gone thru this and ensured that all these references are selected in my .deploy settings:
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -Xbootclasspath/a:C:\dev\jdev\Workspace1\TestClientApp\classes;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddinsrt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biamlocal.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidataclt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatacmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatasvr.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biext.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidata-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddins-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\LW_PfjBean.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\share.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4-nls.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\infobus\lib\infobus.jar;
    C:\JDeveloper\BC4J\lib\bc4jmt.jar;C:\JDeveloper\BC4J\lib\collections.jar;
    C:\JDeveloper\BC4J\lib\bc4jct.jar;
    C:\JDeveloper\lib\xmlparserv2.jar;
    C:\JDeveloper\jlib\jdev-cm.jar;
    C:\JDeveloper\j2ee\home\lib\jndi.jar;
    C:\JDeveloper\jlib\regexp.jar;
    C:\JDeveloper\jlib\share.jar;
    C:\JDeveloper\jlib\uix2.jar;
    C:\JDeveloper\jdbc\lib\classes12.jar;
    C:\JDeveloper\jdbc\lib\nls_charset12.jar;
    C:\JDeveloper\j2ee\home\lib\ojsp.jar;
    C:\JDeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;
    C:\JDeveloper\j2ee\home\oc4j.jar;
    C:\JDeveloper\j2ee\home\lib\servlet.jar;
    C:\JDeveloper\jdev\lib\ojc.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\olap_api_92.jar;
    C:\JDeveloper\jdev\lib\jdev-rt.jar;
    C:\JDeveloper\BC4J\lib\bc4jhtml.jar;
    C:\JDeveloper\BC4J\lib\datatags.jar;
    C:\JDeveloper\BC4J\lib\bc4juixtags.jar;
    C:\JDeveloper\BC4J\lib\bc4j_jclient_common.jar
    Any assistance would be appreciated.
    s.l.

    i have the same problem
    i cant load my applet on OC4J , i am wondering know how Oracle canot solve this problem

  • Access of MySQlL Driver class by eclipse but not from Outside Jar file

    Dear All,
    I have done a standalone application having access with MySQl database.
    I could access it when i execute it from eclipse. But when i export it into Jar file and running I get MySQL Driver class not found exception.
    Give me a better solution for this issue.

    CLASSPATH, CLASSPATH, CLASSPATH.
    You have defined the Eclipses Project Library Path to include the MySQL jar, but ar not including it on the classpath when executing the jar.
    Either modify the MANIFEST.mf file in the jar to include a reference to the MySQL driver jarfile or call java in the following manner
    java -cp /full/path/to/MySQL/Driver/jarfile.jar -jar yourJarFile.jarObviously, if this is on Windows and you are executing through a double click, the first option is the best option.

  • BPC 7.5 NW - ScriptLogic working in single, but not in the same file

    Hi, we have two codes working good in ScriptLogic files differents, when each file individually is called.
    This code working good and Copy value inserted in 2010.ENE to 2010.FEB until 2010.DEC
    *XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    *XDIM_MEMBERSET CTA_HHRR = BAS(REMUNERACIONES)
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *XDIM_MEMBERSET MEASURES = "PERIODIC"
    *WHEN TIME
    *IS %YEAR%.JAN
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.FEB )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.MAR )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.APR )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.MAY )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.JUN )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.JUL )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.AUG )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.SEP )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.OCT )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.NOV )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.DEC )
    *ENDWHEN
    *COMMIT
    This code working good and ajust all Accounts for all Months for Factor using name "IPC"
    *WHEN CTA_HHRR
    *IS BAS(REMUNERACIONES)
    *REC( FACTOR = ([CTA_HHRR].[PARAM_000000001],[Centro_De_Costo].[Dummy]))
    *ENDWHEN
    The problem is that when you run the code all together or in two files called from the default.lgf only performs the copy and the IPC adjustment is done only for 2010.ENE and not for the whole year.
    I try this code in one file and does not work
    *XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    *XDIM_MEMBERSET CTA_HHRR = BAS(REMUNERACIONES)
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *XDIM_MEMBERSET MEASURES = "PERIODIC"
    *WHEN TIME
    *IS %YEAR%.JAN
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.FEB )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.MAR )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.APR )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.MAY )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.JUN )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.JUL )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.AUG )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.SEP )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.OCT )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.NOV )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.DEC )
    *ENDWHEN
    *COMMIT
    *WHEN CTA_HHRR
    *IS BAS(REMUNERACIONES)
    *REC( FACTOR = ([CTA_HHRR].[PARAM_000000001],[Centro_De_Costo].[Dummy]))
    *ENDWHEN
    Any idea for fix the code ?
    Is problem the code ?

    Yes we try, and not working, only using datapackage.
    *XDIM_MEMBERSET CATEGORY = PLAN
    *XDIM_MEMBERSET Centro_De_Costo = CC1AF004
    *XDIM_MEMBERSET CTA_HHRR = BAS(REMUNERACIONES)
    *XDIM_MEMBERSET Empleado = Dummy
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *XDIM_MEMBERSET TIME = %YEAR%.JAN
    *XDIM_MEMBERSET MEASURES = "PERIODIC"
    *WHEN TIME
    *IS %YEAR%.JAN
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.FEB )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.MAR )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.APR )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.MAY )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.JUN )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.JUL )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.AUG )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.SEP )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.OCT )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.NOV )
    *REC(EXPRESSION=%VALUE%, TIME = %YEAR%.DEC )
    *ENDWHEN
    *COMMIT
    *XDIM_MEMBERSET CATEGORY = PLAN
    *XDIM_MEMBERSET Centro_De_Costo = CC1AF004
    *XDIM_MEMBERSET CTA_HHRR = BAS(REMUNERACIONES)
    *XDIM_MEMBERSET Empleado = Dummy
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *XDIM_MEMBERSET TIME = %YEAR%.JAN
    *XDIM_MEMBERSET MEASURES = "PERIODIC"
    *WHEN CTA_HHRR
    *IS BAS(REMUNERACIONES)
    *REC( FACTOR = ([CTA_HHRR].[PARAM_000000001],[Centro_De_Costo].[Dummy]))
    *ENDWHEN
    *COMMIT

  • Embeded OC4J server within JDeveloper does not pick latest JAR files.

    Hi,
    Currently OC4J seems to be using an older version of JAXB1.0. Hence I created a shared library in my standalone OC4J server and imported the shared library while deploying my applicatoin in the ClassLoader task.I am trying to replicate the same in
    my embeded OC4J server within JDeveloper.
    I followed as indicated in readme.txt file in the \j2ee\home\shared-lib\ folder.
    1) I created a folder called "jaxb" within /j2ee/home/shared-lib/. I then created a folder with the name "2.0" indicating the version number of the API.
    2) I then added the relevant jaxb JARS to the jaxb/2.0 folder.
    3) In the server.xml file available under /j2ee/home/config/ , I added the following entries.
    <shared-library name="jaxb" version="2.0">
              <code-source path="jaxb-api.jar"/>
              <code-source path="activation.jar"/>
              <code-source path="jaxb1-impl.jar"/>
              <code-source path="jaxb-impl.jar"/>
              <code-source path="jsr173_1.0_api.jar"/>
              <code-source path="jaxb-xjc.jar"/>
         </shared-library>
    I am still facing the issue where my embedded OC4J server is picking up the jaxb version 1.0.
    What are the steps that needs to be taken to ensure that the embeded OC4J
    takes in the jaxb2.0 version.

    Refer
    Re: SUN Jaxb2.0 incompatible with OC4J included in JDEV/OC4J ??

  • Password works for login but not for the Adobe CC Desktop application

    Password works for login but not for the Adobe CC Desktop application

    Please refer to http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    ou can try deleting OPM.DB from steps below and try again.
    Mac OS: You can locate the OPM.db file in the \User\\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion. - http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-f iles.html
    Windows: You can locate the OPM.db file in the :\Users\\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7. -http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-ex tensions.html
    3) update to the latest version of the Creative Cloud app.
    Also we would like few more details:
    When has this issue started occurring, was this after installation of any specific adobe product.
    On which platform are you seeing this.
    Also we would like to know if after above steps this issue occurs ever again in future.
    You can refer to http://forums.adobe.com/thread/1239510
    Regards,
    Rajshree

  • JInternalFrame not opening in JAR file, but works when not in JAR

    I have a folder that contains multiple .class files. I make all the class files into one jar file with this command:
    jar cmf mainClass.txt myapplication.jar *.class
    The mainClass.txt contains the following:
    Main-Class: myapplication
    class-path: myapplication.jar
    The myapplication.class opens up a JDesktopPane inside a JFrame. It also contains a start menu, which again has elements that opens up misc JInternalFrames inside the JDesktopPane. The problem is this:
    When I run the application from a .bat file, everything works fine. However, after making the JAR Executable file, everything works except 1 JInternalFrame. Now, the code for this JInternalFrame is far too much to post, so I'll have to ask as follows;
    Are there any reason why a JInternalFrame would not work from inside a JAR Executable, but work when not in the JAR file? Especially when other JInternalFrames are working? What can make 1 JInternalFrame different from the others in this regard?

    Perhaps the problem lies somewhere else.
    Obviously if other JInternalFrames are working then there is a difference in the one missing internal frame that causes it not to show up.
    My guess is that perhaps you are missing one or two classes in your JAR that are used by that JInternalFrame and that an exception is being thrown causing it not to show.
    Double check the contents of your JAR and make sure that all the classes are present and that they are the right versions.

  • Java works on chrome but not on firefox

    Java works on Chrome but not Firefox. I've uninstalled and reinstalled Firefox. Chacked all appropriate boxes in Control Panel. Deleted JavaReg.Dat. Enabled plugin. Uninstalled all Java from my computer and reinstalled. Cleared Firefox Cache. No luck.

    Do you see the Java plugin in Tools > Add-ons > Plugins ?
    Firefox is a 32 bit application, so you need to install the 32 bit Java version.
    See Java Platform > Java SE 7U5 or Java 6U33 (Downoad JRE)
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html

  • Flash 10 works in FF but not Safari, OS X 10.5

    About a week ago flash stopped working in Safari and both firefox and safari started bugging me to install a newer version.  Muttering, I went to the download page and downloaded the latest, which claims to be for Safari, Opera, and firefox.
    Installation completes fine with no errors.  Firefox works.  But in Safari, I just get the usual 'no flash installed, would you like to download it?'
    I've downloaded and installed multiple times, no dice.  Plug-ins are enabled on Safari.  I do not have settings folders to delete--/Library/Application Supprt/Adobe has no flash player folder, only Acrobat, Updater6, and Help.
    This whole thing is a black box and I don't see what else to do.  Installation completes and there's no way to verify anything.  Any ideas would be welcome.

    Thanks! BTW I'm also having trouble updating Adobe Reader. I have 9.4.0 and want to update to the new Adobe Reader X. I keep getting Error 1402 which refers to the registry keys. I am unable to completely uninstall the old version. After receiving the error message it reloades the older version. I read about how to modify the registry to accept it but I believe this is a very wierd way to have to get an update loaded. Any suggestions?
    Date: Mon, 27 Dec 2010 10:34:22 -0700
    From: [email protected]
    To: [email protected]
    Subject: Flash Player works in IE8 but not Safari
    Hi Bruce, Adobe Flash Player is Installed separately into IE, since Windows uses the ActiveX Control. Firefox and other non-IE
    browsers must use the plugin Installer.
    This is the Adobe site :
    http://www.adobe.com/products/flashplayer/fp_distribution3.html
    Hope that explains it.
    Thanks,
    eidnolb
    >

Maybe you are looking for

  • External hard drive does not mount after sleep

    I am using a brand new Seagate 2 TB external hard drive for my backup drive.  More often than not, when the computer goes to sleep, the icon for the drive is gone from the desktop when the computer wakes up.  I have to unplug it from the computer and

  • Configuring OBI Apps 7.9.6.3 When Using Universal Adapter Exclusively

    Hello experts, I have been working for a few days in trying to configure a fiscal calendar with universal adapter flat files as the only data source because Great Plains is the data source and since Oracle does not support it, we use universal adapte

  • Problem encountered after Flash export

    Hello, I am encountering a problem after exporting to Flash from Adobe Encore CS6. After finding the possibility to export to Flash, I did use it in a project made of 4 different "exports", based on the same animated menu, same buttons, and with only

  • Encrypting a file system?

    Hi All, I would like to encrypt my file system to US DoD standard AES however I'm not sure how to go about this can someone help me here? I wish to do this as i have a lot of coursework on my system that i do not wish anyone else to have access to. I

  • Upgrading from 8.1.7.4 to 9.2 on Solaris

    We want to do an upgrade from 8.1.7.4 to 9.2 on a Solaris server. We want to convert the existing DB (not do an export/import) Down time is not an issue. I understand that to do this we install new Binaries and run a conversion script. How do we do t