Java Applet fails to start, but Java is installed correctly
Hello,
I have tried everything to get Java functioning in our IT rooms, different versions, permissions, etc.
But to no avail, we are behind a DMZ and a Proxy Server. This only occours when logged in as a student (differnt proxy server, with filtering) but the internet still funtions.
This is the error I recieve: (when performing the "Have I got Java" test on this website).
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-37" java.lang.NullPointerException
at sun.plugin.util.AnimationPanel.createTranslucentImage(Unknown Source)
at sun.plugin.util.AnimationPanel.createGradientShapeImage(Unknown Source)
at sun.plugin.util.AnimationPanel.initBackground(Unknown Source)
at sun.plugin.util.AnimationPanel.preloadResources(Unknown Source)
at sun.plugin.util.AnimationPanel.doPaint(Unknown Source)
at sun.plugin.util.AnimationPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Any help would be appriciated!
Regards,
Alex.
Applet for my project play very important roll because it does what other technology can not or very hard , the applet I developed is about 6MB in size it control a remote observatory completely with server side java program consist of web server and JSP engine and ftp server plus code to control hardware through COM drivers and many things without java technology it is very hard to do the same development in reasonable time and resources , the applet I developed has a dynamic integrated planetarium with thousands of deep sky objects observers can zoom in and out and search for object can slew telescope to any object in the sky just with mouse click and they can do observation planning and take images of deep sky object plus ftp all in one applet and it is dynamic let observer feel he is in real time observatory control I tried before the HTML 5 but no thing to compare if applet run correctly and it does under windows , OK I was little frustrating because maybe some BUGs but I have to remember many peoples working hard to bring us all these features of Java and I think Java is offer me as developer a great technology and let me offer my customers very good service.
Similar Messages
-
Applet fails in Linux but works on Windows and MAC
Hey I've been testing my RMI Chat and everything seems to work fine when I connect to it from a MAC machine or Windows machine but when I try to connect on Linux (openSUSE) the applet gets a connection timeout.
The applet will load initially but when it connects to the server, I get a connection timeout exception. The exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.ConnectException: Connection refused to host: 192.168.1.103; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:124)
at ds.rmi.server.ChatServerImpl_Stub.registerClient(Unknown Source)
at ds.rmi.client.ClientUI.start2(ClientUI.java:360)
at ds.rmi.client.ClientUI.register(ClientUI.java:282)
at ds.rmi.client.ClientUI.start(ClientUI.java:334)
at sun.applet.AppletPanel.run(AppletPanel.java:420)
at java.lang.Thread.run(Thread.java:595)The address to connect to the Chat is: 192.168.1.102:8080/dschat and the 192.168.1.103 is the address for the linux machine.
Has it got to do with the /etc/hosts?? I also have java.rmi.hostname set in the server class
Thanks in advance for any help
BrianCheck to see if you can access your server from other machines over the internet using telnet. That is in command prompt go to the drive that has the OS. Say it is C:
Then write:
C:\>telnet <your servers external ip address> <port number that you are trying to access>
If everything is fine you will get a blank window with the cursor blinking on the top left hand corner of the window.
Generally this connection timed out exception occurs when the client can't find the server. -
Nm-applet fails to start (symbol lookup error)
I can't exactly remember what I did, but nm-applet doesn't start anymore.
This is what I get:
nm-applet: symbol lookup error: /usr/lib/libgudev-1.0.so.0: undefined symbol: g_type_class_adjust_private_offset
systemctl reports:
NetworkManager.service loaded failed failed Network Manager
I tried googling the error and got no results. The only match I got using "pacman -Ss libgudev" was systemd, and I have the lastest version installed.
What am I missing?WonderWoofy wrote:I don't think that nm-applet is able to run unless Network Manager is actually running. You are inquiring about the wrong thing I think. First solve the problem with the service, then you can look into making the graphical component work.
Thank you for your answer.
systemctl status NetworkManager:
NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled)
Active: failed (Result: exit-code) since sab 2013-11-09 23:25:43 CET; 39s ago
Process: 7863 ExecStart=/usr/bin/NetworkManager --no-daemon (code=exited, status=127)
Main PID: 7863 (code=exited, status=127)
nov 09 23:25:43 paunet systemd[1]: Starting Network Manager...
nov 09 23:25:43 paunet systemd[1]: NetworkManager.service: main process exited, code=exited, status=127/n/a
nov 09 23:25:43 paunet systemd[1]: Failed to start Network Manager.
nov 09 23:25:43 paunet systemd[1]: Unit NetworkManager.service entered failed state.
Gives no output when I try to start it. Only "Job for NetworkManager.service failed" etc.
I have no idea what the problem is.
Last edited by TheGatorade (2013-11-09 22:40:38) -
[SOLVED]nm-applet fails to start. Cannot get network GUI on i3
Hello,
I'd like to be able to find available wireless access points and connect to them via a gui, but since I'm using i3 wm, there's no clickable icon on the bottom for such a purpose. Networkmanager and nm-applet are both started, and I do connect successfully to the internet. However, when I try to run nm-applet to get a GUI, I get the following error:
Could not initialize nm-client /org/freedesktop/NetworkManager: Rejected SendMessage....
Thanks for your help
Last edited by doubleslash (2013-03-04 15:32:30)doubleslash wrote:
Hello,
I'd like to be able to find available wireless access points and connect to them via a gui, but since I'm using i3 wm, there's no clickable icon on the bottom for such a purpose. Networkmanager and nm-applet are both started, and I do connect successfully to the internet. However, when I try to run nm-applet to get a GUI, I get the following error:
Could not initialize nm-client /org/freedesktop/NetworkManager: Rejected SendMessage....
Thanks for your help
Possibly because you don't have a "tray." Check this Wiki entry . You can also consider tint2. I think that's what you're asking. -
Service 'Apple Mobile Device' failed to start while trying to install iTunes !!
My iTunes cannot start lately after Windows 7 upgrade with the following error message:
APS Daemon.exe - System Error
The program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this program.
As such, I uninstall iTunes, restart & reload iTunes again.
But then, the following message comes up during the iTunes installation process:
[ Service 'Apple Mobile Device' (Apple Mobile Device) failed to start. Verify that you have sufficient privileges to start system services ]
How can I resolve this ??Hello there, Steve.
The following Knowledge Base article addresses the very issue you're describing:
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
I have MBP 17" running OS 10.9.2....... I need to have OS 10.6.8 so I can contiue running Quicken 2006. I have this on my Mac Pro but am switching to iMac and hence will dedicate laptop to finances. I pressed option when starting and got disk utilities and erased the HD..... I put in the Snow Leopard disc and pressed C when starting but then when I try and install it shows icon of my HD and says I cannot start up from that disk....... I get the same thing when I insert the #1 instal disc that came with the computer. How do I instal OS 10.6.8 (if I go recovery mode it will insatll 10.9.2 which I don't want on this laptop.
Thanks for any help.The grey disk says OS 10.6...... i tried it as well as the SL disk with the C pressed....... what happens is that it directs you to agree etc and then asks where you want it installed..... the icon of the computer HD however has the yellow exclammation sign saying I cannot start from that disk.
My super drive is working.......
Since I need to get to Quicken for taxes etc what I have done presently is formatted a LaCie rugged drive, partitioned it and when I attach that drive to the MBP and start up again I was able to install on the external drive....I am presently downloading the combo upgrade that will take me to 10.6.8
I still don't understand why it wont instal on the MBP I i know you cannot go earlier than what the machine shipped with but since this is 10.6 it should.I have a Mac Pro with one internal drive running 10.9.2 and the other 10.6.8 and I'd select the earlier system to start when I wanted to do my finances. I have upgraded to an iMac and hence cannot use that for acessing the earlier system
Interestingly, I partitioned another LaCie drive and was able when running 10.6.8 on Mac Pro to install on the external drive...... however when selecting that ext. HD for starting it never did restart with it , always restartd using the 10.9.2 system that was actiually on the other disc. -
Itunes quite working on home computer. Now trying to re-install. It says serivce Apple Mobil Device failed to start?
Hello home computer problem,
The following article provides steps that can help sort the Apple Mobile Device service.
How to restart the Apple Mobile Device Service (AMDS) on Windows
http://support.apple.com/kb/TS1567
Cheers,
Allen -
KeyAgent and the Mac HAL services failing to start at boot camp install
After installing windows 7 x64 with boot camp on my 2008 macbook pro, I went to install bootcamp with my leopard disc, and it wouldnt install properly. At the end KeyAgent and the Mac HALservices failed to start. Then when the computer restarted after install, the computer still acts like boot camp wasnt installed
After installing windows 7 x64 with boot camp on my 2008 macbook pro, I went to install bootcamp with my leopard disc, and it wouldnt install properly. At the end KeyAgent and the Mac HALservices failed to start. Then when the computer restarted after install, the computer still acts like boot camp wasnt installed
-
Connected ipad to win7 computer to upgrade os as I needed to download an app. Says it has latest version but it did not install correctly. Ipad says hello,asks for language and location,wi-fi then options are set up as new ipad,restore from icloud or itunes backup. I think I have managed to backup over my good backup and lost everything. Ipad will not boot HELP
Hello RodneySmart,
Thanks for using Apple Support Communities.
From what I understand about your issues is that your iPad will currently not turn on. In attempt to resolve this issue please follow the steps in order below:
Resolution
If a single application is not responding or stops responding when it opens, you can force it to close.
If the device is unresponsive or if certain controls aren't working as expected, restart your device.
If the device remains unresponsive or does not turn on (or power on), reset your device.
If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
Let it charge for at least twenty minutes, then see if it starts normally.
If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
Connect the device to your computer and open iTunes.
If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
If the above steps do not resolve the issue, contact Apple.
iOS: Not responding or does not turn on
http://support.apple.com/kb/TS3281
Take care,
Alex H. -
Java 1.5.09/10 Java Applet on Vista - starts but never downloads files
We are attempting to test a java 1.5.07 compiled and signed Java applet with Windows Vista (from MSDN).
Logged in as an administrator on the client PC, we installed the 1.5.09 and the 1.5.10 JRE on the client.
We then changed the html of the applet page to specifiy the new plugin version so it matched the JRE installed on the client.
When we start up IE7, point to our HTML applet page, and attempt to download (cache) our applet, the default Java plugin graphic with the progress bar onthe bottom shows up, but no progress is ever made.
Taking a look at the Java console with full debugging turned on, we don't see any activity. When I dumped the classloader list, it only shows the codebase string, but no classes are actually loaded.
I thought that maybe a popup window (asking to verify the certificate) might have popped up and was hidden by another window, but that's not the case. It never appears.
Does anyone have any thoughts or suggestions? I can certainly attempt to capture more debug if someone can point me in the right direction!
Thanks!
-MattOk, some more info - and this gets interesting!
The server is located in a DMZ here at work. (We have offshore teams in russia who are developing and testing code)
It seems to be an issue with the internal firewall/DMZ here at work.
We moved the codebase to a machine that is locally located (not in a DMZ) and presto, the applet begins to download.
When I find out more information, I'll post in case anyone else comes across a similar concern/issue. It may be the firewall/router vendor?!?
-Matt -
OPMN failed to start (but it seems running) during setup
I got a warning during setup of Grid Control on new database )10g rel 2 (Linux).
I tried to set on contnue and after setup OPMN starts (as during setup) but ./emctl
start oms fails with unexpected error.
Any suggestion?
Thanks
FabioHi...
I have the same problem.
listener for db10g is started
I set LD_LIBRARY_PATH to lib dirs with libmodapi.so and others and made
"opmnctl startall" succefull
I can connect to EM on 7777, 4489 ports
no any messages in <oms10g_home>/ompn/log don't tell me anything about problems, <oms10g_home>/sysman/log is empty
emctl start oms failed with unespected error :((((
what exactly I have to see on emoms.properties?
OEM 10.2.0.1 on SLES 10 -
Failed to start HTTP server while installing companion CD
Hi all,
I am installing apex 3.1.2 (though it is old version, clients are still using it :) ), on the oracle 10.2.1 database. I am installing HTTP servers from the companion CD and getting error while starting HTTP server from the configuration assistant. I am getting following error.
==================================
Configuration assistant "Starting HTTP Server" failed
The "/u01/app/oracle/product/10.2.0/OHS/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
===============================
Can someone help me to resolve this issue please. Thanks.
SHYwhat you get if you do
envThis is what I got:
[cder@localhost ~]$ env
SSH_AGENT_PID=2451
HOSTNAME=localhost.localdomain
DESKTOP_STARTUP_ID=
SHELL=/bin/bash
TERM=xterm
ORACLE_OEM_JAVARUNTIME=/opt/jre1.3.1_19
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/cder/.gtkrc-1.2-gnome2
WINDOWID=46156483
USER=cder
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
ORACLE_SID=abc
GNOME_KEYRING_SOCKET=/tmp/keyring-TXq65G/socket
ORACLE_BASE=/opt/cder
SSH_AUTH_SOCK=/tmp/ssh-jIzDib2410/agent.2410
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/2410
MAIL=/var/spool/mail/cder
DESKTOP_SESSION=default
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/cder/bin:/opt/cder/920/bin
GDM_XSERVER_LOCATION=local
INPUTRC=/etc/inputrc
PWD=/home/cder
LANG=en_US.UTF-8
GDMSESSION=default
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HOME=/home/cder
SHLVL=2
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=cder
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tUjeCInKxU,guid=10799645c34fdd03d15a0eb6d3376100
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
ORACLE_HOME=/opt/cder/920
G_BROKEN_FILENAMES=1
COLORTERM=gnome-terminal
XAUTHORITY=/home/cder/.Xauthority
_=/usr/bin/env -
Hi i have been having problems downloading new things into my computer.! its a pavillion dv6-2057cl! ive had it since november and it has always downloaded fast but in the last few wks it just wont download or it takes hours!!!!! what is the problem pls help! im getting really frustrated!!
PLEASE HELP
THANKS
KeelaThe installation runs smootly until there are 3 bars to go during Registering Modules
the best place to start with that one is with the following document:
iTunes 7 or later for Windows Installation stops responding while "registering modules"
... but if no joy there, and you have SpyCatcher installed on the PC, try uninstalling SpyCatcher altogether prior to an itunes install. if the install goes through properly, you can then reinstall SpyCatcher. -
My iPod shows up, but doesn't install correctly. Help?
Alright,
2 days ago I could plug my iPod (5th Generation iPod video, 30gig) into my PC and it would work just fine. Now when I plug it in it won't work. So I tried uninstalling it and then reinstalling it, now in the hardware monitor it shows up with a little yellow exclimation mark next to it and it won't show up in iTunes at all and it won't charge. When I plug it into my PowerBook I get the same result, won't show up in iTunes and won't charge. However, when I plug it into my clock radio's dock it charges no problem.
Any help? I just bought the Rocco DeLuca CD and I want to listen to it!
Thanks for the help.The yellow exclamation is a sign that your driver has gotten lost somehow. I would uninstall and then reinstall iTunes as it has all the software/drivers that's needed. Just my 2 cents, but if it were me, I would download a fresh/updated copy of iTunes from Apples site.
-
Java plugin doesn't work, even though it's installed correctly and java programs work.
As stated. I have a link in ~/.mozilla/plugin that points to test/jre/plugin/i386/ns7/libjavaplugin_oji.so, which is the java 6 update 21 runtime environment.
Java doesn't show in about:plugins, and java applets don't start (firefox suggests to install missing plugins).
Java programs using the jre outside the browser work.
This is on Linux 32-bits, Slackware 13.0, kernel 2.6.34.<blockquote>As stated. I have a link in ~/.mozilla/plugin that points to test/jre/plugin/i386/ns7/libjavaplugin_oji.so, which is the java 6 update 21 runtime environment.
</blockquote>
Where did you read that?<br />
See http://kb.mozillazine.org/Java<br />
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
http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html
<pre><nowiki>ln -s /usr/local/java/jre1.6.0_20/lib/i386/libnpjp2.so libnpjp2.so
ln -s /usr/lib/jvm/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so (java-1_6_0-sun-plugin)
</nowiki></pre>
Maybe you are looking for
-
A Choir Query: from FinalePM to LogicXP (and back)
The Challenge: A Mac-based filmmaker/video editor anxiously seeks advice from experienced users of Finale and Logic Express who know the inner mysteries of MIDI (and may also be proficient with GarageBand). In a nutshell, I'm struggling to understand
-
It used to be that i could make changes such as sorting of folder bookmark listings in "organize bookmarks" and they would occur immediately in my Firefox browser. Now, for some reason, every time i make these changes in the Organize Bookmarks screen
-
[nQSError: 14065] Illegal cross join within the same dimension
Hey guys, I'm stumped. I have two dimension tables that are joined 1:N (there is NOT an M:N relationship between them) and I have them joined in the Physical Layer and the Business Model and Mapping Layer. The two tables are F4101 (the "1") and F4102
-
Boundary line around image.
Hello Does anyone know if it is possible to make a boundary line all the way around the outside of a design ? I know this is possible in CorelDraw. I have tried Offset path in ai, but it seems to offset all lines, including the internal lines inside
-
Bootcamp Assistant... Trying to Install and STUCK
Please help!!!! I spent half of the day today trying to install windows via bootcamp on my mac and am completely stuck. I have gotten no where. I have a iMac 27 inch late 2013 with 3.2 GHz Intel Core i5, 8 GB memory, 10.10.2 Yosemite. I’ve got more