SDK Wont Run Applets

After some tinkering, I have discovered that the problem is not in my program, but in my SDK or my understanding of it. I made a simple "hello world" applet and could not run it after successfully compiling:
[mbondr@localhost tinker]$ cat Tinker.java
package tinker;
import java.awt.*;
import java.applet.*;
public class Tinker extends Applet {
public void paint(Graphics g) {
g.drawString("Yadda Yadda", 20, 20);
[mbondr@localhost tinker]$ javac *.java
[mbondr@localhost tinker]$ appletviewer -debug Tinker.class
Initializing jdb ...
runrun sun.applet.Main Tinker.class
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
>
VM Started:
The application exited
[mbondr@localhost tinker]$
I can't get any applets to run. Is it me? Is it my setup? Should I wipe my hard drive and start over?
Mark

Hi,
The appletviewer expects an URL not a class so you will need to create a simple HTML page with applet/object/embed tags that point to your applet and give the name of the HTML file as the argument to appletviewer.
HTH

Similar Messages

  • Oracle 8.1.7 on RH7.0 Installed fine now wont run at all!

    I was able to install Oracle 8.1.7 on RH 7.0 using this fix... http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/README.Oracle8i
    The database initialized correctly and I was able to setup and connect to the database. I even ran a port scanner and checked memmory...the thing was running! Then after the reboot the database wont run at all. When I type ./oracle it trys to load and then shows "Segmentation fault (core dumped)". When I try ./oracle start nothing is echoed. I tried to copy the lib files
    ld-linux.so.2
    libc-2.1.3.so
    libdl.so
    libpthread.so
    to the $ORACLE_HOME/lib/ dir and followed John Smiley's howto but the relink script doesn't work! Even still I think something else is wrong other than the library. Can someone help?

    Nevermind figured it out:) Like duh, I should read the damn Installation file:?

  • Java wont run at all on safari.

    Hello there,
    I have an issue, on my home computer java runs seamlessly in safari for windows, but here at my office, it just wont run, i downloaded the Sun JRE and installed with Admin priveleges, althought Safari 4 Win includes Apple JRE anyways, it is enabled in my preferences, but whenever i try to use the file manager in Webmin, or any other java applet on the web it just says "Java is Unavailable (SITE) tried to load java content but java is not installed or unavailable, would you like go to a page where you can download java?" and I did it again thinking maybe it required an earlier version, but still nothing. any help anyone can offer me i would be greatly appreciated
    Cheers,
    P.S. Im running WXP Pro, and JREs 6u1, 6u17
    Message was edited by: tyler.paquette

    Hi,
    I wasn't sure if this thread had already been closed or not, but if its still open, I'd like to chime in with some comments of my own, as well.
    I too have been experiencing very similar issues with my edition of Safari for Windows. I am running Windows Vista Basic, and my version of Safari is 4.0.4.
    I followed the instructions you gave to the person who started this thread, and after restarting Safari, I am still receiving the same error I was receiving before. Here is what the error says:
    _+*"Pogo.com games use the Java plug-in. You either do not have Java installed or you have a version that is incompatible with our games. It does not cost you anything to install Java.*+_
    _+*Do you want to install the Java plug-in now?"*+_
    Well, I know for a fact that I have Java installed on this machine, and it has been enabled for use with Safari.
    Here is the version of Java which I have presently installed on my machine. Aside from v. 17, I also have versions 1-7, which all show enabled as well.
    Name Java Plug-in 1.6.0_17
    Publisher Sun Microsystems, Inc.
    Status Enabled
    File date Sunday, October 11, 2009, 4:17 AM
    Version 1.6.0.17
    I have attempted (more times than I can remember) uninstalling and then re-installing Java on this machine, and I am still receiving this same error.
    Can you please help?
    Thanks!

  • I have updated my iTunes to the newest version, 10-25 on a windows XP system. Now my java virtual machine is not working and I need it to run applet window. My Java is also newest version. What can I do to fix/repair my issue?

    I need help with java on windowsXP after updating iTunes to the latest version. My java will not work and I get error message need java virtual machine to run applet window. Did not have this problem prior to the iTunes update.
    Please help, Thanks

