Help for a new newbie

i've just tried to compile my very first Java program, and i get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: saluton
i have no idea what this means, if its any help i'm running win 2000
i'd be greatfull of anyhelp given

Jos
i bow down to you, thank you i have no idea what -cp is but it workedThat -cp flag tells the java virtual machine where it can find .class files, i.e. it
defines the ClassPath. Suppose those two .class files are stored in, say,
c:\usr\Stu000 and suppose your current directory is somewhere else, say, you're
roaming around in c:\tmp.
From within that c:\tmp directory, you can do this:java -cp c:\usr\Stu000 Salutonand it will simpy work. BTW, you can define more than one directory as the ClassPath,
you simply supply more dirs and separate them with a semi-colon. The Java
virtual machine will look in all those directories for the specified .class file to run.
i have now compiled and run my first Java programCongrats.
kind regards,
Jos

Similar Messages

  • Urgent help for extremely new newbie - please.

    I have been asked to set up a Labview program to graph and log
    thermocouple temperature measurements from two Keithley 2001 Multimeters
    and a DC voltage from HP 34420A nano Volt/Micro Ohm Meter. All three are
    instruments are IEEE interfaced to a Windows 98 machine running Labview
    (version 5.0 I think.) I have a couple of weeks to get the job done.
    The problem is that I have never used Labview. I am an experienced C,
    Fortran, BASIC programmer but this graphical system is completely new.
    My situation is complicated because I am told the experienced person who
    was originally going to set this up left under bad circumstances and
    took many of the manuals. I would greatly appreciate any and all help I
    can get.
    Please feel free to send responses directly to me.
    [email protected]
    Thanks,
    Stan Thomas

    In article
    <[email protected]>,
    Stan Thomas
    wrote:
    > I have been asked to set up a Labview program
    to graph and log
    > thermocouple temperature measurements from two
    Keithley 2001 Multimeters
    > and a DC voltage from HP 34420A nano Volt/Micro
    Ohm Meter. All three are
    > instruments are IEEE interfaced to a Windows 98
    machine running Labview
    > (version 5.0 I think.) I have a couple of
    weeks to get the job done.
    > The problem is that I have never used Labview.
    I am an experienced C,
    > Fortran, BASIC programmer but this graphical
    system is completely new.
    > My situation is complicated because I am told
    the experienced person who
    > was originally going to set this up left under
    bad circumstances and
    > took man
    y of the manuals. I would greatly
    appreciate any and all help I
    > can get.
    >
    > Please feel free to send responses directly to
    me.
    >
    > [email protected]
    >
    > Thanks,
    >
    > Stan Thomas
    >
    >
    All manuals are available at
    http://www.natinst.com/manuals/
    They also have an example program database at
    http://www.natinst.com/support/epd/
    Sten Karlson
    D/A Production AB
    SWEDEN
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

  • Audio cable help for the new AppleTV.

    Audio cable help for the new AppleTV.
    Currently I have an original AppleTV with audio RCA plugs to mini plug into my BOSE speakers.
    The 2nd Gen AppleTv has a Toslink input. I've looked at cables of Toslink to optical mini. Will this cable work? The optical mini part I'm not sure of what it is.
    Thanks so much. The monitor I use doesn't have speakers.
    This is the cable I see at Amazon
    http://www.amazon.com/gp/product/B0002JFN1K/ref=ordcartshr?ie=UTF8&m=ATVPDKIKX0DER
    Message was edited by: musicmaker

    If I understand your question correctly, you want to connect your Apple TV2 to your Bose system using a mini plug.
    You will need an optical to digital coax RCA converter (find it on Ebay about $15), then you can connect your mini cable. Here is a link to one I recently bought on Ebay: http://fwd4.me/nrQ

  • Exch2k7 to Exch2k10 - SSL 'request' help for the new server

    Hi,
    after read the article 'http://technet.microsoft.com/en-us/library/dd638158.aspx', we already have MBX and CAS 2007 running the lastest spk version and the SSL on the CAS 2007 is already working as 'LEGACY.DOMAIN.COM.BR' + 'Autodiscover.domain.com.br'
    + 'mail.domain.com.br'.
    My question is regarding the SSL request for the new server:
    >>> Can I start the REQUEST for the external Certification Authority using Windows Powershell or IIS console instead to use 'Exchange Management Shell'??
    * I´m afraid about the time (days) to install CAS 2010 on the new server, start the request to the CA, do the internal steps to aprove, pay the tax, wait for generation and then install the new SSL on the new server...

    Hi,
    Based on my research, we can use IIS renew the certificate for IIS:
    http://support.microsoft.com/kb/228991
    And Windows power shell can help us to create certificate request:
    http://social.technet.microsoft.com/Forums/exchange/en-US/1ba38a64-8776-444c-9f4d-a484075f3de2/powershell-to-request-a-certificate-renewal
    Thanks,
    Angela Shi
    TechNet Community Support

  • Help for a new MAC user

    I just made the move from PC to MAC. I have and need to use my Office 2003. Can someone help a newbie to install it on my new Imac?

    If that Office 2003 is for Windows, it will not install on OS X. The only way to get a Windows application on a Mac is using something like Boot Camp (Parallels, VMWare Fusion) and then a Windows system as well.

  • Need help for my new iPad

    I was wondering what kind of iPad case do u guys have? I just got my new iPad. So excited about it. Now I’m in the market for a nice iPad case for it. I’ve just looked into this one(http://www.pandamimi.com/leather-flip-case-crocodile-grains-for-ipad-a-2732.html). Am I on the right track? Will I be disappointed? Any other good options? Thanks.

    I got a Yoobao V.4 and it's perfect for me.
    The reasons I chose the Yoobao were, it provides a few angles of adjustment, which is useful for when I am using the iPad in bed.
    It also has a angle especially for while typing on the iPad.
    The Yoobao is made of real leather and looks very stylish and in my opinion does justice to the nice design of the iPad.
    The Yoobao does not have a large surround that encroaches on to almost the edges of the iPad screen, which can in some cases, make moving apps to another screen or other function which involves moving to the extreme edge of the screen more difficult.
    The Yoobao cases are available on EBay and on Amazon, but mostly in the US. I did manage to find a UK eBay seller.
    Here's a link to a review on You Tube. It's a good review and helped me decide that it would be the perfect case for me.
    http://m.youtube.com/index?desktopuri=%2F&gl=GB#/watch?xl=xl_blazer&v=eh-1B7cgSM

  • I need help for a new iTunes Update

    i have a new ipad mini and my pc need or itunes need an update, but the update run.... and bevor it is by the end, he stop an the message is "he cant find.... itunes.msi
    i dont find help in the internet
    sorry for my english...

    Hallo! Falls mein englisich keiner verstanden hat, hier auf deutsch...
    ich habe eine ältere Version von itunes auf dem Rechner und seit dem men iphone IOS7 hat und ich mir ein ipad angeschafft habe....  kann sich weder das eine noch das andere gerät mit meinem itunes verbinden, denn es muss ein update her auf auf itunes 11.... leider funktioniert das nicht und ich brauche einfach hilfe
    er unterbricht immer vor vor dem ende das update und findet eine itunes.msi datei nicht
    auch kann ich itunes nicht mehr von meinem rechner löschen und ich bin wirklich genervt.
    hilfe, danke im voraus

  • Help for my new ea3500

    Hi
    I'm a new wireless user and I have been having some trouble with my new router. Before I go into details, I have tried looking all over the internet for a fix I could do myself, but have had little luck. Also as I am new to this all, I don't really know that much so, explain it all very simply.
    Ok so, for normal day to day web surfing (Youtube, downloading files and so on) it's fine, perfect actually. Fast and simple. But i'm a gamer. And this is where my router has problems (I think it's the router?). I play TF2 and L4D2, and I noticed some lag spikes in TF2 a few weeks ago. Looked around and found a WLAN optimizer. Installed it and TF2 worked fine. But for L4D2, not so. Last few nights I have seen huge lag spikes. I'm talking about over 2000 ping. It's random so it's not Vista's wireless searching.
    I can't play L4D2 anymore and i'm worried that TF2 is going to be like this too now (I haven't played it for a while so I don't know). I really need some help here.
    Like I said I don't know if it's the router or if it's my wireless card (I'm on a desktop so I had to get a card installed) or if it's Comcast. I do remember when I was hooked into a hardline I didn't have these issues. So obviously wireless is the issue.

    You can customize the wireless settings of your router. Make sure to set a fixed channel. You can access this article for reference http://www6.nohold.net/Cisco2/ukp.aspx?pid=80&vw=1&articleid=3698. Just to verify, are you experiencing it with 1 wireless computer? Perhaps, you can follow the steps below for the wireless adapter.
    1) Open network connections
    2) Wireless Network Connection -> Properties
    3) Configure -> Advanced
    4) List of changes:
    Roam Tendency: Aggressive
    Power Save Mode: Disabled
    Minimum Power Consumption: Disabled
    IBSS 54g(tm) Mode: 54g - Performance
    AP Compatibility Mode: Higher Performance
    Roaming Decision: Optimize Distance
    5) Press OK, disable/enable your wireless connection and you're good to go!
    NOTE: Windows Wireless Zero Configuration is making a spike lag every 1 minute exactly, we are talking here about wireless card problem which is causing lag every 8-10 seconds exactly. If you have lag every 1 minute, you have to stop Windows Wireless Zero Configuration service. Detailed how-to on this can be read on link below: http://www.geekstogo.com/forum/Wireless-Network-Ping-Spikes-t101910.html
    Source: http://www.daniweb.com/hardware-and-software/networking/threads/47449/wireless-lag-spikes#

  • Help for a java Newbie please!

    Hey guys I'm writing this program for my Java 1 class I can't seem to get it complie. This is the first time we've worked with building out own classes. And I have a feeling that I'm doing something small and silly. If someone could just take a look at it I'd be more than happy.
    This is the Class we had to write it has 4 different fields of "employee information" This one looks fine.
    public class Employee
       private String name;           
       private int idNumber;      
       private String department;
       private String position;
       public Employee(String theName, int theIdNumber, String theDepartment,
                        String thePosition)
             name = theName;
             idNumber = theIdNumber;
             department = theDepartment;
             position = thePosition;
       public void setName( String theName )
             name = theName;
       public void setIdNumber( int theIdNumber )
                idNumber = theIdNumber;
       public void setDepartment( String theDepartment )
                department = theDepartment;
       public void setPosition( String thePosition )
                position = thePosition;
       public String getName()
                return name;
      public int getIdNumber()
                return idNumber;
      public String getDepartment()
                  return department;
      public String getPosition()
                 return position;
    } I think this one is good, it compiles just fine.
    Now we had to write a program that accesses the class and store "employee information" for 3 different employees and recall it. It only recalls for one right now, it doesn't compile though... sad day. Any help would be AMAZING THANKS in advanced.
    import javax.swing.JOptionPane;
    public class EmployeeInfo
       public static void main(String[] args)
           String firstEmployeeName = "Susan Meyers";
           String secondEmployeeName = "Mark Jones" ;
           String thridEmployeeName = "Joy Rogers";
           int firstEmployeeId = 47899;
           int secondEmployeeId = 39119;
           int thirdEmployeeId = 81774;
           String firstEmployeeDepartment = "Accounting";
           String secondEmployeeDepartment = "IT";
           String thirdEmployeeDepartment = "Manufacturing";
           String firstEmployeePosition = "Vice President";
           String secondEmployeePosition = "Programmer";
           String thirdEmployeePosition = "Engineer";
           Employee Employee1 = new Employee();
           Employee1.setName(firstEmployeeName);
           Employee1.setIdNumber(firstEmployeeId);
           Employee1.setDepartment(firstEmployeeDepartment);
           Employee1.setPosition(firstEmployeePosition);
           Employee Employee2 = new Employee();
           Employee2.setName(secondEmployeeName);
           Employee2.setIdNumber(secondEmployeeId);
           Employee2.setDepartment(secondEmployeeDepartment);
           Employee2.setPosition(secondEmployeePosition);
           Employee Employee3 = new Employee();
           Employee3.setName(thirdEmployeeName);
           Employee3.setIdNumber(thirdEmployeeId);
           Employee3.setDepartment(thirdEmployeeDepartment);
           Employee3.setPosition(thirdEmployeePosition);
           JOptionPane.showMessageDialog(null, "Name          ID Number   " +
                                         "Department      Position     /n" +
                                         Employee1.getName() + "   " +
                                         Employee1.getIdNumber() + "   " +
                                         Employee1.getDepartment() + "      /n");
      System.exit(0);
    }

    Also the compiling error I get is
    O:\HomeWork\CIS 260\Assignment 5\EmployeeInfo.java:28: cannot find symbol
    symbol  : constructor Employee()
    location: class Employee
           Employee Employee1 = new Employee();
                                   ^
    O:\HomeWork\CIS 260\Assignment 5\EmployeeInfo.java:39: cannot find symbol
    symbol  : constructor Employee()
    location: class Employee
           Employee Employee2 = new Employee();
                                   ^
    O:\HomeWork\CIS 260\Assignment 5\EmployeeInfo.java:50: cannot find symbol
    symbol  : constructor Employee()
    location: class Employee
           Employee Employee3 = new Employee();
                                   ^
    O:\HomeWork\CIS 260\Assignment 5\EmployeeInfo.java:52: cannot find symbol
    symbol  : variable thirdEmployeeName
    location: class EmployeeInfo
           Employee3.setName(thirdEmployeeName);
                                ^
    4 errors

  • Help for a new Xperia Z1 owner

    Just recieved my new Z1 and coming from iOS to Android is a daunting experience lol
    Can anyone help me with 2 things I just can't seem to figure out?
    1) the date/time clock on the home screen seems to get cut off. It shows P instead of PM and the same happens with the month is says Decem instead of December. How do I fix that?
    2) How do I disable the share to facebook option for Music Unlimited? It shows the box is greyed out in settings and I can't change it, help!

    1. I haven't seen that myself, but delete the widget > press and hold the widget until it vibrates then drag it to the bottom center (trashcan)  > long press anywhere on the screen > widget > clock 
    2. You can't disable it, facebook and twitter are deeply integrated, if you log in to fb it won't be grey out 
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Help for a new member

    Hi there... first off, I am brand new to this forum and if there is a better place to post this, please let me know....
    I am going to switch form my Dell desktop and laptop to a new 2.8 ghz imac (waiting for Oct. 26th). My interests are mostly web, pictures, learning to create dvds... However, i absolutely love MS Flight Sim X and want to be able to play it via BootCamp. Am I going to be sorely dissapointed with the new imac's performance? I have read lots of opinions on the video card (including if it is a 2600 xt in disguise). Any tips/advice would be appreciated... again, is there a better area to post this query?

    Your best bet is the boot-camp forum discussion, there is no dedicated discussion forum for games.
    You are more likely to get help from there.
    Boot-camp

  • Help for a new one

    hello,
    i'm trying solaris, is nice for what i have seen, but i have some problems:
    1 - i search for quite sometime but i cannot find how make a user
    2 - as root i cannot connect on internet, is normal?
    3 - i connected an external hdd and solaris didnt see it, why?
    4 - solaris have a program to get new software like other linux distro?

    Fargasta wrote:
    hello,
    i'm trying solaris, is nice for what i have seen, but i have some problems:
    1 - i search for quite sometime but i cannot find how make a userThe command is useradd.
    http://docs.sun.com/app/docs/doc/816-0211/6m6nc679u?a=view
    2 - as root i cannot connect on internet, is normal?Shouldn't matter which user you use. The user should be able to connect to the Internet.
    3 - i connected an external hdd and solaris didnt see it, why? Without more information it's unknown. Is it USB, Firewire, whatever?
    4 - solaris have a program to get new software like other linux distro?OpenSolaris has something similar. If you just want to cruise for software try www.sunfreeware.com or blastwave.com
    alan

  • Help for a Mac newbie please!

    Hi all,
    I just got my lovely MacBook Pro yesterday... and could use some help with these 2 problems...
    1 - on my Windows PC I have a VPN connection to 1 of my clients. When I tried to set it up on the Mac it's asking for an IPSEC shared secret? Is there any way to disable this requirement, or does my client have to set a key on his server?
    2 - I am having a problem connecting to my windows laptop through my home network...if I enable the Guest account on windows XP, the MacBook connects no problem. If however [as I really want to] I try to connect as a "proper" user with username and password, the Mac keeps telling me the username or password is wrong...which it definitely isn't!
    My thought is regarding the "domain"...I don't have one set up at home...just a workgroup called "home"...so when I try to login I am only typing in the username...the tooltip for the usernae field says domain\username...do I need to put anything here for domain, and if I do, what...as there isnt one!
    Thanks,
    Nige

    Try my post
    http://discussions.apple.com/thread.jspa?threadID=1359723&tstart=0

  • Help for a new mac-garage band user-m audio pro setting imput

    garage band help says click on preferences, but the preferences menu only will come up at start of project--then can only set audio output to m audio pro-audio imput is blank--so internal mike is usued not imput from m audio.
    Somehow I managed to get it to work for one song--headphones from m audio montored tracks-guitar recorded using amp sims--been trying for hours to repeat that but only internal mike now will work.

    You should be able to open garageband preferences
    anytime. Are you sure your looking under Garageband >
    Preferences.
    And what interface are you using, is it the Fast
    Tracks Pro?
    Yes fast tracks pro--I finnaly was able to go to preferences when I exited garage band and openend it up again,but when I was working on the song and clicked on preferences it would not come up

  • Safari display help for a Mac newbie!

    Hi everyone,
    I have never used Macs before so I hope this question isn't too ridiculous...!
    When using Safari, all the web pages I open are either half or three-quarters the size of the screen even when I use the little plus (maximize) button in the top left hand corner.
    Only one page has ever fitted the full screen. Is there any way to make all pages opened with safari full-screen size? I've fiddled around with the settings but to no avail...
    Any help would be greatly appreciated!

    The easiest way I have found to do this is to high light and drag the following java script to your bookmarks menu bar. Name it any thing you want. I called mine re-size. Click it and it will expand the window full page. It works with Safari 2, safari 3 beta, FireFox, Omni-wed, and SeaMonkey.
    Full screen script for browsers
    javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);

