Problem installing program running with Java

When i start to run a program appear a window witj following message: "preparing to run java virtual machine"..after that appear next small window with installshield wizard. When make a transition between this small windows to start to install the program, nothing happens it is he does not make this transition.
I already download the new version without results.
Do have any ideia what could be the problem.?
Thanks
Jorge

Which JRE is bundle inside your application ?
Is it International or US only ??
I have a reason to believe that US version is
throwing NullPointerException when installing it
on windows 2000 server
When you starting the installer, The installer is unpacking the JRE - so check which directory it expanded and than Try running java.exe from the JRE that was installed.
Maybe its currupted, You dont need to run any code
even if your run java.exe without anything the
exception is thrown
If exception is thrown try the international version of JRE

Similar Messages

  • Installing programs built with Java

    I have a client who installed programs [applications] we built in Java. One person has no problem installing and running the programs. Another can install and run two of the three programs. The third program does not open a dialog box for them to register the program with us. The third person can open one program [the second installs with the first but will not open]; and the third program does not install at all. They all use Windows 2000 5.00.2195 with Service Pack 3. For the program that will not install the task manager indicates that 100% cpu processing time is involved. For the other programs that will not run, they get the javaw.exe error message. A fourth person with Service Pack 4 cannot install any of the programs and gets the wjview.exe generated error and the computer shuts down. This represents money to us if we can solve this problem. I would appreciate any help or suggestions.
    Thanks
    Donna

    * You ship your own JRE for your app
    * You get errors from wjview.exe
    Based on these 2 evidences, your app is not launched
    with your shipped JRE correctly. Perhaps it is
    launching the default java and not the full path to
    your JRE location? That is at least one of your
    problem you need to fix there.
    I suggest two probabilities
    1) As lichudang says above, launching is not correct. wjview.exe is a component of MS Java, not Sun Java.
    2) Possibly these client machines have acquired spyware/adware/viruses. Using wjview to launch these buggers is somewhat common.
    Take a look at this thread http://forum.java.sun.com/wireless/thread.jsp?forum=8&thread=351762&start=30&range=15&tstart=0&trange=15 which talks about (2) above.
    This Google search turns up quite a few references, try refining it with additional terms
    http://www.google.com/search?num=100&hl=en&lr=lang_en&ie=UTF-8&c2coff=1&q=%22wjview.exe&btnG=Search

  • Problems installing or running Adobe Flash Player for safari

    problems installing or running Adobe® Flash® Player for safari when trying to install Adobe Flash Player.pkg it asks to quit Dash Board client then brings up Exclamation mark up and quits install ??????

    Adobe Flash is pretty much a 32-bit application. You may be able to fix the problem by going into your Applications folder, and right-clicking on Safari. There is a check box that will allow you to run Safari in 32-bit mode. Try that and see if Flash works in Safari.
    I have retired my iMac, and have an HP now, but a friend helped me with the same problem when I upgraded to Snow Leopard. My PC seems to have just one 64-bit browser, that being Internet Explorer. I am using IE9 Beta in 64-bit, and the Beta for Flash "Square" in 64-bit seems to work fine. See link below:
    http://labs.adobe.com/downloads/flashplayer10_square.html
    Jim

  • Up an running with Java. What tools to download?

    Hello, I use to work with Java applications about three years ago, but had switched over to another language. Now I need to develop code using Java again. In fact, I need to reuse some of the code I developed a few years ago. The code does alot with animations. So here is my question.
    "What tools do I need to get up and running with Java?"
    1. What compiler to use (recommend the best open source editor, or one that is not that expensive)?
    2. Where is the Java SDK that I need to download?
    3. Will my three year old code still be compatible with the SUN, Java code I wrote 3 years ago?
    Ralph

    Actually Jwenting is right, IntelliJ is by all measures the best IDE.
    I have used textpad, programmers notepad (which I still use for some things), VIM, eclipse for a number of years, intelliJ for a short time, and Netbeans since earlier this year.
    textpad - Great place to learn the basics, but once the basics are down you need to find an IDE.
    Programmers notepad - love it, still use it for some languages, has some features you will find nowhere else
    VIM - You have your vi lovers and your vi haters, I would say I fall into the haters camp but still keep up with it because when you need an editor to make a quick change on some obscure system with very little on it, some version of Vi will undoubtedly be there. Once you get into the flow it is not bad, but there is lots of annoying things about vi and its offspring.
    Eclipse - Great IDE, was the better of the free ones for a long time. For me eclipse's strength became it's albatross. That is plugins ofcourse. There are literally thousands of plugins that can make eclipse do just about anything you want. The problem is there is very little oversite so some plugins are great, some good, some ok, some suck, and some are deliberately hostile. You don't really know what you are going to get until you try it, but removing it can be a pain so sometimes you are stuck. Plus getting the plugins to play nice with each other can be a chore, the more plugins you have the harder it gets to get new ones to play nice. It was after a whole day stint trying to get eclipse to work again after picking a bad plugin that i simply decided to give netbeans 6.0 a try since it had what I wanted packaged in already.
    IntelliJ - Only got to use this for a short time as they went ahead and bought it at my last job after I gave my months notice for leaving. Guess they figured it would be easier to replace me that way. From the little I got to play with it, it was extremely user friendly to the point of being a pleasure to work with, You definitely got what you paid for.
    Netbeans 6.0 and higher - Netbeans pre 6.0 sucked. Even 5.5 was not as good as eclipse at the time of it's release, but was a sign they were headed in the right direction. After releasing version 4 only to have it suck and laughed at in the java community since eclipse was hundreds of times better Sun realized netbeans was making them look bad. So they decided to fix that and decided the best way to fix it was to model netbeans as closely after IntelliJ (which was the best even back then) as legally possible. With each release they get closer to realizing this goal, and since it is free with each release netbeans picks up more and more former eclipse fanbois. It is now at the point where most people following the eclipse vrs netbeans war will agree that netbeans has taken the lead and has more current users than eclipse. I would even wager that most of the people who said netbeans was best in this thread were not long ago eclipse fans. Bottom line, of the free IDEs netbeans is the better choice at this point.
    But I got to ask, when you say a salary of R8,000 - R12,000 do you mean monthly income or annually? If annually can you even survive on about $1,000 in US dollars for a year? I mean I make about 8 times that in a month, after uncle sam takes his portion, and i wouldn't call myself rich by any means.
    Also jwenting have you tried the newer netbeans? I think if you do you will see they are strikingly similar to IntelliJ in many ways.
    JSG
    Edited by: JustSomeGuy on Dec 5, 2008 7:24 AM

  • In program written with Java Swing, I can't input Chinese

    In program written with Java Swing, I can't input Chinese.
    But if I change my language first, then change the input method tu U.S, open the Java Swing application, finally I can input Chinese. I want to know how to fix this bug.
    My OS is Mac OS X 10.6.8.
    At the JDK version 1.6.0_29, I can input Chinese friendly in Java Swing applications. But after 1.6.0_31, I can't do it anymore. The input methods can input Chinese in other non Java Swing applications so the problem must create by JDK or JRE's Swing part. What's the different between 1.6.0_29's Swing and 1.6.0_31's ? Why ? I heard that Java Swing apps not support Chinese input methods seens 2009... Why haven't fix these yet?

    Chazza wrote:
    Perhaps you need to change your keyboard layout in Xorg?
    https://wiki.archlinux.org/index.php/Ke … ard_layout
    Thanks for your answer!
    I have tried to change the keyboard layout from "en" to "cn", but it is still not work.
    The input method coin on the righttop is right when I change the method.But it still output english even I use ibus-pinyin.There is not a box for my choosing chinese words.
    Last edited by Dilingg (2015-05-15 16:18:43)

  • Will oracle 8.3.7 Pro *c Programs run with 10g?

    Hi all,
    This may not be suitable for this forum but please advise me
    We are planning to upgrade the oracle 8.3.7 to 10grel2
    This is in AIX 4.3.We got MQSeries version 5.2 installed.
    Our PRO *C programs are compiled in 8.3.7..
    will the PRO *C programs will run and communicate with 10g.We receive messages from MQ and manipulate the database.
    Will the existing programs run with 10g
    Help needed URGENT
    Thanks

    Your Pro*C will need to be version 9.2 compliant, to run against 10g so may need some reworking. See here for more detail:
    http://oraclesvca2.oracle.com/docs/cd/B14117_01/win.101/a96111.pdf

  • Running with java -jar

    I have a client.jar that has a bunch of vm parameters and relies on a few other jars. The jar has the main class specified in the manifest. Ultimately I would like to take the dependent jars and put them in the client jar and use the manifest classpath option. I have been unable to get this to work. What I am finding is that running with java -jar basically ignores all of my vm parameters. I have tried removing the dependent jars and referencing them from the command line classpath argument. This still did not work. The only thing that has worked is not using a client.jar at all and just running my main class with all the vm parameters. This is not an acceptable solution for me. Thoughts?
    Thanks,
    Howard

    Yes, this is what is so weird about the problem. Neither the manifest class-path option or running with cp is working when the main class lives in a jar.

  • Err. in programs copiled with Jdev 9.0.3 and run with Java Web Start

    Hi all,
    when I build my programs with Oracle9j JDeveloper 9.0.3.988 and I use them with Java Web Start, programs do not run, while when compiled with Oracle9j JDeveloper 9.0.2.x it runs without problems.
    The Java version used in both cases is 1.4.0.
    Here's an example of the log from Java Web Start:
    Error in JavaWeb Start
    viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
    java.lang.ClassFormatError: viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.access$1(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at viewer.imageViewer.UtilityMenuPane.jbInit(UtilityMenuPane.java:167)
         at viewer.imageViewer.UtilityMenuPane.<init>(UtilityMenuPane.java:155)
         at viewer.imageViewer.UtilityMenuPane.getInstance(UtilityMenuPane.java:147)
         at viewer.imageViewer.ImageViewerFrame.jbInit(ImageViewerFrame.java:179)
         at viewer.imageViewer.ImageViewerFrame.<init>(ImageViewerFrame.java:145)
         at viewer.imageViewer.ImageViewerFrame.getInstance(ImageViewerFrame.java:126)
         at viewer.ImageViewer.execute(ImageViewer.java:30)
         at viewer.Viewer.execute(Viewer.java:63)
         at viewer.Viewer.<init>(Viewer.java:27)
         at viewer.Viewer.main(Viewer.java:40)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(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(Thread.java:536)
    Does anybody know why this happens?
    Thanks

    Hi There.
    We had the same problem with some of our code. We moved the definition of the class from a method out of the method. Like this:
    public class{
    class{
    instead of doing this:
    public class{
    method() {
    class{
    This worked with the web start......
    Best regards
    Jesper Lorentzen

  • Problem running with "java class"

    Hi:
    I developed an application in Forte. It works as expected within the IDE. I would like to run it outside the IDE with "java application.class". When I try this, it cannot find many modules. I realize I need to set the classpath, but don't know what to set it to.
    Please help.
    vjktm

    r u using windows?
    if so
    try this
    open up the dos
    then type the following command
    set classpath = drive:\directory\.
    drive - your working drive
    directory - where you put ur java source and class files
    make sure you have the . at the end of the cammand.

  • Problems using deployJava.js with Java 7

    I found problems which vary by browser to the following script in an HTML page on Windows 7:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    Launch me!!!
    <script src="http://www.java.com/js/deployJava.js"></script>
    <script>
    deployJava.setInstallerType("kernel");
    deployJava.createWebStartLaunchButton("yourAppHere.jnlp", '1.7.0');
    </script>
    </body>
    </html>
    The problem shows itself when Java 7 is not yet installed. Note: There is no need to have an actual "yourAppHere.jnlp", since the problems surface prior that being a requirement.
    Firefox 8.0:
    When the Launch button is clicked on Firefox, a brief dialog with a progress bar appear showing a small download. At completion, a Security Warning dialog appears:
    "This Java installer did not come from Sun...". The publisher is shown as Oracle America, Inc.
    The install proceeds as normal if the user overides the warning (though eventually missing a real jnlp will catch up with you). I do not know for sure but suspect the problem is with deployJava.js. One fixing this might also want to consider the implications MacOSX port when it is up and ready.
    IE 9.0.3:
    This browser is a total failure. The initial download dialog progresses to the end, then remains & the session is hung. The dialog is modal, so the only escape other than the power button is killing it via Task Manager.
    I am pretty sure these are bugs, but thought would see if others can reproduce Just save html to a file on desktop & double-click. Have these already been reported? Are there other tests that would be good? It has been years since I reported a Java bug, are there directions?
    Edited by: user3055980 on Nov 13, 2011 11:36 AM

    Before un-installing anything except the 1.7.0 JRE from a previous test, I did a search deployJava1.dll, I found 5. All show File Version 6.0.290.11 on the details tab of the properties dialog. That is not to say they are all the same file. I installed a 64 bit JDK, and apparently a 32 bit JRE. I do not remember exactly how I did that. Using the Process Explorer & clicking on the binoculars to find deployJava.dll, it shows that one being used is in C:\Windows\SysWOW64. I am really starting to hate having a JRE built into a JDK. Here is the list:
    1- 513KB 11/7/2011 C:\Program Files\Java\jre6\bin
    2- 513KB 11/7/2011 C:\Window\System32
    3- 513KB 11/7/2011 C:\Program Files\Java\jdk1.6.0_29\jre\bin
    4- 461KB 10/3/2011 C:\Program Files (x86)\Java\jre6\bin
    5- 461KB 10/3/2011 C:\Windows\SysWOW64
    FYI, checks for npDeployJava1.dll were consistent with above, though some were in a new_plugin sub dir. Also, FireFox is x86, not amd64.
    Removing the JDK6 Update 29 (64-bit) knocked out #3.
    Removing Java(TM) 6 Update 29 (64-bit) knocked out #1.
    Removing Java(TM) 6 Update 29 knocked out # 4.
    That leaves 2 & 5 still in place (Did not find any let over npDeployJava1.dll's). Nuked them manaully.
    Still found a references to deployJava1.dll in registry, which were ripped out @
    HKEY_CLASSES_ROOT\CLSID\{CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA}\InprocServer32
    HKEY_CLASSES_ROOT\CLSID\{CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA}\InprocServer32
    This registry pattern seemed to be repeated, just kept deleting.
    Have a clean system, and am now retrying the tests, BUT IT TRIES TO RUN jre-6u29-windows-i586-iftw-k.exe INSTEAD! I actually followed through for IE & 1.6 is what gets installed NOT 1.7. This is by far the worst. The other stuff might just be because of that stupid JRE instead the JDK. Double checked both the html & JNLP they are still asking for 1.7. Is this a bug or somehow intentional?

  • Problems Installing ABAP Netweaver 7 - java.lang.NoClassDefFoundError:

    When I try to install this version of a ABAP Netweaver in my notebook, with Windows XP, an error message appers saying that "java.lang.NoClassDefFoundError: runException in thread main "
    I've already configured the enviroment variable and I've tested running javac through command line . The Microsoft Loopback adapter is configured too ( I think that this error dosent have any relation to this configuration).
    The only topic that ive found in forum its here: Software Downloads and the solution propoused there doesn't works for me.
    Can anyone help me?
    Thanks

    Hi,
    it's me again 
    I think that my .jar is not corrupted because I've tried to install in another machines and the error doesn't occur and I've used this DVD in the same notebook, but in a VM without problems.
    Well, then the files should be really ok.
    Maybe a problem with SP2?
    No, the trail version is working fine with SP2.
    Before I have to leave the office now two additional advices/attempts from me:
    1. Please make sure that you've deactivated all installed antivirus- and/or firewall-programs while installing - e.g. the in SP2 included one.
    2. Try to download the latest Java version from http://java.com/en/download/index.jsp
    3. Install it to a new directory
    4. Point the environment variable JAVA_HOME to the new directory
    5. Restart your computer
    6. Test the proper installation of Java with java -version
    7. Try to restart the setup.
    If it fails again please check the event log of Windows. Perhaps there is a helpful error message logged.
    But I cross the fingers that it's working.
    Regards,
    Norman Schröder
    Sorry for my wrong english.
    I think I have to say the same 
    But I can understand you very well so don't think about it.

  • How to get applets running with Java Plug-in on Win but also on Mac OS X???

    I've converted to the use of Java Plug-in for my applets, but I need to have those same applets executable from browsers on Mac OS X platform. Surely this has been done, but I don't see how. The browsers I've tried on Mac OS X (Netscape, IE) don't seem to recognize the <OBJECT> tag used for the java plug-in. I've seen no news about the Java plug-in being ported to Macs. How can one get the same applet to run with the Java plug-in on Windows browsers, and also to run with at least one of the common browsers on Mac OS X? Any help would be SO much appreciated!

    Those ten dukes look good to me. But the passing of fifteen months has me thinking you've probably moved on. In any case, here's my effort.
    I've been through a trial trying to get my applet, developed with 1.4.1_03, to run on my Mac OS X v.10.2.6 in multiple browsers. I'm posting my results here. Comments and feedback are welcome.
    JVM support for 1.4.1 is limited to the Safari browser. All other browsers running in Mac OS X that I've tried ( Camino, Opera, Internet Explorer, Mozilla ) are using the 1.3.1 plugin. According to a bug report by Mozilla on this topic ( see Bugzilla Bug # 197813 http://bugzilla.mozilla.org/show_bug.cgi?id=197813 )
    with the release of Apple's version of Sun's Java 1.4.1 the applet programming model has changed, and only Safari has adapted with this change. Other browsers, according to the report, could not because of a lack of documentation. The use of the MRJCarbon plugin offered by Mozilla (here - http://www.mozilla.org/oji/MRJPluginCarbon.html) only allows Mozilla to use the J 1.3.1. And I have not found any information on the Microsoft site about how to get IE 5.2 to recognize the newer version of Java.
    Regarding the use of the OBJECT tag in Safari, it is a matter of debate. A current post on this topic exists in the Applet Development forum:
    http://forum.java.sun.com/thread.jsp?forum=421&thread=441002
    In my experience, I have not been able to determine that Safari v1.0 recognizes the OBJECT tag. My experience is that the APPLET tag is required to run applets in Safari. The Bugzilla report echoes the problem with the BadMagicNumber error that can arise in Safari. Nonetheless, I enjoy Safari and I enjoy Mac OS X.

  • Problem installing flash player with I.E

    Whilst surfing around the internet this morning I vaguely remember getting a message about needing an adobe flash player update shortly followed by my browser crashing. I didn't think much more of it but from this afternoon onwards I discovered that almost every website i visited would throw up a "This website wants to run the Following add-on: 'Adobe Flash Player' from 'Adobe System Incorporation'. If you trust the website and the following add-on and want to allow it to run, Click Here..." message at the top of the page.
    I tried resetting Internet Explorer 8's security settings to default (i think they were default anyway) but this made no difference. I went to the adobe website to attempt to install the latest flash player but every time i went to the installation page it would refresh itself after about 5 seconds with a "This tab has been recovered. A problem with this web page caused Internet Explorer to close and reopen the tab" message at the top of the page. The page would then refresh again, this time ending up with a "We were unable to return you to adobe.com. Internet Explorer has stopped trying to restore this website." error page.
    In an effort to resolve these problems I uninstalled adobe flash player using the adobe uninstaller (http://kb2.adobe.com/cps/141/tn_14157.html), rebooted my computer and attempted to install the flash player again. Once again I couldn't install it with my attempts again ending up at the "We were unable to return you to adobe.com. Internet Explorer has stopped trying to restore this website." error page.
    I just tried downloading the Firefox browser and have had no problem installing and using the adobe flash player so I am guessing the problem is some sort of issue between adobe and internet explorer- any solutions?
    Thanks :-)

    Hi, You didn't say what version of IE you are using, but most likely IE7 or IE8. It's some option in the browser I'm sure.
    Since you ran the Uninstaller, and it Uninstalls all Flash Player from All browsers, try this Adobe Installer that you will download and SAVE to your Desktop. Then close all browsers, keep your Security setting on Medium for the Internet Zone, be sure to use the Administrator account(only one that has permission). Check your system tray (area by the clock) and disable any application that uses Flash, as Messenger services.
    Run the Installer from your Desktop and when it is finished, be sure to Reboot(restart) your computer.
    http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    Then test here:
    http://kb2.adobe.com/cps/155/tn_15507.html
    Check your websites to see if they are working properly.
    Thanks,
    eidnolb

  • JFrame running with Java Web Start

    I have a problem with running my application with Java Web Start. My main application window is a JFrame and I have a line of code as below
    this.setExtendedState(MAXIMIZED_BOTH);
    It runs fine when run on a PC locally. But if I try to run the application through Java Webstart I get an exception. Can anyone help me with this. I would like the JFrame to open maximized.
    TIA.

    try posting the exception to get better answers. but anyway, i'm guessing its a security issue... your app is trying to access the properties of the local system. you might have to sign your application for this to go away.

  • JNDI validation - problem in Security.runAs with wlclient.jar !!!!!HELP

    Hi,
    I am getting the error given below in calling the following thin client program.
    public static void main(String[] args) throws NamingException
              Security.runAs(new Subject(), new PrivilegedAction(){
                   public Object run() {
                        Properties props = new Properties();
                        TopicConnectionFactory confac = null;
                        props.put(InitialContext.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
                        props.put(InitialContext.PROVIDER_URL,CLUSTER);
                        try {
                             InitialContext jndiContext = new InitialContext(props);
                             jndiContext.close();
                        } catch (NamingException e) {
                             e.printStackTrace();
                             System.exit(0);
                        return null;
    java.lang.SecurityException: SubjectManager not installed
         at weblogic.security.subject.SubjectManager$1.createAbstractSubject(SubjectManager.java:169)
         at weblogic.security.subject.SubjectManager$2.run(SubjectManager.java:285)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.security.subject.SubjectManager.getAbstractSubject(SubjectManager.java:273)
         at weblogic.security.subject.SubjectManager.runAs(SubjectManager.java:234)
         at weblogic.security.Security.runAs(Security.java:48)
         at com.test.jms.JMSConnectionTest.run(JMSConnectionTest.java:62)
         at com.test.jms.JMSConnectionTest.main(JMSConnectionTest.java:55)

    i think that you need create a subject like that.
    LoginContext loginContext = null;
    try {
    loginContext = new LoginContext(username, password, url);
    loginContext.login();
    } catch {}
    Subject subject = loginContext.getSubject();
    Security.runAs(subject, new SimpleAction .......

Maybe you are looking for