    If your library was working on your computer and then popped up empty all of a sudden then this might be what you need...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Dont want to display "Report Successfully Run" applet

    Dear Users....I Dont want to display "Report Successfully Run" applet after my report runs successfully. I'm calling report from Forms-10g Rel.2 and my browser is Internet Explorer ver.6. I'm sending my report directly to printer using Web.Show_Document.If my report is sent to printer successfully there is no need to display browser window with the above mentioned message. Is there any solution for this???

    Code in when-button-pressed
    DECLARE
    V_Usr_Prm Varchar2 (1000);
    BEGIN
    V_Usr_Prm :=
    'FROM_REF_NO='
    || P_FRM_REF_NO
    || '+TO_REF_NO='
    || P_FRM_REF_NO
    || '+P_PRE_BY='
    || P_PRE_BYE
    || '+P_VR_TYPE='
    || P_VOR_TYP
    || '+YEAR1='
    || P_VOR_YER
    || '+MNU_IDE=0'
    || '+P_PRN_FLG=1';
    web_show_document_proc ('HTMLCSS', 'Y:\02\\02\VOR_PRN.REP', V_USR_PRM);
    END;
    Procedure Web_Show_Document_Proc is
    PROCEDURE WEB_SHOW_DOCUMENT_PROC (runformat varchar2,
    reportname varchar2,
    userparameters vARCHAR2)
    IS
    i NUMBER (10);
    v_a VARCHAR2 (10);
    v_b VARCHAR2 (10);
    vc_url VARCHAR2 (1000);
    vc_url_temp VARCHAR2 (1000);
    vc_user_name VARCHAR2 (30) := GET_APPLICATION_PROPERTY (username);
    vc_user_pw VARCHAR2 (30) := GET_APPLICATION_PROPERTY (password);
    vc_user_connect VARCHAR2 (30)
    := GET_APPLICATION_PROPERTY (connect_string) ;
    BEGIN
    vc_url :=
    'userid='
    || vc_user_name
    || '/'
    || vc_user_pw
    || '@'
    || vc_user_connect;
    FOR i IN 1 .. LENGTH (vc_url)
    LOOP
    v_a := LTRIM (TO_CHAR (TRUNC (ASCII (SUBSTR (vc_url, i, 1)) / 16)));
    IF v_a = '10'
    THEN
    v_a := 'A';
    ELSIF v_a = '11'
    THEN
    v_a := 'B';
    ELSIF v_a = '12'
    THEN
    v_a := 'C';
    ELSIF v_a = '13'
    THEN
    v_a := 'D';
    ELSIF v_a = '14'
    THEN
    v_a := 'E';
    ELSIF v_a = '15'
    THEN
    v_a := 'F';
    END IF;
    v_b := LTRIM (TO_CHAR (MOD (ASCII (SUBSTR (vc_url, i, 1)), 16)));
    IF v_b = '10'
    THEN
    v_b := 'A';
    ELSIF v_b = '11'
    THEN
    v_b := 'B';
    ELSIF v_b = '12'
    THEN
    v_b := 'C';
    ELSIF v_b = '13'
    THEN
    v_b := 'D';
    ELSIF v_b = '14'
    THEN
    v_b := 'E';
    ELSIF v_b = '15'
    THEN
    v_b := 'F';
    END IF;
    vc_url_temp := vc_url_temp || '%' || v_a || v_b;
    END LOOP;
    vc_url :=
    '/reports/rwservlet?server=rep_appsrv_frhome1+'
    || vc_url_temp
    || '+report='
    || reportname
    || '+destype=Printer+desformat='
    || runformat
    || '+paramform=No+'
    || userparameters;
    WEB.SHOW_DOCUMENT (vc_url, '_blank');
    END;

  • With icloud set up on my 4GS I deleted photos from camera roll. I run an older PPC G5 with Lion which wont run icloud. Can I transfer pics from i stream to camera roll to allow a non-icloud back up to my PPC? Precious photos are close to 30 day cut-off

