V basic newbie question

hi i had decided this weekend to start looking at the JAVA stuff I should be a real help to me at work. However i am having a problem setting things up. i have looked at the FAQ's but they don't seem to answer my question which is HOW do I set my computer up?
I'm running win98 java 1.4.3
i have built the ExampleProrgram.java (the one on the tutorial) used javac to convert into it the executable/class but when i run it with java ExampleProgram i get a long list of problems to do with class loader etc.. However when i user the -classpath c:\windows\Packages i still get a error "exception in thread "main" java.lang.NoClassDefFoundError: ExampleProgram/java"
I took all the suggested options when the SDK was installing ans set the path but still can't get this one sorted.
I know it's going to be really obvious but any help would be appreciated

When running the program don't add the file extension .java.
The .java is only for source files not compiled yet.
After you compile you run them by just indicating the class name
java ExampleProgram

Similar Messages

  • Basic Newbie Question

    Hi, I am trying to add a light display to indicate when a certain portion of my code is running. Basically, I need to know how to turn on and off a single boolean indicator within a flat sequence structure. Any help would be appreciated. Thanks
    Solved!
    Go to Solution.

    As a basic newbiew, you make the mistake of sequence overuse. They are very rarely needed. You should always think in terms of a state machine.
    Here is a very simple linear two-state machine that duplicates your code quite accurately. As you can see, no sequence structures, local variables or property nodes are needed.
    DoomPirate wrote:
    Thanks mike, It worked. I went with the property node route. I wasted 5 hours trying to get it to work last week. I had a major headache.
    Here's another big beginner mistake. In simple cases like this, you should always pick a local variable over a value property node. Property nodes are literally orders of magnitude more expensive. Property nodes should only be used if really needed (e.g. access an element inside a cluster or in another VI). 
    Message Edited by altenbach on 06-29-2009 09:08 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    twoStateWithDelay.png ‏6 KB

  • WebDynPro Newb question

    Hey All,
    I need to begin working with WebDynPro. I have a couple of Newb questions:
    1) I need to jump right in fairly quickly, so can anyone suggest any good documentation that could help me get the basics down about working with WebDynPro?
    2) I loaded a Sample WebDynPro project into NetWeaverDev Studio, but I am unable to export this to our instance of EP on our Development Server. For a .par file its easy to do exports, but I can't for the life of me find where i go in NetWeaverDev Studio to do an export of a WebDynPro project. When I goto export in the WebDynPro perspective, it appears to only want to allow me to export locally, but I need to push to a different server. Can anyone help me with this?
    I appreciate any advice and suggestions. Thanks All!!
    Take care,
    -Kevin

    Hey Rich,
    I have the Engine setup, but I do not get prompted for the SDM password, do I need to configure that somewhere? I get the following error when trying to deploy:
    <i>Jul 15, 2005 10:13:17 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [004]Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !</i>
    Thanks,
    -Kevin

  • Newbie question - cloning to a new server

    Hi all,
    I am very new to the EBS world, so please forgive the "newbie" question. We are running 12.0.4, and we have approximately 12 different environments. We probably do 3 to 4 clones a week, generally from production to one of the existing environments.
    However, we now have a couple brand new Linux servers, and we want to set them up as a new environment to clone to (one will be apps server, one will be DB server). I am looking at some of the Metalink documents on how to do this. But my basic question is this - do I first have to do a basic EBS installation onto these servers, before I will be able to clone an environment over to them?
    Thanks!!

    Duplicate thread ...
    Newbie question - cloning to a new server
    Re: Newbie question - cloning to a new server

  • MailServer Newbie Question..

    So my first time i setup a Mail Server with Mac OS X Server.
    Everything works like a charme. I can send and receive emails internally. That means
    i can send and receive emails from mac to pc and vice versa. Now my question.
    How do I setup the Server to catch my external eMail adresses and send it to my internal account.
    And how do I setup to send throw my server to the rest of the world without getting banned and
    blacklisted
    I how someone can write a small tutorial for me or can post a link for this newbie question.
    Thanx in advance..
    mike
    P.S.: Sorry for my bad English. But I am from Germany

    how to configure the server to accept mail for my own domain ?
    Any domain you want to receive mail for goes into the Local Host Aliases pane (in Advanced-> Hosting tab). However, you said that you can already send and receive internally so presumably you have it set up for a domain already? If this is not the same domain as you want to use, just change whatever settings you are using to your real domain. You can then test sending and receiving internally for your own domain but without changing your external (public) mail provider. When you are ready to change your outside mail server for your own one, get the public MX record changed so that all external mail starts getting directed to your own server.
    how to get the public DNS record (MX Record)
    If you have a 'real' domain then someone is hosting your DNS for that domain. THis is probably whoever you bought the domain from. You need to get them to change your MX record (or the IP address for the host name record which the MX points to - see my first post).
    Is it really impossible to catch the external email-accounts with the server via pop.
    my idea behind that is to synchronize the external email accounts with the email accounts on the server..
    I have never really looked into getting a mail server to use a pop download from another external mail server - it may be possible by manual configuration but it never made sense to me. Why have two mail servers in a 'chain'? Basically, the public will see only one server responsible for your mail (via MX record) - you have to decide whether you want to leave this with your external provider or take the responsibility yourself.
    Your configuration for the incoming mail seems to me like you would change the
    external email server completely to my internal server.. right ??
    Correct. Once the public MX record is changed then all other mail servers will send to your server and not your current provider. You can always revert back by changing the MX record back to your existing provider (as long as your account is still open).
    -david
    Message was edited by: David_x

  • Newbie question. coldFusion w/ Flex 2 tutorial

    Hello.
    I am very new to F2 and CF. Fairly proficient at Flash, DW,
    css, html, etc. I have purchased and worked through a couple really
    great F2 and CF books. I am able to construct some good basic stuff
    with either. But am not really finding a tutorial or book that is
    exclusively committed just to the subject of to using CF with Flex
    2. There always seems to be a just a cursory mention, or a
    brush-by, but not much more than that. I get it: if you got this
    far, you probably arlready know everything about the two and
    shouldn't need such.
    If you could point me to a couple good references, I'd be
    very appreciative. I'm looking for a good step-by-step, just on
    this subject.

    Thank you. You are right on with the direction of your
    answer.
    Immediately, I am just trying to create a simple method of
    add/edit/delete records to tables from forms that I could access
    remotely with Flex 2. I just assumed that CF would be the best
    method, both being Macradobe products. If I am wrong about that, so
    be it. Utlimately, I would like to print specific "quotes" relative
    to specific customers and products to .pdf. This is for my own
    personal use (as an insurance broker). Not commercial. Nor is
    anyone paying me to develop this.
    Maybe a better newbie question would be: what would be the
    preferred method to add/edit/delete records, remotely, from a Flex
    2 application for later printing to .pdf based on various selection
    criteria? I have figured out how to do this on my own stand-alone
    machine. Now I want to be able to do it remotely from anywhere.
    I'm
    not looking for instruction from anyone here, just direction
    to your favorite learning tools so that I can dig in and learn.
    I bought the books you recommended (adding to my own Library
    of Congress).
    Thanks again!

  • Total Newbie Question ... Sorry :-(

    I know it's a windows thing, and I am now converted to Mac but I gotta know this because it's doing my head in. It's a complete stupid green gilled newbie question.
    When installing new programs on a Mac can you create shortcuts to the programs on the Dock? I did what I THOUGHT it would be, i.e I made an Alias and stuck it in the dock, but on rebooting my Mac later on, in place of the shortcuts where 3 question marks which when clicked on did absolutely nothing???
    Help?
    A.L.I
    Windows XP Pro Desktop, Macbook Pro, 60GB iPod Video   Mac OS X (10.4.5)   OS X

    You aren't installing something from a dmg file are you? The dmg is a disk image – kind of a virtual CD. So when you double click the dmg and then get the little disk/hardrive/custom icon on your desktop that is the same as if you had mounted a CD. You then need to drag the application off of that "CD" into your application folder. Then it is truly installed.
    You can then "eject" the icon your your desktop. This is what happens when you shutdown and without remounting the image your dock shortcut can't find the original.
    Just a thought.

  • Newbie Question. just installed IE7.. how do I set up a local host to preview sites?

    Sorry for the newbie question... but it's been a long time since I have done this
    Thanks!

    Just define your site in DW as always.  For a static site, that's all you need to do.

  • Newbie Question about FM 8 and Acrobat Pro 9

    Hello:
    I have some dcouments that I've written in FM v8.0p277. I print them to PDF so that I can have a copy to include on a CD and I also print some hard copies.
    My newbie question is whether there is a way to create a  PDF for hard copy where I mainitain the colors in photos and figures but that the text that is hyperlinked doesn't appear as blue. I want to keep the links live within the soft copy. Is there something I can change within Frame or with Acrobat?
    TIA,
    Kimberly

    Kimberly,
    How comes the text is blue in the first place? I guess the cross-reference formats use some character format which makes them blue? There are many options:
    Temporarily change the color definition for the color used in the cross-reference format to black.
    Temporarily change the character format to not use that color.
    Temporarily change the cross-reference definition to not used that character format.
    Whichever method you choose, I would create a separate document with the changed format setting and import those format into your book, create the PDF and then import the same format from the official template.
    - Michael

  • Newbie question - how to save images out of an fla file

    I have what I'm sure is a very basic flash question. I have a flash movie (swf) and the accompanying fla file. I can open the fla file, and see all the images used in the file (symbols in the library), but how can I export or save one of these images separately from flash?

    you can right click, copy an image and then paste it into your choice of photoediting software.

  • Basic iPhoto questions:

    I have some Basic iPhoto questions before I start using the program:
    - does iPhoto apply any compression or change images in any way when they
    are imported?
    - after images are imported, can the original source folder of images be deleted off of the mac?
    - can Quicktime files exported from iPhoto be viewed on a Windows computer?
    - can iPhoto handle large resolution images that might be as large as 8-15mb each? does it display them quick? are there any known file size issues?
    Thanks!!!!

    kat.
    Is there a way to use iPhoto on a network so other users can read and possibly write to an iPhoto library on a networked mac?
    iPhoto is a consumer level photo organiser, not a server. It's possible to share photos but libraries are very difficult and fraught with the danger of database corruption. Some have reported success.
    Is it possible to password protect or secure certain images in the library so they can not be seen by anyone?
    No. The best I can suggest there is to create a second library and store it in a secure area like a protected dmg. But remember, you can only have one library open at a time.
    After photos are deleted from iPhoto, are there any remaining traces or cached files anywhere other than the trash
    If you delete photos from iPhoto and empty the iPhoto trash then the pics are removed from the Finder as well. They remain as findable as any other deleted file from that point, which is, very, if the searcher in knowledgeable.
    Regards
    TD

  • Domain name settings - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name? Any option?

    Setting up a mailserver and making sure it doesn't suddenly turn into a spambox is not something you do with the use of a few commands. I suggest to dive into the Solaris admin guide on docs.sun.com and read up on e-mail and network services.
    If that is asking too much of your time you'll be better off getting your ISP to handle all this for you.

  • Domain Name settings in Solaris - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name?

    Your questions are completely off-topic for the forum.
    These SunOS forums are for questions on <i>"how do I install my OS"</i>
    You particular question is in the <i>"how can I install Solaris while using the CD drive"</i> forum.
    So, if you had a question on how to edit the /etc/inet/hosts file to establish a FQDN on the computer, then it might be appropriate for the forum.
    Unfortunately, I don't have a clue on where to redirect you, except perhaps to the Sun Java Enterprise System suite of applications?

  • Object class deployment - Basic form question

    OK, I subclass calendar object from Oracle provided standard
    object class. What do I need to deploy to use this form now
    apart from calendar.pll and my fmx. What about the object class
    from which I sub-class. Do I need to compile and deploy that
    also? How will form resolve this on run time the parent object
    class as I really did not copy, just sub class and we do not
    deploy original class? Basic form question. Thanks.

    You can set the "help" property on the field (which gives you the little "information" icon link beside the field).
    You could also try adding another field of another class above or below:
    <Display class='InlineAlert'/>
    <Display class='ErrorMessage'/>
    <Display class='HtmlPage'/>
    ..etc
    -Rob

  • Newbie Question:  How much computer do I need?

    Newbie Question:
    I would like to use MainStage 3 in a live performance environment to play bars, parties, etc.  I'm not looping, using it to playback recordings, processing outboard equipment or vocal processing.  I want to stop carrying Rolands, Nords, Korgs, etc and get to a controller and a rack with a Mac Mini in it.
    I tested a download of Mainstage 3 on my home Mac Mini (late 2012, 3.5 Ghz i5, 4GB RAM, 500GB drive) and it seemed to run fairly well.  $30 well invested so I trekked forward... I purchased a Mac Mini (late 2009,  2.52GHz Core 2 Duo, 6GB RAM, 128GB SSD) for $200.  I started to do more elaborate keyboard setups to see how the CPU would hold up.  It typically runs from 30% to 50% of capacity (CPU and Memory)  It actually boots and runs better than the i5.  I hear the occasion gitch, but it actually seems to be getting better in time (or I'm rock and roll deaf.
    I got a rack, an Airport Express, a Radial USB interface and a Nektar Panorama P6.  It's starting to get expensive, but I'm emboldened by the actual quality for the sound and the flexibility of arranging for live performance.  What used to take me two and three keyboards to play, I can now fit on one performance patch.
    OK, now the question... am I at the limits of this little Core 2 Duo?  Should I upgrade the i5 with more RAM and a bigger SSD and use that?  Should I get a new(er) i7 and bite the $1,500 bullet for the additional RAM and SSD?
    I see that most of you are running pretty nice Macbook Pros with i7 and lots of everything.  My needs are modest; am I OK? 
    BTW, I want to run a Mac Mini in a box because I don't want to carry a laptop out in the open.  If I was doing bigger shows I wouldn't care but I play some rowdy bars and constantly have folks hanging off me while I'm playing.  It's fun, but hard on gear.  If you can't drop it or dip it in beer, it won't last long where I work.
    Matt Donnelly

    Rule of thumb: newer and faster is better. But, depending the complexity of your needs you may be OK with an older Mac. Some glitches that happen in a live performance are due to loss of communication with USB or Firewire inputs, so make sure they're secure. I recently upgraded from a 2010 Mac Mini 2.6 dual core with 16 GB RAM, which was used live for nearly four years, to the latest Mac Mini 3.0 i7 with 16 GB RAM and a 500 GB SSD. I was getting an occasional stuck note with the older one. The new one is rock solid. Some of my patches may have up to a dozen channel strips mapped to three keyboards. The Mini is mounted in a rack next to a MOTU Ultralite Hybrid. It is a good idea to map a panic button on your keyboard to controller # 123(all notes off). Also, you might want to invest in a battery backup power supply(APC, Cyberpower, etc.-$40-$60) to protect your Mac against power loss, which can damage you hard drive.

Maybe you are looking for

  • Apple TV is activated on PBS but won't connect to programming.

    My Apple TV is less than 6 months old. It was connecting to PBS programming until two days ago when the PBS user interface changed its look and feel. The menu that worked lead with the item "Featured". Now the lead item is "Video". I can navigate to

  • Creating unique passwords for a PDF document

    I'm going to be selling a PDF eBook on the Internet.  I would like to know if there is a way to create a unique PDF password for each customer rather than having every customer have the same password that was created in Adobe Pro.  I purchased a $20

  • Resolve to companyweb

    Hi there.  This is probably a simple question but I can't seem to find a suitable answer on the web.  I have a new SharePoint 2013 server and I want the following URL "http://<servername>/sites/companyweb" to simply resolve to "http://companyweb".  I

  • Resource Name, IVI Logical Name, Driver session on MAX

    Inside MAX, we can set Device Name, Logical Names, and Driver Sessions. Can I setup those on LabWindows or LabView? or you have C# wrapper to do this?

  • Oracle.j2ee.ws.saaj.ContentTypeException:Not a valid SOAP Content-Type:text

    Hi, I m trying to invoke external webservice using Oracle BPEL. I create BPEL process to invoke the webservice. BPEL process invokes the external webservice, retrieving the session id,etc. But, when the same webservice is invoked again using the sess