Maybe you are looking for

  • I try to sync music to my iphone5

    I try to sync music to my iphone5 after I back up my phone (my old iphone5 was cracked then I change the new one and back up) It's said sync but nothing show on my iphone5 music but when I check on ituned in section on this phone, they had a song but

  • Save AS prompt window Confirmation

    Hello, I would like to go through all the steps involved in the process of exporting one document to XHTML in Indesign CS3. I found a scripting block on this forum by Dave Saunders which illustrate how to interact with a menu action. The fact is that

  • Newbie question: sqlca.sqlcode positive or negative?

    Good afternoon, we have a database based application, launching SQL queries on an Oracle 8.1.7 database. These queries return sqlca.sqlcode values, like 0 in case of succesful and 1403/-1403 in case of unsuccesful. Exactly the latter is a problem: th

  • Having trouble with downloading Flash

    I am getting error messages when I download Flash. These are the errors messages I'm getting Adobe Flash CS4 Error: Error 1603. Error 1335.The cabinet file 'AdobeFlash10-mul1.cab' required for this installation is corrupt and cannot be used. ] This c

  • Lost hard drive -- need to restore iTunes song library from iPod

    i recently purchased my first iPod and downloaded iTunes to my PC. I then loaded 850 songs from my collection of CDs. Shortly after, my hard drive crashed - completely unrecoverable. I bought a new PC (laptop) with Vista. Now i need to reload iTunes.