    With i cloud set up on my 4GS I deleted photos from Camera Roll to make space knowing I would have them backed up on icloud via Photo Stream. I now find that my older PPC G5 with Lion which wont run icloud. I have an ipad3 too, which of course does. I want to copy photos from Photo Stream back to Camera Roll on the phone so that I can back up "old school" to iphoto on my ancient mac. The controls seem to suggest that as an option but when I select multiple photos in Photo Stream and select "Save to Camera Roll" the photos do not appear on Camera Roll as expected. I am running close to the 30 day limit and do not want to lose hundreds of precious photos (or have to email them to myself individually). Can the ipad3 help at all? Any ideas good people? Dan

    If only it were that easy Winston. I connect with a USB cable, iphoto opens and I can only see the photos in Camera Roll, not Photo Stream. There does not seem to be a way of aceessing other files in the phone from iphoto and, as in my initial message, I can not transfer the photos to Camera Roll on the phone. My iphone and ipad software is up to date, but my iphoto is '08 version 7.1.5 with my mac running 10.5.8 which is the best I can do on the PPC without messing everything up.  I dont have the dough for a new mac or I would have gone for that option...am I stuck?

  • Premiere Elements  12 wont run on my laptop

    Hi,
    I have a new laptop and I've just installed  Premiere Elements 12 but it wont run. When I create a new project I see the following message and as you can see there are no clues to what causing the issue. Organiser works fine.
    I've run a windows update, installed the latest graphic and sound drivers, I've reloaded but nothing works.
    OS Name
    Microsoft Windows 7 Enterprise
    Version
    6.1.7601 Service Pack 1 Build 7601
    System Type
    x64-based PC
    Processor
    Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Installed Physical Memory (RAM)
    8.00 GB
    Total Physical Memory
    7.90 GB
    Available Physical Memory
    4.45 GB
    Total Virtual Memory
    15.8 GB
    Available Virtual Memory
    10.6 GB
    Page File Space
    7.90 GB
    Page File
    C:\pagefile.sys
    [Sound Device]
    Item
    Value
    Name
    IDT High Definition Audio CODEC
    Manufacturer
    IDT
    Status
    OK
    Driver
    c:\windows\system32\drivers\stwrt64.sys (6.10.6499.0, 539.00 KB (551,936 bytes), 09/07/2014 13:41)
    [Display]
    Name
    Intel(R) HD Graphics Family
    PNP Device ID
    PCI\VEN_8086&DEV_0A16&SUBSYS_198F103C&REV_0B\3&E89B380&0&10
    Adapter Type
    Intel(R) HD Graphics Family, Intel Corporation compatible
    Adapter Description
    Intel(R) HD Graphics Family
    Adapter RAM
    (2,080,374,784) bytes
    Installed Drivers
    igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
    Driver Version
    10.18.10.3540
    I have got local Admin rights and more free hard disk space that I know what to do with.
    Thanks for any help you can offer.

    Spurringirl
    Before we go off the deep edge here, perhaps some clarification.
    What is the brand/model/settings for the Canon camera that you are using?
    I think that Hunt may be being jumping ahead here. Let me explain....
    For example, the Canon SX1 lS generates files with the file name starting with MVI_XXXX.mov. These are AVCHD.mov files 1920 x 1080p30 and have no problems in Premiere Elements 12.
    So, I would ask "In your case, is your MVI the file extension or the beginning of the file name?"
    Thanks.
    ATR

  • Photoshop cs 4 wont run after installation on mac book pro

    I recently brought the adobe design premium package with flash, illustrator, indesign, photoshop etc...
    after installation all other application works but just photoshop, it just wont start at all...
    it will pop up on the deck for a second or two and just disappear. the progra wont run at all. other applications like illustrator, indesign etc... all work just fine but just not photoshop... i dont get it what's wrong. no error or anything. just pop up and then disappear.
    the spec of my macbook pro
    mac osx 10.6.2
    2.53 ghz intel core 2 duo
    4 gb 1067 mhz ddr3

    So have you done the basics?
    Toss the PS folder and run the installer again?
    Run the updater from an app you can open? (this will update all)
    etc...

  • When i do initial set up w creative cloud set uo wont run send error message"installer failed to initialize" why and how can i get pass this

    When I do initial set up with creative cloud set up it wont run a send error message "installer failed to initialize" comes up. Why and how can I get passed this?

