I cant find a simple answer to this question.

I get this stupid error when running an applet:
java.lang.NoClassDefFoundError: website (wrong name: website/website)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:403)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$1(URLClassLoader.java:216)
at java.net.URLClassLoader$1.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:110)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:363)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
i cant find a simple answer to fixing this, where hav i gone wrong?
Below is me HTML:
<APPLET
CODEBASE = "C:\JBuilder3\myclasses\"
CODE = "website.class"
NAME = "website"
WIDTH = 400
HEIGHT = 300
HSPACE = 0
VSPACE = 0
ALIGN = middle
>
</APPLET>
below is part of me code:
package website;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import javax.swing.*;
public class website extends Applet implements Runnable
Thanks in advance

The simple answer is that by putting your class into the package named "website", the java runtime program looks for a directory called "website", which it is apparently unable to find. Try removing the package statement and recompile.

Similar Messages

  • Need a quick simple answer to this question please

    Hi all,
    Well. Today I'm going be signing a new contract with AT&T because I'm done with T-Mobile. Never have service when I need it!
    I really want to get the iPhone.
    My question is...Do I need to buy an extra package with AT&T to activate the internet and e-mail on the iPhone or can I use it right out of them box???
    I'm asking because I know with all companies you need to add that internet and e-mail package to get access.
    Thanks for the help

    When purchasing an iPhone 3G new, activation with AT&T is required at the store when the iPhone 3G is purchased, and the unlimited data plan for the iPhone 3G is required as part of the activation process.
    The cost is an additional $30/mo over your chosen calling and SMS plan, and is unlimited.
    This is AT&T'a standard unlimited data plan rate for all phones in the smart phone category regardless if such a phone is a 3G phone.

  • Cant find the right forum for this but can i restore my hd from time mch to a year ago and then restore individual files such as logic lprojects that are on same time mchne backup from last week?

    cant find the right forum for this but as i am having problems booting my macbook pro, keep having to reser pram etc and now wont boot at all.....
    aill this theoretically work?
    a. Restore entire macpro hard drive from time machine to a time over a year ago before problems started
    b. Restore more recent individual files such as logic projects individually from same time machine backup
    c. install any programs manually again only couple of vsts
    please answer direct question as i have tried everything else and nonhardware problems just will no longer boot after months of reseting each time
    cheers

    oops.  typo:  "I went ahead and befored the restore."  should be... I went ahead and performed the restore.

  • HT5569 Hi is it possible to install and setup a modem with an iPad only, I would appreciate  an answer to this question thanks

    Hi is it possible to install and setup a modem with an iPad only, I would appreciate  an answer to this question thanks

    The configuration page of my router on Safari (tap to enlarge)
    See IP Adress at the top (center)

  • I cannot use my iTunes account because I do not remember the answers to the security questions. How do I find out the answers to the questions or can I reset the questions

    I cannot use my iTunes account because I do not remember the answers to the security questions. How do I find out the answers to the questions or can I reset the questions? I also do not have a back up email on my account

    Click here for information. If you can't get the answers emailed to you for some reason, contact the iTunes Store staff via the link in that article.
    (75970)

  • HT5312 Every time i try to buy something from the Itunes i cant because i most answer the security question but I don't remember my security question answer help plzzz, note: I can't call the apple support because I live in Saudi Arabi

    Every time i try to buy something from the AppStore  on my iPad or iPhone 4S i cant because i most answer the security question but I don't remember my security question answer, when I try to go change it from my Apple account he ask me the security questions agin and I don't know the answer help plzzz, note: I can't call the apple support because I live in Saudi Arabia

    If you don't see the 'send reset info' button on the page where you can change them then I assume that you don't have a rescue email address (which is not the same thing as an alternate email address) set up on your account. As you won't be able to add one until you can answer 2 of your questions, you will need to contact iTunes Support or Apple to get the questions reset. You could try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then try Apple ID Account Security

  • What is the correct answer is this question is sql ?

    hi .. please i need correct answer in this question ..
    View the Exhibit and examine the structure of the PRODUCTS table.
    Using the PRODUCTS table, you issue the following query to generate the names, current list price, and
    discounted list price for all those products whose list price falls below $10 after a discount of 25% is applied
    on it.
    SQL>SELECT prod_name, prod_list_price,
    prod_list_price - (prod_list_price * .25) "DISCOUNTED_PRICE"
    FROM products
    WHERE discounted_price < 10;
    The query generates an error.
    What is the reason for the error?
    A-The parenthesis should be added to enclose the entire expression.
    B-The double quotation marks should be removed from the column alias.
    C-The column alias should be replaced with the expression in the WHERE clause.
    D-The column alias should be put in uppercase and enclosed with in double quotation marks in the WHERE clause.

    Hi,
    Have you taken the time to determine what happens when you perform the requested actions?
    If you have access to Oracle Database it should be less than a 10 minute exercise.
    At a minimum, using hosted Oracle Application Express you have access to Oracle Database.
    If you've done it, what were the results? There should be a telling error message.
    Regards,
    Mark

  • View All Answers to this Question

    When viewing answers of a question, when the button 'View All Answers to this Question' was pressed this would display all the answers and comments posted to a question. Since the update to the web site this no longer seems the case. Can you return this function back to displaying all answers and comments.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

    Hi Ray,
    The behavior of the buttons actually have not changed. The button "View All Answers to this Question" appears when you are viewing the comments to an answer. All the other answers to the question are hidden. If you click on the button, you will return back to the default view which displays only the question and all the answers to the question. In the default view, all comments are hidden.
    The button "Show All Comments" appears when you are in the default view. If you click on it, then all the answers and the associated comments are displayed. The button "Hide All Comments" will then return you back to the default view.
    Best Regards,
    Wilbur Shen
    National Instruments

  • I lost my Download Stacks option. Now it is just a Download folder. Need to find out how to get the Download Stacks option back. Previous answers to this question don't make any sense to me. Please help in explicit detail. PS I'm using Mountain Lion.

    Need to know how to get it back to its original Download Stack. Previous answers to this questionin Apple Support just don't make any sense to me. I'd appreciate explicit directions on how to restore this feature. Currently it's just a Download folder... must have accidently poofed it away.
    Help!

    And if what WZZZ suggests doesn't work (and hopefully it will) move the file name below to the desktop, log out or restart and the Dock preferences with its defaults should be recreated. You'll need to re-configure it as you like it:
    com.apple.dock.plist
    It's located: in Finder hold the Alt/Option key and from the Go menu select Library>Preferences.
    If it fixes things, delete the file on your desktop.

  • HT201441 i cant find the person who sold this iphone to me, and now i cant activate it

    i cant find the person who sold my iphone 5 to me
    now i cant activate it because it is still activated to his apple id

    You have no options but to find the previous owner.  The Activation Lock is an Anti-theft protection that cannot be bypassed, not even Apple.  If you cannot find the previous owner, turn it in to the police as it is likely to be stolen property.

  • I can't find a clear answer on this, can the private browsing feature be removed?

    I am not doing this for teenagers. I am doing this for personal accountability and transparency. Please no lectures, I just want a simple answer. Can the private browsing feature be removed? If so, how?

    No it can't be removed.

  • Anyone know how to remove Overdrive books from my iphone that have been transferred from my computer? They do not show up on itunes. I see a lot of answers to this question but they all are based on being able to see the books in iTunes.

    How do I remove Overdrive books from the library that were downloaded onto my computer then transferred to my iphone? The problem is that they do not show up in iTunes.
    I see this question asked a lot when I google, but they always give answers that assumes you can find the books in iTunes either under the books tab, or the audio books tab or in the music. They do not show up anywhere for me. They do not remove from the app like the ones I downloaded directly onto my iphone.the related archived article does not answer it either.  I even asked a guy working at an apple store and he could not help either.   Anybody...?
    Thanks!

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

  • Not getting any straight answers for this question!!!!!

    Hi All,
    This question i've posted before, but i didn't get correct answer. I'm posting it again!!!!!
    I'm very confused about the flow of process.
    right now i'm working on webmethods. I did worked on lots of message types like 850, 810,856,832,940,997 in X12 and also EDIFACT.......for that past 2 1/2 years.
    This question is completely related to SEEBURGER ADAPTER NOT ANY CONVERSION AGENT:
    1.
    when an EDI message comes into XI it will be converted into EDI-XML format bye seeburger adapter. where we get the prototype of EDI message? Do we have a package or namespace in repository from seeburger which gives all EDI prototypes? or we import as an XSD doc from our local system generated by 3rd party tools?
    2.
    Do we write a mapping program(EDI-XML 2 IDOC-XML)  with graphical tool or do we have a tool provided by seeburger to write mapping program? I heard that seeburger provides mapping programs(not those modules which converts standard EDI to XML EDI)  which will convert EDI XML 2 IDOC-XML. is this is true?
    3.
    how do we process EDI file sent by customer? is it ISA level or ST level? because there may be many situations where one ISA has multiple ST's.
    Please explain me if possible with one scenario......i read all the links provided about this question so i need a practical example.........
    Thanks in advance.

    Hi,
    Go thru this might help you
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    Regards
    Agasthuri Doss

  • Yo, Bappers, let's win one for the Geeks with an answer to this question!

    Yo, Bappers -
    My good friend and colleague Ted Smith posted this question in the Document Management forum:
    Hi SAP Consultants,
    We are in the process of linking DMS with BOM.
    While Creating a DIR in CV01n we are unable to link a BOM because when we click the Object links tab it is displaying the following message:
    Object link to STKO_DOC cannot be changed in this transaction
    We also tried on the Other side. We created a BOM and linked a document to that. While opening that Document in CV03N, we are unable to view the linked BOM and gives the error same error.
    Kindly provide the support for the above issues.
    But surprise surprise - he ain't gettin' no help from the suits!
    NADA, ZILCH, NUTTIN !!!
    So would one of you geeks who knows everything a suit is SUPPOSED to know please help the poor suits out here by answering Ted's question ?
    In loving geekship,
    djh

    - Please use proper subject titles...
    - Please do not cross-post...
    - The thread is here => DMS link  BOM object ...
    Thread locked.

  • Can someone please have the answer to this question!!!?!?!?

    i had my ipod for 2 years and its a 2nd generation and i was useing my old computer for itunes..but then i got a new laptop so i downloaded itunes again.i bought songs from itunes for my ipod...and i connected up to my laptop and everything was working but i notices that none of the new songs were on my ipod.i really need help on this question,idk if its the old email address i used or its the laptop itself.but i really hope that someone can help!

    See your other post.
    http://discussions.apple.com/messageview.jspa?messageID=9394213&stqc=true
    (and if you work for apple.com why can't you ask someone at Apple yourself )

Maybe you are looking for

  • Why can't you purchase an audio book on the Itunes store from an Apple TV?

    Apple seems to be moving everything they sell on Itunes to graphics, away from the traditional text based browse function they started with. I don't think they've done the most effective job on that move on a PC/Mac, it's sometimes easier just to go

  • What program should I write?

    I just finished the Sams Teach Yourself JAVA in 21 Days book and after than, I wrote three applications: A text-editor (with super-kung-fu-saving-and-loading-action!), a calculator and a chess program. I'm now looking for ideas for what else to write

  • How well does the iPhone 5s/5c work with Wind Mobile?

    I'm going to be (hopefully) getting the iphone 5s or 5c soon and I'm trying to decide on which carrier to go with. How well does the iphone 5s/5c work with wind mobile and how fast is the internet with data?

  • Can you get and use internet explorer for mac?

    I am wondering If I can obtain and use internet explorer?

  • No Library Panel in Window Menu CC 2014

    I downloaded several CC 2014 programs hoping to use the new library panel. There is no library panel in the window menu for me to select when I try to in both Illustrator and Photoshop. I have CC 2014 programs on my computer at work and the library p