Cannot run "java -jar javapetstore-2.0-ea5-installer.jar "!

My java version is:
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
When I run "java -jar javapetstore-2.0-ea5-installer.jar"
I get errors:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(GTKLookAndFeel.java:1267)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1509)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$000(GTKLookAndFeel.java:37)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel$WeakPCL$1.run(GTKLookAndFeel.java:1449)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Exception in thread "main" java.lang.NullPointerException
at javax.swing.plaf.synth.SynthLookAndFeel$AATextListener.propertyChange(SynthLookAndFeel.java:793)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
at java.awt.Toolkit.setDesktopProperty(Toolkit.java:1784)
at sun.awt.SunToolkit.fireDesktopFontPropertyChanges(SunToolkit.java:1714)
at sun.awt.SunToolkit.setAAFontSettingsCondition(SunToolkit.java:1759)
at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:119)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initComponentDefaults(GTKLookAndFeel.java:1258)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getDefaults(GTKLookAndFeel.java:294)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:537)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:581)
at org.jvnet.poormans_installer.Main.setUILookAndFeel(Main.java:88)
at org.jvnet.poormans_installer.Main.main(Main.java:49)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(GTKLookAndFeel.java:1267)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1509)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$000(GTKLookAndFeel.java:37)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel$WeakPCL$1.run(GTKLookAndFeel.java:1449)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
My OS is CentOS5.1 final.

have u set the path to java 1.4.1 ?
if u set the path ,,, the there will no problem.

