Can't get java to initiate applet, or even run, please help

I need help, please. Need java to do some organic chem work, and I can't get it to work. I have Java 2 runtime SE - 1.4.1_05, virtual machine 1.4.1_05-b01, and plug-in the same as J2SE. The Web Start file was corrupted when it downloaded, so I removed it from the Add/Remove in control panel. I'm running windows 2000 Pro, I'm not a computer expert (means I need explicit instructions), I'm a vet student trying to do my homework, and study for exams. Any reply here will be very appreciated, or to my e mail [email protected] Thank you, Cindy

There are plenty of people here that can and will help, but you need to tell us what the problem is (details, error messages, code samples, etc)
Here's a general blurb, post back it it doesn't help.
This may duplicate some of what you've already done, if so fine. But please verify you've done exactly what is written or know why you shouldn't before proceeding. You may want to print these instructions before continuing.
Also note that this applies to the currrent java version installed on "standard" windows systems, only.
To download the current version of Java, go here:
http://java.sun.com/j2se/1.4.2/download.html
and click on the word DOWNLOAD in the column labeled SDK in this line: Windows Offline installation (info)
After downloading, click on this page of installation instructions and read through #6:
http://java.sun.com/j2se/1.4.2/install-windows.html
Install the software according to the preceeding instructions. If you encounter
problems, see the section "Troubleshooting the Installation" in the installation instructions.
Below is a Helloworld program, copy and paste it into your editor and save it as "HelloWorld.java" Use capitalization, Java is case-sensitive. If you're using Notepad, quote the name when saving, otherwise Notepad adds ".txt" to the name. Go to DOS/command window and check that you've got the file where you want it and that it's named correctly.
-------save this program as HelloWorld.java--------
public class HelloWorld {
public static void main (String[] args) {
System.out.println("Hello World!");
In the same directory as HelloWorld.java, enter "javac" - the program should print out a list of options, if not, set your PATH - see below.
In the same directory as HelloWorld.java, enter "javac HelloWorld.java" and the javac compiler will create HelloWorld.class. If it was successful it will not give any messages. Check that the file is created.
In the same directory as HelloWorld.java, enter "java -classpath . HelloWorld" with the spaces and the period. The program will run. If it doesn't, recheck that you followed the instructions.
Here is additional information:
The Windows path is a set of pointers that Windows uses to locate programs that you execute, like javac.exe and java.exe. This setting is explained here:
http://java.sun.com/j2se/1.4.2/install-windows.html - 5. Update the PATH variable
(you should have already done this as part of the Java installation)
The CLASSPATH is another set of pointers that is used by Java to find the files that you create and want compiled and/or run. This setting is explained here:
Setting the Classpath:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
[NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
How Classes are Found:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html
Examples:
This is my path
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.2_01\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
This is my classpath
CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\NetRexx\NrxRedBk

Similar Messages

  • Why are songs/albums deleted off of the iTunes store? How can I get them back on the iTunes store? PLEASE help. Thank you.

    Why are songs/albums deleted off of the iTunes store? How can I get them back on the iTunes store? PLEASE help. Thank you.

    Perhaps the copyright holders chose to remove them. What album were you after?
    tt2

  • Can't get macbook past spinning ball at start up.PLEASE HELP

    "Can't get Macbook past spinning ball at startup. PLEASE HELP"
    Older mac book with (??  10.5....  ??) Froze up. Force Quit "Kindle", "Sketch up" and "Safari". Have tried to use safe boot but after 5 min. of holding shift key the SBOD (Spinning Beachball Of Death) was still spinning away. Tried to load Mountain lion by means of disc---Didnt have original disc for this macbook; inherited it from deceased family member 2 yrs ago--- but couldn't get past SBOD there either. I am willing to erase all on mac book in order to get it up and running again since all my vital files are in my Mac (desktop) and primary use of macbook tends to be internet use.

    You could try installing Snow Leopard on the Macbook. Installation DVD is available from Apple:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Are you sure the MB meets the requirements for Mountain Lion?
    http://support.apple.com/kb/ht5444

  • Can't get java runtime, and applets, running inside Firefox 11.

    I have gone to my Windows 7 control panel and enabled java for the mozilla family,
    which implies the web browser I use, Firefox 11 at the moment.
    I have gone to Firefox/Tools/Add-Ons/Plugins and have enabled the
    Java Deployment Kit 6.0.250.3
    However, when I go to the Oracle Java test page
    http://www.java.com/en/download/testjava.jsp
    It can't detect java working in my web browser.
    The install missing plugins button appears in the top right,
    and while it downloads java, it consistently fails here stating
    that I have the option to install manualy (which I have successfully done already).
    I have the java 6 download manager working, however I can't run applets embedded in the web browser.
    Please, how do I get my java working in firefox for my applets?

    Zachary1234 wrote:
    Yes, 32 bit java and a 32 bit web browser seem to be the only working answer for applets,
    even in windows 7 (and adherence to the firefox browser).No, its not. Its exactly as I said, not what you make of it. If you have a 64 bits firefox, install a 64 bits runtime.
    Let me put it differently: applets work just fine on my 64 bits Windows 7 under a 64 bits Firefox 11 with a 64 bits runtime.

  • Can't get the arrangement I want in JPanel. Please Help!

    Hi all,
    I'm using a GridBagLayout to position several JLabels, JTextFields and JButtons...with the JLabels and it's respective JTextFields side by side and the JButtons at the bottom in a straight column.
    Thing is, no matter how I change the GridBagConstraints, the whole thing will still spread out to cover all the space available which is not what I want...is there a way to go about this using GridBagLayout??
    I've read about how you use the GridBagLayout in the Java doc but still unsure how the weightx and weighty works...suspect they might be the key to getting the result I want but so far no luck....
    can anyone please help? Thanks a lot :D

    hi yuhijen,
    when i replied to u last time, i ddin't explore the capabilities of the weightx or weighty fields of the GridBagConstraints!!
    so i'm sending u a code that'll give u exactly what u had wanted!! :-)
    import java.awt.*;
    import java.applet.*;
    /* <applet code="trialGridBL" width="500" height="400"></applet> */
    public class trialGridBL extends Applet{
         GridBagConstraints gbc;
         GridBagLayout gbl;
         Label L1,L2,Blank1,Blank2,Blank3;
         TextField T1,T2;
         Button B1,B2;
         public void init(){
              L1=new Label("Name");
              L2=new Label("Password");
              Blank1=new Label("");
              Blank2=new Label("");
              Blank3=new Label("");     
              T1=new TextField(15);
              T2=new TextField(15);
              B1=new Button("Submit");
              B2=new Button("Reset");
              gbc=new GridBagConstraints();
              gbl=new GridBagLayout();
              gbc.gridy=0;
              gbc.anchor=GridBagConstraints.WEST;
              gbc.weightx=1;
              gbl.setConstraints(L1,gbc);
              gbl.setConstraints(T1,gbc);
              gbl.setConstraints(Blank1,gbc);
              gbl.setConstraints(Blank2,gbc);
              gbc.gridwidth=GridBagConstraints.REMAINDER;
              gbl.setConstraints(Blank3,gbc);     
              gbc.gridy=1;
              gbc.gridwidth=1;
              gbl.setConstraints(L2,gbc);
              gbc.gridwidth=GridBagConstraints.REMAINDER;
              gbl.setConstraints(T2,gbc);
              gbc.gridy=2;
              gbc.weighty=5;
              gbc.anchor=GridBagConstraints.NORTHWEST;
              gbc.gridwidth=1;
              gbl.setConstraints(B1,gbc);
              gbc.gridwidth=GridBagConstraints.REMAINDER;
              gbl.setConstraints(B2,gbc);
              // now set the layout for the contentPane (by default its BorderLayout)
              setLayout(gbl);
              // finally add the components
              L1.setBackground(Color.orange);
              add(L1);
              add(T1);
              add(Blank1);
              add(Blank2);
              add(Blank3);
              add(L2);
              add(T2);
              add(B1);
              add(B2);
    this is for awt, u just change it for swings.
    rgds,
    JP

  • I can't get my email since upgrading to ios5. Please help.

    I can't get email on my iPhone, iPad and iMac since upgrading to iOS 5. I can send emails, but can't receive incoming mail.

    Ok... I just tried connecting my iPod directly to a USB port on the computer rather than via the USB hub I was using and everything is fine. Odd, but I'm happy now.
    Thanks,
    Evan

  • I was on windows 7 but changed to vista when i sync my iphone i lost all my photos music and apps can i get them back any how???please help me

    i was on windows 7 and i had to format my computer i put windows vista on and when i downloaded itunes and sync my iphone i lost all my photos music and apps that was on my phone,my itunes account says i have got to accounts on two computers?? is there anyway i can get anything back? please help me. i have tried restore to back up but it is the same????

    If they really meant that much to you, they would have been copied off to a computer at the earliest possible opportunity.
    I personally find it amazing that people get so upset when pictures "accidentally" get deleted and then scream about how important they are.  You wouldn't leave important paper work lying around to be lost/damaged/stolen, so why take a chance with important pictures on a device that can so easily be lost/damaged/stolen, or deleted by a child.

  • Can't get past "Find My iPod" set-up screen, please help :(

    Hi, so I just bought an iPod Touch, to replace my old iPod Nano. I downloaded the latest iTunes, plugged in my iPod, clicked on the iPod's icon in the bar on the left, did the register thing... then it came up with a completely unformatted block of text which looks like this:
    "Free Find My iPhone
    Free Find My iPad
    Free Find My iPod touch
    Set up Find My iPhone for free so you can locate your device if you lose it, remotely lock the screen, or wipe its data. You can also find your iPad or iPod touch.Set up Find My iPad for free so you can locate your device if you lose it, remotely lock the screen, or wipe its data. You can also find your iPhone or iPod touch.Set up Find My iPod touch for free so you can locate your device if you lose it, remotely lock the screen, or wipe its data. You can also find your iPhone or iPad. Learn More
    Not Now
    Set up Find My iPhone
    Set up Find My iPad
    Set up Find My iPod touch
    Find My iPhone (or iPad or iPod touch) enables you to locate your iPad with Wi-Fi or iPod touch only when it is on and connected to a registered Wi-Fi network. Find My iPhone is not available in all countries."
    This was in the iTunes window. There were hyperlinks (or whatever the in-application equivalent is) on "Learn More", "Not Now", and "Set up Find My iPhone
    Set up Find My iPad
    Set up Find My iPod touch"
    When I click on any of the links, nothing happens I can't get past this screen to sync my iPod. Please help!
    When I right-clicked on the "Not Now" link and then clicked "copy link", this is what it copies: javascript:gotoNextStep();
    Don't know if that helps at all.
    I go through a lot of firewalls that aren't under my control (I use a high school's internet to cut a long story short) if that is relevant.

    Garygargar is spot on.  Just unplugged my network cable and relaunched Itunes.  Got past that FindMe screen, plugged the cable back in, wait 10 seconds,  and on my way.
    I love it when the first google search result is the actual fix for something!
    -BS

  • Can't get videos from my documents to Itunes! Please help!

    I've tried doing file import and it doesn't show up in Itunes. I've also tried dragging the file from my documents to itunes but that doesn't work either. The ipod I'm using is an 80g ipod video, thought I'd include that. Not sure what else I can try if someone could please help me I'd really appreciate it.
    Thanks!!

    What format are your videos on? They need to be Quick Time to go into iTunes to be played, and MPEG4 to be able to transfer to the iPod.
    I don't import the files, I use File and Add File to Library - try that.

  • Can't get songs back on my I pod. PLEASE HELP

    Right, I lost all the songs off my Ipod the other day! I have reset it to factory settings and have all the newest updates and when I plug the Ipod in it says it's updating but the songs dont go on it. When I go into music, it is blank. what the F**K is going on. Please help!!!!!

    Profanity gets you nowhere here.
    Connect your iPod to your computer. When it appears in iTunes go to edit-->preferences and click the iPod tab. Click the music tab under that. Click the bubble next to automatically update all songs and playlists and click OK.
    If the iPod is set to automatically update and is showing that it is transferring all of your songs but they are not on your iPod, see this...
    Strange iPod Behavior
    btabz

  • Video_TS folder error! can't get a quality burn for my DVD! please Help

    I am currently working on a project in DVDSP 3. i have had problems with the computer freezing while trying to burn my DVD. If the computer didnt freeze while burning the Log (while going through the process) would bring up 2 error signs. One was: "The Video_TS folder will not be included in the final disc." And directly after that it would say: "the VOB_DATA.LAY file will not be included in the final disc. The burn was successful but when i viewed it the quality of the image was fuzzy and not up to par with previous burns.
    I found out i had a bad hard-drive. So i replaced it. re-formatted my hard-drive and re-installed all my applications (i.e FCP, DVDSP). I re-compressed all my movies and re-created the entire DVD menu. But the problem still persists!
    Please HELP!

    When i am about to burn my project should i choose simply "burn" or "build/format" ?
    Either one will create a folder on your harddrive with the TS Folders AND burn.
    These warnings signify nothing. They're just to inform you that the certain files used by DVDSP to "contact" your initial build folder won't be included in your TS folders.
    I can't figure out why Apple states these warnings - they do nothing but scare people

  • Can't get iSight to connect for chats.. Please Help!

    Good afternoon.
    I have tried everything I can (the links, suggestions, etc.) to get my iSight to work for chats but so far have not had any luck. I’m looking for some help from the experts again.
    OK… here’s my configuration:
    Mac Mini 1.25 with 512 meg RAM.
    Minimate External 160GB hard drive
    20” Apple Cinema Display
    iSight connected to firewire on back of ACD (has been connected in other firewire ports with same results)
    When I turn on the iSight it starts iChat and iChat informs that I have logged on. If I open a preview window I can see myself. It’s when I try to connect to the Apple test sites (or anyone for that matter) I get nothing. I see me in the preview window and it just sits and sits, trying to connect.
    I have Delicious Library and the iSight works great with that, scanning in the barcodes of my movies, books, etc.
    I’d like to get it to work with chat, but so far, as I said previously, nothing I’ve tried is working.
    Any guidance, suggestions, help, would be greatly appreciated.
    Thanks for the help.

    Hello wyzard,
    You are posting in iSight rather than iChat AV Discussions. Have you tested your iSight using the How To Ensure Your iSight Is Functional FAQ? Does iChat AV work with a different camera (other than your iSight)?
    By "everything", do you include
    b ALL
    relevant iChat AV Frequently Asked Questions (FAQ) and the iSight Tips and FAQ?
    If so, I am surprised that your are still using Delicious Library. I do not use it, but D/L is one app that has been reported by several, but not all, users to cause software conflicts with iChat AV. You might try uninstalling D/L, disconnecting your MiniMate and
    b ALL
    other third party peripherals, and running wired via Ethernet cable directly from your Modem to your Mac until you get iChat AV working properly.
    These, and other suggestions, along with a link to Apple's iChat tutorial are in Using iSight with iChat AV. If you have not already tried them, see if the suggestions there help you.
    Then try every the trouble shooting suggestion that applies to your system from Help for iChat AV 3 Problems.
    If you cannot get even TEXT chat to work, post back with as much as you can of the relevant information requested in the When do I Post a New iChat Topic ? FAQ. Sometimes just the act of gathering this information will lead you to the fix for your problem. If not, we will be happy to try to give more definitive answers based on your complete information.

  • How can I get rid of weird stuff going on? Please help!

    Please some one help. Or re-direct me to a web site that can help.
    I installed 10.5.1 on my G4 Powerbook 1.67 Mhz from OS 10.3.9
    The first thing that went wrong was that the Sound application got grayed out after the restart. The mute button in the Preferences was clicked but grayed out. So I installed again like before. So it worked.
    So next I put one of my folders I kept always on the Desktop, where I had saved over the years pictures and things of interest, to have a fast access. I put this folder in to the Dock and tested it and the folder expanded and showed all the files in stack mode or grid. That is the last time I saw the Folder working in the Dock. Next the Icon showed a ? (question mark) that meant the original could not be accessed. Well even though I new the Folder name for sure and searched it, it just had disappeared.
    So next I went to Starbucks since I don't have DSL and Downloaded the upgrade to 10.5.2 than I went home. And just for the **** of it checked for new upgrades on my Dial-Up connection to find 4 new upgrades.(Safari 3.1, Leopard Graphic, Time Machine and Airport and Security 2008_002) Since it takes hours to download with my dial up connection I just choose to Download the Time Machine and Airport Update of 10.2 MB. It downloaded and up came the window that the new software needs a restart. So I clicked restart up comes a window that says "Installing 1 item". I had changed my Desktop image earlier but when the "Installing 1 item" window came up it changed back to the back ground that you first see on your desktop after installation. The cloud burst in purple??/
    In the "Install 1 item" window the status bar started moving for about 1 inch saying "Configuring Installation" and than stopped. And that was it. I waited for about 45 minutes and since nothing happened and I had no options I had to hold the start button down to shut down. Now after a deal like this I run always Utilities to repair the Permissions. That program is totally out of whack. It stops shortly after you click Repair Permissions and says something like "Repairing Permission Estimated time less than a minute". Well it takes about 10 minutes, than the status bar moves a bit and it says "Estimated time 39 minutes and than immediately counts down (like seconds) to 0 and says that the permissions are repaired. I also see and old blank disk entry that I had ejected earlier that still shows up in the left pane of the Utilities window.When I click on it the Utilities window moves from the First Aid tab to the next tab thats called Erase and ask me if I want to erase the DVD. But there is NO DVD in my drive.Now after Disk Utilitie repaired the Permission the following text appears in the window.
    ACL found but not expected on "Applications/Utilities"
    ACL found but not expected on "Application"
    ACL found but not expected on "Library"
    Sometimes there are a few more lines of text like this but this is just showing while I type this.
    So do you have any idea? what's going on. Otherwise everything seems to work alright like CS 2, Mail, Safari, Word and all my other programs. I also had weeded out as good as I could the old left over files and apps from OS 9 (classic)
    Any help would surely be great. Sincerely Volker and thanks for reading this long request.

    There's a lot there, so I'll start with the parts I can answer quickly.
    The "ACL found but not expected..." messages can be safely ignored, so says this article
    http://docs.info.apple.com/article.html?artnum=306925
    (look below all the "SUID" examples)
    I had changed my Desktop image earlier but when the "Installing 1 item" window came up it changed back to the back ground that you first see on your desktop after installation.
    Leopard installs updates a bit differently. If it's simply an application that does not change system files, it installs them like before, without having to restart. If the update is to the system, then you must immediately "restart," It then goes to that stars and purple screen to perform the installation. Before, it would do the installation while you still had control of the Mac and would prompt you to restart when it finished the installation. This change probably make things more secure and reliable, because you aren't allowed to do other things on the Mac while system updates are being installed.
    Please post back with the remaining point of concern.

  • Can't Get Movies to Play!!!! Please Help!!!!

    I received a 32GB iPod Touch yesterday as a gift. I also recently bought the movie The Hangover and downloaded the Digital Copy into iTunes. I can watch the movie in iTunes, but it will not play on my iPod Touch. It shows that it is on my iPod Touch, but when I click on it, it says "The movie could not be played". I was wondering if anyone knew what was wrong or if you are having the same problem? Everything else on my iPod is working great! Also, i synced the movies to my old iPod and the movies work (My battery just does not last long at all on my old one.) I have a 14 hour flight Thursday morning so I would really appreciate being able to watch movies and having something to do haha! Thanks for the help!

    Didn't you just ask this same question a half hour ago?
    You do not need to keep posting the same question. Your fellow ipod answer as their time and ability to help allow.

  • Can't Get Rid of Pop-Up at Login. Please Help!!

    I downloaded a demo of NTFS for Mac By Paragon Software. After the demo expired I keep getting a pop-up after I login. I uninstalled the program but still get the pop-up letting me know the demo expired. I have no idea where it is hidden on my computer. I have not been able to find it using spotlight or finder. Any help would be appreciated.
    James

    Use Firefox. It's pop-up blocker is rocksolid.
    I have not seen an ad on the Internet in years.

Maybe you are looking for

  • Report Generation Toolkit labview 2013 64bits?

    Muy buenas tardes. Estoy buscando el Report Generation Toolkit para labview 2013 64bits, lo he buscado pero no logro encontrarlo y con este mismo pero de 32 bits me marca error al instalarlo.

  • Help my macbook pro crashes

    This has happend about 5 times now. Crashes happend while I was playing Modern warfare or turning my macbook on or just randomly while I was reserching stuff for school.

  • With the Yahoo Firefox version -- 16.0.2 -- how do I delete a folder, empty or with items in it?

    I'm able to delete book mark items within a folder, but unable to delete an entire folder with items in it, or an empty folder. It appears that this version is too recent for any of the previous help items to be of any assistance. My Mac Desktop oper

  • The problem related with the nokai software update

    hello friends, i am using nokia7230, 3 days before i updated my cell phone with nokia software updater, the version changed from V 6.9 to V9.83, i was happy to see my cell geting updated, but the moment it finished, there nothin else left with me oth

  • Skype won't open!!!

    So this must have been posted thousands of times, and trust me, I've looked over the forums with no success Firstly I am running the most recent version of IE (accordingto AVAST) Seccondly I have tried reinstalling it useing many methord many times w