Install problems - help needed desperately for new Java user

I have been trying to install Java SE Development Kit 6 - Version 1.6.0_13. Initially I could not get the javac process to work no matter what I tried. After uninstalling and reinstalling numerous times I now have it so that my javac will rewrite my file from a .java to a .class file. Now when I try to execute my Hello.class file I am getting an error message....
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Can anyone please help me fix this? I was really anxious to learn programming but all of these setbacks are really frustrating. I have basic books to help when I am up and running but nothing helps you with problems with installations.
Please help!!!

Enigmafae wrote:
Thank you so much. Worked like a charm! I also installed from Explorer instead of Firefox. Maybe the Firefox installations were incompatible with my XP Environment????Worked fine for me... but I downloaded and then installed... I did NOT "run" the install over the network.
I don't care I'm just so thrilled it worked. Now I can get to learning the actual programming that I have been trying to get to.
Thx again for your help!I love it when a plan comes together.
~~ Hannibal.

Similar Messages

  • I need to download adobe without installing it I need it for a machine not on the net

    I need to download adobe without installing it I need it for a machine not on the net

    You can try the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/

  • How to install the Oracle ODBC driver for all NT users

    I need to schedule a task on a SQL server running on NT to access an Oracle DB.
    I have installed the Oracle ODBC driver on it and it is working well under my NT account.
    But the SQL scheduler runs on another NT account and the task failed.
    How is it possible to install the Oracle ODBC Driver for all NT users ???
    Thanks for your inputs...

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • Icalentor and  ilife keep asking me about keychain password.when i login.if any one konws how to stop it ?thank you .please  help .i am a new mac user

    icalentor and ilife keep asking me about the keychain password ,wich i don't event know about (login password dosn't work), if any one knows about this ,and how to avoid from that ? thank you ! please help ,.i am a new mac user .

    See if this helps...
    Open Keychain Access in Utilities, use Keychain First Aid under the Keychain Menu item, then either check the Password under that item, change it, or delete it and start over.
    Keychain Access asks for keychain "login" after changing login password...
    http://support.apple.com/kb/HT1631
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544

  • Need ideas for new PJC/Java Beans

    Hello everybody,
    I am always looking for new ideas about the Java Bean and PJC stuff. Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    If you have ideas or needs about this, let me know in this thread.
    (Sorry Oracle staff if I am going beyond my rights by using the Forum for that purpose)
    Francois

    Francois ,
    I think that we all need to thank you for all your hard work promoting Oracle Forms.
    Your input and constant support on this forum is greatly appreciated.
    But I personally think that all this needs to be addressed by Oracle.
    Your wrote
    Sometimes I have good ideas about this, but sometimes it is quite a pain to find something new and innovative.
    And I agree with you.
    You can go as far as the Forms let you go...
    Thanks,
    Michael

  • Linked lists problem -- help needed

    Hello again. I've got yet another problem in my C++ course that stems from my use of a Mac instead of Windows. I'm going to install Parallels so I can get Windows on my MacBook and install Visual Studio this week so that I don't have to deal with these discrepancies anymore, but in the meanwhile, I'm having a problem here that I don't know how to resolve. To be clear, I've spent a lot of time trying to work this out myself, so I'm not just throwing this up here to have you guys do the work for me -- I'm really stuck here, and am coming here as a last resort, so I'll be very, very appreciative for any help that anyone can offer.
    In my C++ course, we are on a chapter about linked lists, and the professor has given us a template to make the linked lists work. It comes in three files (a header, a source file, and a main source file). I've made some adjustments -- the original files the professor provided brought up 36 errors and a handful of warnings, but I altered the #include directives and got it down to 2 errors. The problematic part of the code (the part that contains the two errors) is in one of the function definitions, print_list(), in the source file. That function definition is shown below, and I've marked the two statements that have the errors using comments that say exactly what the errors say in my Xcode window under those two statements. If you want to see the entire template, I've pasted the full code from all three files at the bottom of this post, but for now, here is the function definition (in the source file) that contains the part of the code with the errors:
    void LinkedList::printlist( )
    // good for only a few nodes in a list
    if(isEmpty() == 1)
    cout << "No nodes to display" << endl;
    return;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->name; } cout << endl; // error: 'setw' was not declared in this scope
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->test_grade; } cout << endl; // error: 'setw' was not declared in this scope
    As you can see, the problem is with the two statements that contain the 'setw' function. Can anyone help me figure out how to get this template working and get by these two errors? I don't know enough about linked lists to know what I can and can't mess with here to get it working. The professor recommended that I try using 'printf' instead of 'cout' for those two statements, but I don't know how to achieve the same effect (how to do whatever 'setw' does) using 'printf'. Can anyone please help me get this template working? Thank you very, very much.
    For reference, here is the full code from all three files that make up the template:
    linkedlist.h (header file):
    #ifndef LINKED_LINKED_H
    #define LINKED_LINKED_H
    struct NODE
    string name;
    int test_grade;
    NODE * link;
    class Linked_List
    public:
    Linked_List();
    void insert(string n, int score);
    void remove(string target);
    void print_list();
    private:
    bool isEmpty();
    NODE *FRONT_ptr, *REAR_ptr, *CURSOR, *INSERT, *PREVIOUS_ptr;
    #endif
    linkedlist.cpp (source file):
    #include <iostream>
    using namespace std;
    #include "linkedlist.h"
    LinkedList::LinkedList()
    FRONT_ptr = NULL;
    REAR_ptr = NULL;
    PREVIOUS_ptr = NULL;
    CURSOR = NULL;
    void Linked_List::insert(string n, int score)
    INSERT = new NODE;
    if(isEmpty()) // first item in List
    // collect information into INSERT NODE
    INSERT-> name = n;
    // must use strcpy to assign strings
    INSERT -> test_grade = score;
    INSERT -> link = NULL;
    FRONT_ptr = INSERT;
    REAR_ptr = INSERT;
    else // else what?? When would this happen??
    // collect information into INSERT NODE
    INSERT-> name = n; // must use strcpy to assign strings
    INSERT -> test_grade = score;
    REAR_ptr -> link = INSERT;
    INSERT -> link = NULL;
    REAR_ptr = INSERT;
    void LinkedList::printlist( )
    // good for only a few nodes in a list
    if(isEmpty() == 1)
    cout << "No nodes to display" << endl;
    return;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->name; } cout << endl; // error: 'setw' was not declared in this scope
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->test_grade; } cout << endl; // error: 'setw' was not declared in this scope
    void Linked_List::remove(string target)
    // 3 possible places that NODES can be removed from in the Linked List
    // FRONT
    // MIDDLE
    // REAR
    // all 3 condition need to be covered and coded
    // use Trasversing to find TARGET
    PREVIOUS_ptr = NULL;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    if(CURSOR->name == target) // match
    { break; } // function will still continue, CURSOR will
    // mark NODE to be removed
    else
    { PREVIOUS_ptr = CURSOR; } // PREVIOUS marks what NODE CURSOR is marking
    // JUST before CURSOR is about to move to the next NODE
    if(CURSOR == NULL) // never found a match
    { return; }
    else
    // check each condition FRONT, REAR and MIDDLE
    if(CURSOR == FRONT_ptr)
    // TARGET node was the first in the list
    FRONT_ptr = FRONT_ptr -> link; // moves FRONT_ptr up one node
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    }// why no need for PREVIOUS??
    else if (CURSOR == REAR_ptr) // TARGET node was the last in the list
    { // will need PREVIOUS for this one
    PREVIOUS_ptr -> link = NULL; // since this node will become the last in the list
    REAR_ptr = PREVIOUS_ptr; // = REAR_ptr; // moves REAR_ptr into correct position in list
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    else // TARGET node was the middle of the list
    { // will need PREVIOUS also for this one
    PREVIOUS_ptr -> link = CURSOR-> link; // moves PREV nodes' link to point where CURSOR nodes' points
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    bool Linked_List::isEmpty()
    if ((FRONT_ptr == NULL) && (REAR_ptr == NULL))
    { return true; }
    else
    { return false;}
    llmain.cpp (main source file):
    #include <iostream>
    #include <string>
    #include <iomanip>
    using namespace std;
    #include "linkedlist.h"
    int main()
    Linked_List one;
    one.insert("Angela", 261);
    one.insert("Jack", 20);
    one.insert("Peter", 120);
    one.insert("Chris", 270);
    one.print_list();
    one.remove("Jack");
    one.print_list();
    one.remove("Angela");
    one.print_list();
    one.remove("Chris");
    one.print_list();
    return 0;

    setw is the equivalent of the field width value in printf. In your code, the printf version would look like:
    printf("%8s", CURSOR->name.c_str());
    I much prefer printf over any I/O formatting in C++. See the printf man page for more information. I recommend using Bwana: http://www.bruji.com/bwana/
    I do think it is a good idea to verify your code on the platform it will be tested against. That means Visual Studio. However, you don't want to use Visual Studio. As you have found out, it gets people into too many bad habits. Linux is much the same way. Both development platforms are designed to build anything, whether or not it is syntactically correct. Both GNU and Microsoft have a long history of changing the language standards just to suit themselves.
    I don't know what level you are in the class, but I have a few tips for you. I'll phrase them so that they answers are a good exercise for the student
    * Look into const-correctness.
    * You don't need to compare a bool to 1. You can just use bool. Plus, any integer or pointer type has an implicit cast to bool.
    * Don't reuse your CURSOR pointer as a temporary index. Create a new pointer inside the for loop.
    * In C++, a struct is the same thing as a class, with all of its members public by default. You can create constructors and member functions in a struct.
    * Optimize your function arguments. Pass by const reference instead of by copy. You will need to use pass by copy at a later date, but don't worry about that now.
    * Look into initializer lists.
    * In C++ NULL and 0 are always the same.
    * Return the result of an expression instead of true or false. Technically this isn't officially Return Value Optimization, but it is a good habit.
    Of course, get it running first, then make it fancy.

  • Audigy 2 Zs Platinum Install Procedure help needed

    Namaste all, this is my first post and I am new to Creative products, as I might be the only person in Nepal with the Platinum package! I have an Intel 95 chipset motherboard with that sucky Realtek soundchip, so my brother gave me this Creative product he got from the USA. It looks grand, but the Quick Start confused me, it says to do the install of hardware and then when Windows finds the new hardware to cancel, and then install the Creative software from CD.
    Well, from expierence with other hardwares this is not so good a procedure, as u get unknown devices if something goes wrong with the software install, and I know the disk is almost 2 years old. So I downloaded all the updates for SB350 on this site (a whooping 85+ megabytes) and my question is this:
    Which software do I install first, the old or the new? And it seems to me it would be better to have drivers there first, or should I not be second guessing the Creative Engineers?
    Can anyone tell me what exactally what to do? There is a ton of softwares in the package I can see, and I am wondering what to do now to prevent problems later.
    Well, thanks and I look forward to hanging out in the forum to learn about my cool new sound package.
    Jigs in Kathmandu

    katman, yes i did, i can bring up mediasource from the creative volume icon in the status bar...player, organizer, Go! and Go! launcher. wow, way too much software...
    So I am hoping the update makes all this stuff look better...does it's The Mediasource Go! is version 2.00.06 with a theme engine of V3.0.37...but the Organizer has an about screen that says Creative Media Source 2.02.05. I can't make sense of this but if I get the latest versions on this system at least I can evaluate and make some intelligent choices before i remove it
    I really don't get the two icons, creative volume and Mediasource gO, on right click they both have almost the same choices!
    Anyway, thanks for your help...what to do next? I am a freak about making sure all the drivers and software are the latest on my machines.
    And now I found a hardware problem - or a user problem - how do you get line in 2 on the front of the dri've to work? Mine does not seem to....
    thanks!
    jigs

  • Help needed choosing a new router

    Hi there,
    Our company is in need of a new router for internet traffic. Because I'm having trouble selecting a model, I would like to ask for your help on this one. Our situation is as follows:
     - Primary internet connection is a 60/10 Mbps cable connection.
     - Backup internet connection is an ADSL connection (not normally in use)
     - Currently our old DrayTek Vigor 2910 is incapable of processing more than 25 Mbps.
     - We have approximately 35 users working in our office.
     - Traffic primarily consists of web browsing, e-mail and VOIP phone calls.
    When the need arises, we would like to have the option of adding an additional cable connections for more bandwidth.
    Additionally, we would like to replace our OpenVPN server with Cisco VPN on this new router, which should handle about 5 users during daytime and 10 outside of office hours.
    I have narrowed it down to a 2900-series router because of the flexibility provided by the EHWIC slots. I have found the following models:
    Model
    WAN performance
    Realistic performance
    Cisco 2901
    25 Mbps
    167 Mbps
    Cisco 2911
    35 Mbps
    181 Mbps
    Cisco 2921
    50 Mbps
    246 Mbps
    Cisco 2951
    75 Mbps
    297 Mbps
    These performance numbers confuse me as to which model to choose.

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    See if attachment helps.

  • Help need driver for Mac Yosemite 10.10.2 for LaserJet Pro Color...

      Please help me find the driver for the HP LaserJET COLOR PRO 200 FOR MAC OXC 10.10 YOSEMITE
    This question was solved.
    View Solution.

    This should be what you need
    Driver for for OS X 10.9 Mavericks and OS X 10.10 Yosemite
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=lj-125410-4&cc=us&dlc=en&lc=en...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Help - Need download for 6.0.4 for Windows XP

    My 6.0.5 upgrade is not working properly and I need to go back to 6.0.4. My 30G video iPod lost over 1000 songs and many of the ones left stop playing prematurely. Everything was working fine until I upgraded. Where can I find the upgrade. Apple does have a site for the 6.0.4, but when you click to download, it automatically sends you to 6.0.5. Anyone else having this problem?? Thanks for any help. I just want to listen to my songs, podcasts, video, etc! I even sent my iPod in to Apple repair, and they returned it with a note saying that nothing was wrong with it. I guess they didn't try to listen to any music on it.
    Toshiba A105   Windows XP   Windows XP MCE

    You'll find older versions of iTunes here: Old iTunes for Windows

  • MacBookpro Receiving pop up warnings: Error: Unable to establish a secure connection to pop.mail....etc. because the correct root certificate is not installed. Help needed please.

    My Entourage is very slow and 2 Error pop ups (above) are showing. Additionaly, a warning about the start up disc being full. I decided to back up to an external HD.When backing up I was surprised to see 9.4GB in the catagory named 'Other'. Ive probably got too much junk stored here (unless it could be imovie files?). If I could see what was in 'Other', and delete what I dont need, this may be the answer to freeing up more space. The next big file I have is under 'Pictures' which is 1.7GB. I have never downloaded any video or Youtube stuff.
    This is my first experience on this forum.

    Apple in their glorious wisdom did not update the root certificates for users of 10.5, only for 10.6 and later.
    You'll need to make some changes, open your Keychain Access in your Applicaitons or Utilitties folder.
    Delete the compromised DigiNotar root certificates, also change the KeyChain Access preferences > Certificates to
    Best Attempt
    Best Attempt
    Require Both
    Because the Certificate Autorities themselves are being attacked, you need the most recent and varied source of valid certificates so your comptuer does the best it can to verify the site your visiting is legitiment.
    Also make sure the time and date on your computer is accurate and updated with Apple's time severs, allow any such time requests out your outgoing firewall (aka LittleSnitch)
    You might decide to upgrade to 10.6, it's the best OS version for users of Intel Mac's, strips out the PowerPC code your not using and improved video drivers for better graphics performance. It should run most of your 10.5 software with just minor updates at most.
    Please backup your data off the machine (not TimeMachine) before doing anything as you might need to wipe the drive if the upgrade doesn't go correctly.
    http://store.apple.com/us/product/MC573Z/A
    However OS X Lion 10.7 is a radical change, won't run your older software or drivers and likely be slow on most older hardware. I'd advise against installing it, buy it with a new machine instead.

  • Quicktime help needed - I have an Imac 800Mhz PPC G4 with OSX 4.11 installed , Quicktime help needed? - I have an Imac 800Mhz PPC G4 with OSX 4.11 installed?

    I have an Imac 800Mhz PPC G4 with OSX 4.11 installed, THANKS! Quicktime help needed?

    Thanks for your kind reply Quicktime Kirk!  Thanks in advance to anyone who replies to this as well. I have heard that what I need is an older Quicktime Version that allows for saving files, etc. But apple does not support it & I should look elsewhere - hence my appeal on this forum. Also, for some reason, when I try to upgrade to Quicktime Pro my browser  (both Safari & Firefox) quits as I am about to complete my purchase. In any event, the real question is this: would the Quicktime Pro upgrade be compatible with my current system?

  • Printing help for new MAC user

    I am a new MAC user trying convince myself this is better than a PC. I have been trying to 3 hours to figure out how to print in color with a document I've created in Pages. I am connected to a HP Photosmart wireless printer. Can someone help me?

    jersey45 wrote:
    I am a new MAC user trying convince myself this is better than a PC. I have been trying to 3 hours to figure out how to print in color with a document I've created in Pages. I am connected to a HP Photosmart wireless printer. Can someone help me?
    Hi jersey,
    Welcome to Apple Discussions and the Pages '09 forum.
    Is this strictly a Pages/HP Photosmart issue, or do other applications share this inability to print in colour to this printer?
    About the only advice I can offer is to:
    1.
    Check the HP site for any updated drivers for your printer. Download and install if any are found.
    2.
    Check the printer's settings in the Print dialogue. Your printer may offer the choice, here or in it's utility application, to print using only the black toner cartridge.
    3.
    Try opening Pages from a different user account, and printing a new document from there. Success would indicate the issue lies in your user account, probably in a corrupted Pages preference (.plist) file.Go back to your usual account, locate the file and drag it to the trash. Try printing again from your usual account.
    If these don't help, I'd suggest reposting your question in the Printing, Faxing and Scanning forum in the Mac OS X v10.6 (Snow Leopard) section of Discussions.
    Regards,
    Barry

  • My eMac has Leopard installed - urgent help needed

    I have an eMac (1.25mhz). Apple's website information states that I can install Leopard. But after installing, I got a “”pinwheel” error, and I could not access the Finder. Now, everything is frozen.
    Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    ++ (Mine is 1.25ghz.)
    512MB of memory
    ++ (I have 512MB.)
    DVD drive for installation
    ++ (I have this.)
    9GB of available disk space
    ++ (I have more than double this.)
    Using my Family Pack registration, I had easily installed Leopard onto an iMac (2ghz) and MacBook (2.1ghz), so the DVD media is okay.
    I want to back-install Panther so I can use the computer again (assuming the system lets me; right now, it's in freeze.) Otherwise, I can’t use the computer.
    We don’t own a spare Firewire drive – just the disks I got with my computer. How do I get it working again? Would I really have to toss this machine otherwise?

    You can go back to Panther. You wont be able to just do an "upgrade" though and I'm not sure Archive and install will work for back-grading. So, you will probably have to do a clean install, which means completely erasing your hard drive and reinstalling the operating system fresh. This can be done easily with the Panther install disk. When your reinstalling there should be an "options" menu on one of the install screens or something to that effect that lets you choose to erase the hard drive and install the operating system, there is also an option for this in leopard.
    Either way, you are going to have to reinstall the OS if you want to get the computer working again. And if you end up doing a complete erase and install I would try to reinstall Leopard again first, it seems like its just a bad install, Leopard should run fine on your system, people have got it running on much less, but if it still doesn't work do the same thing to get back to your install of panther.
    As for a simple way to wipe the disk, one does exist. Just boot up from the Leopard (or Panther) install disk. Once it loads click on the "Utilities" menu in the menu bar and then Disk Utility. Select your computers hard drive and select the "Erase" tab. Set the Volume Format to Mac OS Extended (Journaled) if it isn't already selected. Then click Erase, let disk utility do its thing and there you have a nice clean hard drive. After that you can either continue with the leopard install, which I would try first, or you can eject that disk and put in the Panther install disk and install it if you wish.
    Message was edited by: compwizz
    Message was edited by: compwizz

  • HTML in EBAY for NEW MAC USER!  Please Help!

    Hi, I am a brand new MAC user. Just bought a MACBOOK last week. Here is my HTML prob. I sell on ebay. I called apple support and they were not able to help me. When I list my item on eBay, HTML comes up in the description area. On my older PC it was regular readable english and NOT html gobble de gook. Anyone know how to switch over from the HTML junk so I can see the regular english and write about my product? thanks so much. Sorry, I am not a computer guru. I only know how to read email and sell on ebay

    Welcome to Apple Discussions!
    Sounds like they are using non-standard HTML. Try using a different web browser*:
    http://www.macmaps.com/browser.html
    Also verify it isn't your e-mail program that is open when you are viewing the file. Anything via e-mail which can't be converted by an e-mail program will display as just plain HTML. Look to the right of the Apple logo on your top left corner to see which program is active.
    - * Links to my pages may give me compensation.

Maybe you are looking for

  • Design Question - Command Line Argument Processor

    Folks, I'm a java and OO newbie... I've been going through Sun's java tutorials I've "enhanced" Sun's RegexTestHarness.java (using Aaron Renn's gnu.getopt package) to expose the various Pattern.FLAGS on the command line. Whilst it does work the argue

  • Help  report prints in a leaf 2 copies

    I want q a report prints in a leaf 2 copies but one to the flank of the other but towards the right

  • Mail 8 on MacBook Pro adds selected signature, does not replace

    I have several signitures that I use in Yosemite Mail 8 on my MacBook Pro. The normal behavior has always been that changing signatures, by selecting a different one from the Signature selector at the right end of the From line, has replaced the defa

  • Editing 1080p footage on MacBook Pro 15-inch Core i5 2.4GHz

    Hi, I am thinking of purchasing a Canon EOS 550d. I would be very interested to know if my April 2010 MacBook Pro 15-inch Core i5 2.4GHz will be capable of editing 1080p footage shot at 25fps (PAL). I have edited 720p footage without any problems, bu

  • Changing autodiscover to point to external server dns

    I had to change our autodiscover service because the local domain was on the certificate.  I've gone through all the steps, uploaded the new cert, and everything is working fine.  However, autodiscover still connects to mail.domain.local, instead of