    Error "Installer Failed to Initialize" | Install desktop application | Windows

  • HT201210 I disconnected my iPhone in the middle of an iTunes update. Now it wont run properly what do I do?

    I disconnected my iPhone in the middle of an iTunes update. Now it wont run properly what do I do?  I was working online and I recieved a pop up from iTunes stating that there was an harwared update for my iPhone. I had it plugged up for a while , long enoung for me to watch a tv show have dinner and come back.  I thought the update was complete and came back to the computer and unplugged it. The next morning I saw a picture of aUSB cord  and the iTunes icon. I have no use of my phone and cannot get access to emails, internet contacts..nothing . Help !

    Well it should NEVER be unplugged when doing something.
    It actually had not installed the software at that stage, it had been copied over to the iPhone, it was being checked and then it would be installed.
    You need to connect your iPhone to the computer at home and hope that you can install the software again and then restore your backup.
    If you install iTunes at work you may be able to Restore the software but you will most likely lose the content on your iPhone as you do not have a backup to restore on that computer, or all your media / apps.

  • ITunes wont run after update today says missing file msvcr80.dll

    iTunes wont run after update today says missing file msvcr80.dll
    tried to reinstall, nothing changed.

    Check out the user tip below.
    https://discussions.apple.com/docs/DOC-6562

  • TS1717 data executiion prevention keeps closing my itunes,but itunes wont run without it.help !

    data execution protection keeps closing my itunes on my sony vaio.also get the messge c:\windows\system32softpub.dll.tried turning of the DEP but itunes wont run without it.no problems with any other programs.any thoughts

    Taken at face value, you're having trouble with a Windows operating system file there.
    Perhaps try an sfc /scannow. For instructions, see the following Microsoft document:
    How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

  • New itunes wont run in windows 7 64 bit even after full uninstall and reinstall

    after the new itunes 2.2 came out i have been unable to get it to open or run i have fully uninstalled all elements and reinstalled and still it wont run

    it just ask permision to run program then
    ... that's interesting. Is that one of those User Account Control type messages?
    I'd like to see that screen if possible, stew. Could you take a screenshot of that permission message screen (Hold down Alt and press the PrtSc key), paste it into a Paint document (or similar image editor), and save the file. Then reply here, click the wee camera icon, do a Choose file, browse to the file, click "Open file", then click "Insert Image".

  • I got an old game set up for system 7.5 and my 10.6.8 wont run it.  Is there a download of the older systems that would allow me to play this game?

    Any ideas on how to get this old game working on the newer model computer?  The message I get is that it wont run it "because Classic environment is no longer supported".

    You could look into Sheepshaver which supports older OS versions but I hear can be very tricky to install.  you may also find that a game will not work on it because games often want to control the hardware directly and an OS7 game will have absolutely no idea how to run your computer.  Frequently it is recommended you just buy an old Mac capable of running OS7.
    Even if you had a Classic-capable computer it is still quite possible it would not run an OS7 game. I found many of my OS7 games stopped working even when I ran a computer actually booted to OS9.
    Which game is this?  Some old favorites are being re-released for OSX, e.g. Solarian.
    By the way, it would be better to post this in the correct forum ((probably Snow Leopard) since this forum is intended for questions about how to use this web site.

  • Just reinstalled itunes due to need to fix msvcr80.dll error; now itunes wont run because itunes library.itl cant be read created by newer version itunes.  how do i resolve this ?

    just reinstalled itunes due to need to fix msvcr80.dll error;
    now itunes wont run because itunes library.itl cant be read created by newer version itunes. 
    how do i resolve this ?

    By way of experiment, let's first try specifically choosing a library for iTunes to open.
    Quit iTunes if that error message is showing. Now hold down your Shift key, and then open iTunes. (Keep holding down the shift key while iTunes is opening.)
    You should see a dialog asking you if you want to choose or create a library, as per the following screenshot:
    Click "Choose Library ..."
    You should now see a screen like the following screenshot:
    Select the "iTunes Library.itl" file (shown circled in the screenshot) and click "Open".
    Does your iTunes library open without the error?

Maybe you are looking for