Similar Messages

  • Cannot run java can anyone help??

    cannot run java, it says it is loaded but when I go to Pogo.com java is booted out. Can anyone help??

    have ur java software updated.

  • HT1338 i cannot run java with mountain lion

    i cannot run java with mountain lion

    @jnsmth
    I see Barney-15E made suggestions regarding Chrome preferences. There's also a setting on the Mac to deal with this. Regarding the drop-down menus not seeming to scroll through (such as a list of states)--where when you place or click your cursor over the drop-down menu and it only opens to some of the options in a list, I found that you have to change the scroll bar behavior in your computer's (and not the browser's) General Preferences within your System Preferences.
    Open System Preferences, and click on "General" inside the top row of "Personal Preferences" (as it is in my system with Mountain Lion, and I think prior operating systems before that).
    Once inside General Preferences, select the radio button option for your scroll bar which you'd like to use in the "Show scroll bar:" section ("Automatically based on mouse or trackpad," "When scrolling," or "Always." If you're using a mouse and not a trackpad, you'd probably want to select "Always" as it takes swiping over the drop-down list on the trackpad to enable (make visible) the scroll bar and/or scroll the list.
    Either with the installation of Mountain Lion, or the installation of my trackpad (I'm using a desktop iMac and not a Macbook / laptop) I found that the righthand scroll bars seem to automatically disappear. When I moused over or clicked on a drop-down menu (such as the list of states) I'd see only the first few options in the list. In order to access the rest of the states (get the list to scroll) you have to either have the scroll bar setting set to show "Always" or (if you have a trackpad) use the trackpad to swipe/scroll while hovering your cursor over the list's items to get it to scroll the list, and thus then show/reveal the lefthand scroll bar (which can then be accessed with your mouse if you prefer.
    This confused me at first when my scroll bars seemed to disappear, but was an easy fix.
    Hope that helps with that part of your issue.

  • Urgent! Cannot run java programme. Pls help!

    1st question:
    I am using JDK 1.3.1_03 on Win2K Server. When I have compiled the java applications, I try to use
    "java <application name>" to run the programme, but an error message "Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object" come up on the screen. Why is it so? It run normally in the past.
    I have upgraded Windows2K once using the Win2K Server CD recently, is it the cause of the problem?
    How can I solve it? Please help! Thank you!
    2nd question:
    I have installed JDK1.4 Final version recently. However, after I have uninstalled it, it still appear in the Add/Remove Programme list in the control panel. I have tried to install another version of JDK, see if it would replace the JDK1.4,
    but it failed. Why is it so? Now when I go to some websites designed by javascript, the Internet Explorer suddenly closed by itself. How can I solve the problem? Please help! Thank you!

    Hi,
    I got the same problem, 1st question, running the application on win NT. Is there anybady there who can help us!!!??????????

  • Cannot run java program after archive and install

    Hi,
    I am new to this forum and appreciate the help and advice given here.
    Yesterday, I did an archive and install on my system which install 10.4.3. Afterwards, I installed X11 and did the software updates which brought my system back to 10.4.8. It also installed Java 1.3.1, 1.4.2, and 1.5 (J2SE5).
    Prior to the archive and install, I had no problems executing a java program either in the command line in an X11 window or using Eclipse. However, when I try now I get the exception message "Exception in thread "main" java.lang.NoClassDefFoundError:". I checked my CLASSPATH and it's not the problem. I am able to compile, and execute the javadoc command. If I type java -version I get
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
    Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
    Under Eclipse, I am able to see the Java versions under Preferences - Java - Installed JREs but if I go to the Run -> Run As menu, I see (none applicable).
    Thanks for any suggestions to fix this.
    James
    Dual 867MHz G4   Mac OS X (10.4.8)  

    I resolved the issue. I reinstalled XCode and had an issue with one of the files I was testing.

  • Cannot run java

    i am trying to log on to a program called skillcheck.com an assessment website.   when i click on the tab system check to make sure my system is compatible i keep getting the following message...No Java Client available.  My Mac Book Pro is running off of Mac OSX version 10.7.5.  Can anyone help me?

    Go here and read the tutorial: java.sun.com/docs/books/tutorial/. Java is run using command entered from the command/cmd (aka DOS) window. Ther is no graphical user interface or desktop icons.

  • I cannot run Java suddenly.

    Hi,
    geez..I don't know what I did, but now, whenever I try to run a program, e.g. java Test where Test is a class file.
    I would get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Test
    seems like my java.lang lib has disappeared?
    I tried reinstall my JDK1.3.1_02, but the problem is still there...I tried to run other class files which worked before..and it gives the same error...
    does anyone know how to fix this problem?
    thanks!!
    Joe

    hi,
    You would get this problem if the current directory is not in the classpath.. add the following line to ur Autoexec.bat (in case of Windows)
    set CLASSPATH=%CLASSPATH%;.
    note: therez a dot at the end, this adds the current directory to the classpath environment variable..
    hope this helpz
    cheerz
    ynkrish

  • Cannot run java (Linux)

    I just downloaded and installed java JDK 1_5_0_05 (rpm file) for my machine (PC with Linus ES 3.0). When I try to run javac on the command line, I get the following error:
    Error: could not find libjava.so
    Error: could not find Java 2 Runtime Environment.
    What am I missing?
    Thanks
    plaval
    email: [email protected]

    (PC with Linus ES 3.0).First, I don't know that Linus would like that there are multiple versions of him. Perhaps you meant something like RedHat Linux Enterprise Server 3.0.
    Anyhow, I'm guessing that there was already a Java install on your machine, though probabaly not one from Sun. If you're familiar with RPM's then I would start by doing an "rpm -qa | grep -i java" to see what other Java installs may be on the machine. Multiple versions can reside on a single machine but you need to make sure that your PATH environment variable is set to "your" JVM's bin directory and that your JAVA_HOME is set to the base of your JVM.
    Let us know what other issues you have.
    Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.
    Sure they're new - come get them started!

  • Cannot run Java with Firefox

    I have tried anything for 5 hours and nothing works.
    New dell laptop with Windows 8.1 64 bits.
    Firefox version: 37.0a1 (2014-12-05).
    Install Java twice via jxpiinstall.exe and jre-8u25-windows-i586-iftw.exe. 32 bits version.
    Java test page https://www.java.com/en/download/installed.jsp reports that 'java is disabled or not installed'.
    Java console shows that Java is enabled for browsers.
    DOS Command line 'java -version' shows java running.
    I have even put the 'C:\Program Files (x86)\Java\jre1.8.0_25' in the global PATH variable and created a JAVA_HOME variable with this directory.
    I went into regedit and change the rights on all mozilla mozilla.org keys.
    Finally, I downloaded Chrome and it works after some configuration.
    Regards.
    PS: the register process to be able to ask a question is the most impossible (being polite) that I have ever seen.

    Finally, I could find a page to download a previous version.
    I downloaded Firefox Setup 33.1.1.exe and installed it. It immediately donwloaded the right plugins.
    I configured the Java(TM) Platform SE 8 U25 plugin to be always activated and I went to the Java test page https://www.java.com/en/download/installed.jsp and now it works.
    I will try with updated version, but it is clear that this Nightly version has a problem with Windows 8.1

  • Cannot run java application in Win XP

    I worte a java application(a Swing app), I test it and run under win NT, it works fine for me.
    Then I recompile it in my WinXP using j2sdk1.4.1_02, run it in a command prompt, but it does NOT start up the application, I check the window task manager, a java.exe already startup and it eat up 100% CPU of my XP, but the application never been startup.
    My Swing application is not a JApplet but a JFrame.
    Does anyone have the similiar problem?
    Thx in advance
    Henry

    Try adjusting your path settings to stop using the MS VM (did you recently use win update?):
    My Computer->Properties -> Advanced -> Environment Variables
    System Variables -> "Path"
    If it currently starts with:
    %SystemRoot%\system32;...
    change it to:
    .;%JAVA_HOME%\bin;%SystemRoot%\system32;...
    If you haven't set JAVA_HOME, create a new variable like:
    JAVA_HOME = C:\j2sdk1.4.1_02
    Note that using the ".;" before path makes the current dir's executables take prevalence over a same-named executable in a subsequent path.
    Putting "%JAVA_HOME%\bin" before "%SystemRoot%\system32" makes certain that the current java.exe gets used (not Micro$oft's java.exe)
    Try it, hope it helps,
    Georg.

  • Cannot Run Java 1.7 Despite Installing

    For a certain application, I need to use the Java Runtime Environment 1.7. I've installed the latest JRE from Oracle's website. After this, the "Java" control panel that appears says I only have Java 1.7.0_25 installed. However, when I use the "java -version" command in Terminal, it claims I'm using Java 1.6.0_51.
    How can I disable or uninstall the 1.6 JRE, so Terminal will say I'm using 1.7?
    Using the latest version of Mountain Lion.
    Thanks in advance!

    Hello,
      The bug that is causing this error message is fixed in 8u20. Please download the 8u20 EA. When 8u20 is released you will be prompted to install the final version.
    You can find the link to download and more information on java.com:  https://www.java.com/en/download/help/mac_10_10.xml
    -Roger

  • Java script and the new and not improved firefox don't work. Please let me be able to run Java again.

    I use SAP Infoview for work. To modify reports it requires a Java script to run. I had it set up in the previous version of ff to always allow from this specific site and it worked wonderfully. Now, in the new version, despite following all of the instructions from others, I cannot do my work because I cannot run Java script. I can still run it in Safari, but Safari is a last resort for me to use. I prefer Firefox and have all of my links stored there.

    Some sites are not fully compatible with Firefox 4's new HTML5 rendering engine. Can you turn that off and test without it? Here are the steps:
    (1) Open a new tab, then type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''html5''' and pause while the list is filtered
    (3) Double-click '''html5.parser.enable''' to toggle it to false (it should turn bold).
    Then change back to the SAP tab and reload the page.
    Does that make any difference?

  • "Cannot run name lookup" message

    We are currently trying to installed LMS 4.0 on a VM Ware instance of Windows 2008r2, and getting the error "cannot run name lookup" message when launching the installation.  We are launching the Win2008 patch and it asks for the desination of the LMS application then spits out this message.
    Anyone have any ideas?
    Thanks.
    Kimberly

    Indeed, all I can suggest is to do the install as the local administrator and consider taking the machine out of the domain until the install is done.
    But I guess you have seen the document  regarding LMS installation: https://supportforums.cisco.com/docs/DOC-9132
    Cheers,
    Michel

  • JavaService - can install java program into win2k service, but cannot run

    i have a JavaService problem: i can install java program into win2k service, but cannot run
    the version of javaservice is 2.0.7.0
    the following is the message:
    C:\DailyUpdate\dist>JavaService.exe -install DailyUpdate C:\Program Files\Java\j
    dk1.5.0_05\jre\bin\client\jvm.dll -Djava.class.path=C:\DailyUpdate\dist\ftpbean.
    jar;C:\DailyUpdate\dist\mysql-connector-java-3.0.10-stable-bin.jar;C:\DailyUpdat
    e\dist\DailyUpdater.jar -Xms16M -Xmx64M -start DailyUpdateHandler -params C:\Dai
    lyUpdate\dist -out C:\DailyUpdate\dist\logs\out.log -err C:\DailyUpdate\dist\lo
    gs\err.log
    The DailyUpdate automatic service was successfully installed
    The DailyUpdate service is starting.
    The DailyUpdate service could not be started.
    The service did not report an error.
    More help is available by typing NET HELPMSG 3534.

    I might be doing some programming for my company soon
    which will require a program to monitor a database
    and whenever there is a change to certain fields, it
    must copy certain fields into another database. When I see "whenever thiere is a change to certain fields" I tend to think "triggers" - but maybe this won't work for you 'cause of the "another database" part. And the fact that triggers are inherently evil.
    [snip]
    Is it possible to run a Java program as a windows
    service? And if so then how would you go about it? I'd hit Google - there're a couple ways to do this.
    [snip]
    Also,...if I were to use one of those programs which
    can make an .exe of a Java program, then do you still
    require the JRE to be on the machine? It depends on how you did the conversion. If you compile to native then no, if you just wrap up a JRE then yes.
    Why I ask is
    that I occasionally get asked to do small development
    projects for my company, but we are a microsoft
    partner and therefore do all the development in C#
    and the like. So I would like to just implement as
    many things in Java as I can, just to show everyone
    that Java can do exactly what C# can do. But its
    difficult to convince people of this since I always
    require the JRE and they dont. Of course, they require the .NET framework and you don't. And last I looked that thing was around 23 Meg.

  • When using Java Wizard with Firefox 3.6.23 on a Mac OS X 10.6.8 it keep getting an error message: "The Java Wizard cannot run. Please configure your browser to allow Java applets to access the filesystem." Have NO idea how to fix this problem.

    When trying to upload files I received the following error: "The Java Wizard cannot run. Please configure your browser to allow Java applets to access the filesystem."

    If the problem is with a site that is hosted using MOVEit DMZ by Ipswitch, please notify the site owner of the issue and ask them to apply the patch that is available on the support site to resolve the issue.
    This is a better resolution than downgrading your version of Java that was updated due to security issues.

Maybe you are looking for

  • PXIe 8262 streaming performance with HDD 8264 on a PXIe 1062Q chassis

    Hello, I have a PXIe 1062Q chassis, running Win XP, with one 8262 connected to an HD8264 and two PXIe 6537 installed, all the three board being on the express slots (3, 4 and 5). Running the benchmark application for testing the streaming speed (Win3

  • How to change transport layer in a package

    Hi,      I would like to change transport layer wrongly assigned to the one availble in the present system without any local change request being created. Please help!!

  • Building an active PHP page in DW

    I have 6 months DW experience, and plenty of database experience, but not really much WEB database experience. I was wondering how difficult of project it would be to convert my small store to a PHP database-driven/active site, with the following con

  • Master Pages: how to achieve more advanced layouts?

    I've wrapped my head around Master Pages in the past few weeks, but now that I'm trying to get more advanced with layout options, my goals seem to beyond any resources I can find to give me guidance. What I want to achieve is pretty simple. I'm tryin

  • Vertical scroll in matrix

    Hello, all! Do we have oportunity to display vertical scroll in Matrix object? I created Form, added Matrix there, did query... But not all rows shown and didn't show scroll... how to see the downest row in matrix??? Thank you. Message was edited by: