QT/KDE Java does not run

I decided to learn Qt Java and KDEJava. I found some demo code here but I can't get it to work.
It compiles fine.
$ javac -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow.java
But does not run.
$ java -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow
Exception in thread "main" java.lang.UnsatisfiedLinkError: no qtjava in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.kde.qt.qtjava.initialize(qtjava.java:272)
at org.kde.qt.qtjava.<clinit>(qtjava.java:283)
at ScribbleWindow.<clinit>(ScribbleWindow.java:300)
$
Wiki says that
==> Kdebindings has been built with support for Java and GTK.
==> If you want to use these features use the following pacman commands:
==> 'pacman -S j2sdk'
==> 'pacman -S gtk'
I have kdebindings and j2sdk installed. After searching the forum I'm not sure if Wiki is right. Is kdebindings compiled with java support or not? Am I supposed to install or recompile something to get it working?

phrakture wrote:
ummm, try it like this:
$ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
It gives different error:
$ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
Exception in thread "main" java.lang.NoClassDefFoundError: org/kde/qt/QWidget
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Similar Messages

  • Java does not run correctly

    My school has a server which I think is UNIX and it runs something called IRIX. We compile our programs on there but it takes so long I usually compile on the PC with J2SE. The only problem is when I run the programs, they don't execute correctly while when I run it on the school server it does run correctly. Do you know what might be causing this problem? It compiles correctly on both sides.
    If I need to ask the user for two things, I'll prompt for the first, then the second. But when I run it on the windows PC, it'll skip the first prompt and jump to the second.

    Yes, the program executes correctly on Unix but not on PC. This is a homework assignment so I can't post it until I turn it in (tomorrow). It's very basic - since I'm taking an intro-Java course - and I'm doing this all by hand-typed text and the program runs with just text-displays and no graphical boxes.

  • Java will not run in IE9

    I find this problem posted all over the internet -- however, I have found few answers and no solutions that work.
    Java will not run in IE9 
    In the last three days I have installed Java 7.5 at least five times (after total uninstalls).
    I have Windows 7 Home premium with all updates installed.  Anti-virus programs are installed.
    Even the java website   http://www.java.com/en/download/testjava.jsp cannot detect the Java program in IE9.  It displays the following message:  “No working Java was detected
    on your system.  Install Java by clicking the button below.”
    I know you don’t want to hear about other browsers, however, this is part of the diagnoses – Java works fine in Chrome.  (Obviously, there are some programs that can only be accessed in IE.)
    I have tried turning off the firewall, anti-virus AVG, active x filtering, and every other program.  I have cleared the browsing history, cookies, etc.  50 times = nothing works.
    I experienced that Java did work once and only once in IE9 after each of two new reinstallations of Java 7.5.
    Process Explorer shows that Java is running, I’ve included a screen- shot (hope it shows up)
    All knowledgeable answers are appreciated.

    Hi,
    Have you tried the compatibility mode in Internet Explorer 9? Or does this issue occur to previous Internet Explorer versions?
    For reference about compatibility mode:
    http://blogs.msdn.com/b/ie/archive/2010/10/19/testing-sites-with-browser-mode-vs-doc-mode.aspx
    How to use Compatibility View in Internet Explorer 9
    You could try to deselect the “Automatically Detect Settings” to check how it works.
    And enable the scripting of Java applets settings:
    1. Click "Tools" --> "Internet Options"  
    2. Next, select the Security Tab, and select the "Custom Level" button
    3. Scroll down to "Scripting of Java applets"
    4. Make sure the "Enable" radio button is checked.
    5. Click OK to save your preference.
    Or you could try to change the settings in group editor:
    Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Internet Zone\Java Permissions
    Meanwhile, I suggest you could
    reset Internet Explorer settings to see the results.
    Hope this helps.
    Vincent Wang
    TechNet Community Support

  • Javaee6 sample does not run on remote GF 3.1

    I installed javaee6 with samples:
    java_ee_sdk-6u2-jdk-linux-x64-ml.sh
    I can run "automatic-timer" sample properly, when GF 3.1 runs on localhost.
    If GF 3.1 runs on a remte host.
    I set the remote GF 3.1 in bp-project/build.properties:
    javaee.server.name=192.168.1.101
    Now automatic-timer sample does not run:
    [java] Waiting for the timer to expire
    [java] Logged timeouts :
    [java] org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
    [java]      at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
    [java]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java]      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
    [java]      at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
    [java]      at $Proxy26.connectFailure(Unknown Source)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
    [java]      at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    [java]      at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
    [java]      at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
    [java]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
    [java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
    [java]      ... 15 more
    [java] Caused by: java.net.ConnectException: Connection refused
    [java]      at sun.nio.ch.Net.connect(Native Method)
    [java]      at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
    [java]      at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
    [java]      ... 16 more
    [java] javax.naming.NamingException: Lookup failed for 'java:global/automatic-timer-ejb/StatelessSessionBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700  vmcid: OMG  minor code: 1  completed: No]]
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
    [java]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
    [java] Caused by: javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700  vmcid: OMG  minor code: 1  completed: No]
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:352)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
    [java]      ... 4 more
    [java] Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
    [java]      at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
    [java]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java]      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
    [java]      at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
    [java]      at $Proxy26.connectFailure(Unknown Source)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
    [java]      at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    [java]      at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
    [java]      at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
    [java]      ... 5 more
    [java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
    [java]      ... 15 more
    [java] Caused by: java.net.ConnectException: Connection refused
    [java]      at sun.nio.ch.Net.connect(Native Method)
    [java]      at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
    [java]      at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
    [java]      ... 16 more
    [java] Exception in thread "main" java.lang.NullPointerException
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:54)
    Why does it use localhost instead of 192.168.1.106 ?
    How can I run the sample against a remote GF 3.1 ?
    Thank you

    I got solution:
    Re: Can't access remote EJBs (GF3.1)
    I followed the instructions from http://www.java.net/node/676636
    and changed "/etc/hosts" file:
    1) commented out the "internal" IP addresses in the first two lines
    2) and added a the external IP address
    #127.0.0.1 localhost
    #127.0.1.1 lennyserver
    192.168.0.202 lennyserver
    The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    Now the InitialContext.lookup() can find the bean.

  • Program compiles, but does not run

    To: XCode Users <[email protected]>
    From: Brigit Ananya <[email protected]>
    Subject: Program compiles, but does not run
    I am trying to port a Java application from the PC to the Mac. I am using XCode and the program compiles, but it does not run.
    When I try to run the ...app, I get the message that the main class is not specified, etc.
    When I try to run the ...jar, I do not get the message that the main class is not specified, but I do get the message that there is no Manifest section for bouncycastle, etc.
    Here are the detailed messages I get in the Console when I try to run the program:
    When I try to run the ...app, I get the following message:
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [LaunchRunner Error] No main class specified
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] Exception in thread "main" java.lang.NullPointerException
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    When I try to run the ...jar, I do get the following message:
    1/9/09 7:22:43 AM [0x0-0x8d08d].com.apple.JarLauncher[2262] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] Exception in thread "main"
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] java.lang.SecurityException: no manifiest section for signature file entry org/bouncycastle/asn1/DEREnumerated.class
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:377)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:231)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.processEntry(JarVerifier.java:233)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.update(JarVerifier.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.getInputStream(JarFile.java:390)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.URLClassPath$JarLoader$1.getInputStream(URLClassPath.java:620)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.cachedInputStream(Resource.java:58)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.getByteBuffer(Resource.java:113)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.security.AccessController.doPrivileged(Native Method)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    I do specify the main class in both, the Manifest file and the Info.plist file, in the correct way, "package.MainClass". Is there another place where I need to specify it?
    Why do I need org/bouncycastle/asn1/DEREnumerated.class, and how would I have to specify it in Manifest?
    I also posted these questions at Mac Programming at forums.macrumors.com and at Xcode-users Mailing List at lists.apple.com/mailman/listinfo, but I did not get any answer.
    Please help! Thanks!

    There was something wrong with my Info.plist file.
    So, here is my corrected Info.plist file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
         <key>CFBundleDevelopmentRegion</key>
         <string>English</string>
         <key>CFBundleExecutable</key>
         <string>AnanyaCurves</string>
         <key>CFBundleGetInfoString</key>
         <string></string>
         <key>CFBundleIconFile</key>
         <string>AnanyaCurves.icns</string>
         <key>CFBundleIdentifier</key>
         <string>com.AnanyaSystems.AnanyaCurves</string>
         <key>CFBundleInfoDictionaryVersion</key>
         <string>6.0</string>
         <key>CFBundleName</key>
         <string>AnanyaCurves</string>
         <key>CFBundlePackageType</key>
         <string>APPL</string>
         <key>CFBundleShortVersionString</key>
         <string>0.1</string>
         <key>CFBundleSignature</key>
         <string>ac</string>
         <key>CFBundleVersion</key>
         <string>0.1</string>
         <key>Java</key>
         <dict>
              <key>JMVersion<key>
              <string>1.4+</string>
              <key>MainClass</key>
              <string>AnanyaCurves</string>
              <key>VMOptions</key>
              <string>-Xmx512m</string>
              <key>Properties</key>
              <dict>
                   <key>apple.laf.useScreenMenuBar</key>
                   <string>true</string>
                   <key>apple.awt.showGrowBox</key>
          <string>true</string>
              </dict>
         </dict>
    </dict>
    </plist>Ok, so now I can at least run the AnanyaCurves.jar file by double-clicking on it.
    However, I still cannot run the AnanyaCurves.app file. When I double-click on it, I get the following message in the Console:
    1/11/09 5:12:26 PM [0x0-0x67067].com.apple.JarLauncher[1128]  at ananyacurves.AnanyaCurves.main(AnanyaCurves.java:1961)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [LaunchRunner Error] No main class specified
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] Exception in thread "main" java.lang.NullPointerException
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)Why is it looking for the MRJApp.properties file? Isn't this outdated? Shouldn't it look for the Info.plist file? I do not have a MRJApp.properties file.
    Also, in the Run menu of my XCode project, Go, Run, and Debug are disabled, but perhaps this has to do with not being able to run the AnanyaCurves.app file.
    Thanks for your time! I really appreciate any help you can give me!

  • Why java does not support multiple inheritance ???

    Hai friends ..iam new to java .. i have doubt ..plz help me
    Why java does not support multiple inheritance ???

    The reasons for omitting multiple inheritance from the Java language mostly stem from the "simple, object oriented, and familiar" goal.
    To understand multiple inheritance, the learner needs some level of expertise like virtual derivations etc in c++. Multiple inheritance will allow method duplication, and throws the learner into confusion which method might be called by the compiler in which scenario at run time.
    Even though this answer seems to be funny, this is the actual reason why java omitted multiple inheritance of classes.
    But java support multiple inheritance of interfaces. Multiple interface inheritance allows an object to inherit many different method signatures with the caveat that the inheriting object must implement those inherited methods.

  • I have OS X (10.6.8) , I have downloaded Apple Java 6 update 13, pogo chess does not recognize my Java, also Java does not appear in system preferences

    I have OS X (10.6.8) , I have downloaded Apple Java 6 update 13, pogo chess does not recognize my Java, also Java does not appear in system preferences.
    How do I get Java to work.

    I just got off phone with AppleCare about same issue. Here is how to fix:
    How to reinstall Java for 10.6.8:
    - Go to:  /System/Library/Java/Support/CoreDeploy.bundle/Contents
    -  Move: javaAppletPlugin.plugin to the trash
    -  Run update   ---   Found at: http://support.apple.com/kb/DL1573
    -  Reset safari
    -  Empty cache

  • Java Plugin not running on Mac OS X browsers

    Hi
    I have created an applet that runs on any browser on Windows, and runs only as an application on Mac OS X. But when I try to run it as an applet on Mac OS X, it does not run. I have installed the latest Java from apple, and changed the preferences to run 1.6 Java on the browsers.
    I get the following error:
    MRJ Plugin for Mac OS X v1.0.1
    [starting up Java Applet Security @ Tue Feb 03 11:34:26 EST 2009]
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@c7980c, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@36a1a1
    basic: Loading applet/u2026
    basic: Initializing applet/u2026
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@c7980c, refcount=2
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@c7980c, refcount=1
    basic: httpCompression = true
    network: Connecting http://192.168.2.50:8080/MCA_V3_1/Clientlib/lms-common.jar with proxy=DIRECT
    basic: Downloading http://192.168.2.50:8080/MCA_V3_1/Clientlib/lms-common.jar to cache
    basic: encoding = null for http://192.168.2.50:8080/MCA_V3_1/Clientlib/lms-common.jar
    basic: Cached file name: lms-common.jar-277a142b-79528a22.zip
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: User has granted the priviledges to the code for this session only
    security: Adding certificate in Deployment session certificate store
    security: Added certificate in Deployment session certificate store
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:605)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1864)
         at jep.AppletFramePanel.createApplet(AppletFramePanel.java:189)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
         at sun.applet.AppletPanel.run(AppletPanel.java:326)
         at jep.AppletFramePanel.run(AppletFramePanel.java:176)
         at java.lang.Thread.run(Thread.java:613)
    basic: Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:605)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1864)
         at jep.AppletFramePanel.createApplet(AppletFramePanel.java:189)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
         at sun.applet.AppletPanel.run(AppletPanel.java:326)
         at jep.AppletFramePanel.run(AppletFramePanel.java:176)
         at java.lang.Thread.run(Thread.java:613)
    Any ideas how I can fix this?
    Thanks,
    GK

    After doing some research, I still cannot fix this problem.
    I Build the applet on Mac OS X using netbeans 6.7.1, with Java 6 (64-bit, there is no Java 6 - 32 Bit on Mac OS X)
    When I run the applet on safari or firefox on Mac OS X, The console says running on Java 5. (Although the properties have been changed in Mac OS X /Utilities/Java Preferences)
    I have been struggling with no end in site, for this issue.
    I was able to get the Applet working by reverting to Java 5 and using the Java Swing jar from Java.net. But I still want to be able to just use Java 6 in Mac OS X. (I can't use the GUI Builder in netbeans with the separate swing jar).
    ANY HELP please.

  • Java does not work at all upon using the update manager to update to firefox 3.6.10 for Ubuntu 9.0.4

    OS: Ubuntu 9.0.4
    Browser: Firefox 3.6.10
    upon updating to firefox 3.6.10, java does not work at all.
    websites that use java do not work at all anymore, when they worked just fine before the updating thru update manager. e.g. hulu website cannot play any of the shows.
    i can give the folder of bookmarked pages i tried.
    how to do that on here, i've yet to see if possible.
    i can even give saved text from the terminal concerning certain attempts.
    when i updated thru update manager, it gave some weird java plugin that wasn't there before "The IcedTea Web Browser Plugin IcedTea6 Java Web Browser Plugin (execution of applets on webpages)".
    i uninstalled this as instructed by an answer found in one of the pages i saved, cuz it was conflicting w/another java program the updater said i needed. right now, i don't remember for sure what it was. it perhaps was realplayer flash or Java itself. w/all the hours/days of searching i put in, it's difficult if not downright impossible for me to remember all the specifics of what i tried.
    i've searched throughout many webpages (including many searches on mozilla, ubuntu, java, etc) for instruction in fixing the problem.
    oh, and incidentally, on the Java site, when i try the verify test of Java, firefox pops up with that yellow bar right below the slew of tabbed website windows, giving the statement "additional plugins are required to display all the media on this page. (w/link to) install missing plugins ." which is what i do, go thru the requesting plugin installation. it comes up with, guess what, the IcedTea Java Plugin. i click on the 'next' in the "Plugin Finder Service" box that pops up, & all it gives me is "No plugins were installed. IcedTea ...Plugin failed. and the link 'find out more about plugins or manually find missing plugins'". the link takes me to some of the very things/plugins that wouldn't install in the first place. the Java test failure is a LOL funny, as what plugin it is saying is required (IcedTea) is a recommended alternate program to display the very test in the first place.
    i followed the given instructions on those many searched pages, in every case (barring what i may have just plain missed), but to no avail.
    i've even gone to the point of trying to reinstall the previous 3.5.13 firefox version, from mozilla site. even that wouldn't install.
    i've tried installing Java for my sys direct from it's site. nada.
    now it's time for me to post the problem & perhaps someone will come up with some kind of "dummy" way to fix it.
    until then many sites a regularly use are totally useless to me on this fast puter.
    the only way i can get to use such sites, are two choices: 1. use a dinosaur laptop, which is slower than molasses & cannot handle to any streaming stuff, or 2. use an available internet access puter at the library. but useage for ea person per day is limited to only one hour a day. and one can end up waiting for an hour or more ( in the busiest periods) to even get to use one.
    so, is there anyone at all, who knows any for-sure working fix for this problem?
    thanks muchly :^D
    p.s. i can't pay anybody any money for such help, as is required in certain sites (e.g. Java website), cuz i don't have any.
    i can pay in labor tho, if there is someway to find someone who can physically be at this puter w/me, taking me step-by-step
    sorry for the 20-pg essay. i hope it was all clearly understood. if, not, well, clear communication is always what is needed, ask away.

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP

    Hi,
    I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
    Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
    In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
    Thanks
    Feroz

    The way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
    I am afraid some of reports engine failed to start and you get nothing back in your case.
    After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
    Hope this helps.
    Thanks,
    -Shaun

  • ICal does not run one event that has a Applescript attached to it. 24u?

    I have a number of reoccurring events in iCal that run a Applescript.  Tow of them refuses to run.  I have tried it as a Applescript and saved it as a run only and neither works (the script run fine if I test them by hand).
    so I thought I have a look in the log and found this 24u information. 
    can anybody help out here? I am not sure why it appears, if it is good or bad, how to fix it and if it is at all realted to my problem.  Other scripts seem to run well, it is this one and an other one that do not get activated by iCall.
    They run on a MM running 10.6.8, iCall 4.0.4 (1395.7)
    Thanks.
    Log today:
    19/09/2011 07:00:00          iCal Helper[211]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 07:00:00          [0x0-0x12012].com.apple.iCal.helper[211]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
    19/09/2011 07:45:01          iCal Helper[317]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 07:45:01          [0x0-0x28028].com.apple.iCal.helper[317]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
    19/09/2011 14:30:02          iCal Helper[1019]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 14:30:02          [0x0-0x73073].com.apple.iCal.helper[1019]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.

    Hi,
    It looks like the version of 24U's Appearance OSAX you have installed does not run on Lion.
    I would contact the developer to see if they have a version that does yet. See http://www.24usoftware.com/AppearanceOSAX
    Alternatively you could look to see if the Applescript really needs to use it.
    Best wishes
    John M
    Edit: If you are running Snow Leopard, I think you may need to make the application "iCal Helper" (which you'll find in iCal's application package) run as 32 bit. I'd also suggest you check this with 24U.

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • Premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."

    premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."   Installation in German Language on WIN7 professional 64bit, Samsung SSD. What can I do to run that program?

    Jurgen Freund
    Premiere Elements 12 on Window 7 64 bit. What video card/graphics card does your computer use - AMD Radeon?
    I have found this YouTube video on the subject of Error 126 with details for resolving the problem.
    How to fix the ERROR 126 when you open OpenGL programs - YouTube
    The link was contributed in an old 2013 thread here by the ID danneomarre (see post 6 of the following thread)
    LoadLibrary failed with error 126: cant find the required
    Please let us know if that worked for you.
    Thank you.
    ATR
    Add On...When all is OK and working, please update 12 to 12.1 Update using an opened project's Help Menu/Update.

  • My Firefox version is 13.0.1, I use Windows Seven 64-bit, when I click on Firefox, but the program does not run! But Firefox is seen in the list of Windows proc

    My Firefox version is 13.0.1, I use Windows Seven 64-bit, when I click on Firefox, but the program does not run! But Firefox is seen in the list of Windows processes, while Firefox does not run.
    I manually deleted Firefox from the list once I have Windows processing.
    And when I clicked on Firefox, Firefox will open quickly and easily.
    Firefox process in Windows Processes names list called "firefox.exe * 32" is.
    Please try to solve my problem, my problem is how to solve?

    Hi, are you saying that you start Firefox and it stalls -- you can see it in the Task Manager but it never displays -- but if you kill that process and start Firefox again it starts up properly that second time?
    If you look at the statistics available in the Task Manager's processes tab such as bytes read or other bytes, can you see whether Firefox is doing anything at all? ''Note: You might need to add columns if your Processes tab isn't set up to display statistics. You can do that from the View menu.''
    You might already have seen these troubleshooting articles. If not, does anything here help:
    * [[Firefox won't start - find solutions]]
    * [[Firefox hangs or is not responding - How to fix]]

  • Lightroom 5.6 does not run following latest CC Photoshop 2014 and Bridge updates

    I am running Creative Cloud Photography on OSX 10.9.4. Yesterday I updated Photoshop 2014 and Bridge using the CC desktop app as prompted by CC. Since then Lightroom does not run. When I open it the blue intro screen flashes up for less than a second. To try and recover I have uninstalled Lightroom (5.6) and re-installed it several times using both the CC app and directly from the Adobe website. The result is always the same. I can find nothing about this on Adobe Support although I can find others who have had the same symptoms on a web search. Their solution was to re-install Lightroom from the web site but that hasn't worked for me.  I had Lightroom installed before I went to CC and before CC included Lightroom in the Photography package. Does anyone understand this issue and can you please advise me what to try next? Many thanks.

    Okay, Solution 1 from this link Error "Unable to start correctly - 0Xc00007b" fixed it for me. But now it's asking me for the serial number which I can't find anywhere... shouldn't that go without with the cloud?

Maybe you are looking for

  • New macbook pro update to 10.4.8 causes a lot of problems

    i got my macbook pro about a week ago. seems to work fine running 10.4.6. then i decided to run software update. it says that it will download the 10.4.8 update. went on with the update. restart took a while - i figured that it was still doing some "

  • How to import catalog and create new link to folder in a new external disk

    I lost my data in my laptop. I have a back-up into an external hd. Now I would like to import the catalog and change the link of folder to external disk

  • Access DMS documents from MDM ??

    Hello folks We have a customer that has SAP DMS (Document Management System from SAP ERP) where the product image files are stored on a SAP Content Server. We are planning to implement MDM for rich product catalogue whereby end-users access MDM via P

  • A/C Assignment

    Hi, We have created a new mat type 'zmat' (Spares).  Now the requirement is that to assign new G/Ls as follows: Inventory G/L - 12345 Consumption - 23456 How we assign the above G/Ls (as these are different G/Ls for spares), what are the steps. Thank

  • SAP IK Transports Error

    HI Experts, I got error while improting SAP IK Sp3 Unicode Trasnsports in the BI SYSTEM. please find detailed error message from the log file. R21K900693 (Business objects personalization objects) Failed with return code:8..See below error message Pr