I compiled now how do I run the program

Hi,
I have installed J2SE. I have written a .java file that successfully compiles in MS DOS (I have a Windows 2000 platform). This program has JPanes, Jpanels etc. How do I run this program? I am guessing it is not through DOS.
Seems so simple but I don't know how and can't find the answer on Sun's website.
Can anyone help?
C.C.

thanks but when i try that i get the following error mesage;
Exception in thread "main" java.lang.NoClassDefFoundError: DiveLog (wrong name:
divelog/DiveLog)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
It compiles fine but gives this message when i try to run the program. What are these error messages trying to tell me?

Similar Messages

  • I have downloaded elements to my mac and it has installed. how do I run the program?

    I have downloaded elements to my mac and it has installed. How do I run the program.

    Hi David,
    You can simply click on the application to launch it from the 'Applications' folder.

  • Downloaded the pdf converter to word....how do I run the program?

    downloaded the pdf converter to word....how do I run the program?

    Hi seang449,
    Please let me know which software you purchased and for what OS? Is it Adobe Acrobat or Create PDF service?
    After downloading the software you need to run the .exe file (WIN) / .dmg file (MAC) to install the application.

  • I installed the Adobe Creative Cloud, now how do I acess the programs I downloaded?

    I downloaded Adobe Creative Cloud , now how do I acess the programs I downloaded like Illustrator etc..?

    Well, downloading and installing the desktop client isn't enough... Open the CC client on your computer,  click 'Apps' and click the blue install-button next to the programs you want.
    When it's done installing, it will notify you and start installing the next program you selected. And then...Where do you normally have your apps on your computer?
    If you're on a Mac: Applications... They are right there. Or hold command+space bar (spotlight search), enter the name of the app, like 'Photoshop'
    If you're on Windows: Startmenu > Adobe CC > Photoshop CC

  • Re-installed itunes; now how do I tell the program where to find music on my external?

    I just uninstalled and reinstalled itunes. I keep my files on an external hard drive--but in 2 different folders on the same hard drive. Problems: 1. Itunes does not know where to find the files. I get a little exclamation point next to all the songs. 2. Only songs from one of the two locations show up at all.
    Less important, though still of interest to me: Only some of my playlists are showing up as well. I think I had two different itunes library .xml files before. And it is looking at the older of the two. Is that possible?
    Thanks

    Try restarting AppleTV by unpowering as well as restarting computer/iTunes and router.
    AC

  • I recently purchased an HP officejet 6600 and whenever I put in the disk to install the printer nothing pops up. How do I run the disk on my 2011 MacBook Pro?

    I recently purchased an HP Officejet 6600 and whenever I put the disk in to install the software nothing happens. How can I run the program to install it and get started using my printer???

    You should be able to go to HP Web site and download the installer. It sounds like you got a bad CD.

  • How to run the program "RSR_GEN_DIRECT_ALL_QUERIES" in planning fuction?

    Hi all:
    How can i  run the program "RSR_GEN_DIRECT_ALL_QUERIES" in planning fuction?
    hope for your help.
    thanks.

    Hi,
    "RSR_GEN_DIRECT_ALL_QUERIES" is a report which can run in SE38.This is the report used to generate all the changes to reflect in BEx( also generate all BI queries for a info provider, or even all queries/mass generation  in the system).
    In the above , this can be assigned to variant in the process chain, which can  trigger  this  through customized planning function( Generate Button).
    Regards
    CSM Reddy

  • How to run the program with variant automatically

    Hi experts,
    I want to know how can I run the program with a variant automatically without defining any transactions or jobs. I want my program to run with a variant automatically, when I press F8.

    Try doing this way...
    First Create a Sel Screen varient, 'ZTEST123' in this case
    Report ZTEST.
    parameters:
      w_kunnr type kna1-kunnr,
      w_flag type c no-display.
    start-of-selection.
    if w_flag eq ' '.
      submit ZTEST USING SELECTION-SET 'ZTEST123' with w_flag eq 'X'.
    endif.
    end-of-selection.
      write:  w_kunnr.
    Thanks.

  • I downlaoded the latest version & it saved to computer...now how do I run it?

    I assume I have to somehow "run" the program/latest version that downloaded/saved to my computer... but how? Thanks! It seems that version 3.6.something is still running on my computer when I open the Firefox browser (from my desktop icons).

    Looks to websites that you are running Firefox 3.6.17, not 29.0.1.
    https://support.mozilla.org/en-US/kb/websites-say-firefox-outdated-or-incompatible
    See if that solves your issue.

  • How can I run the report for different input values at the same time?

    Reports version: Report Builder 6.0.8.13.1
    Oracle version: Oracle8i Enterprise Edition Release 8.1.7.0.0
    I want to run the same report for different input parameter values and spool each o/p to different file and ftp to a server. For this, as a first step, I am spooling different input values in to a file, reading those values through a loop and calling the report for that input values. Each report run/execution is taking 15 minutes. Total report execution is taking approximately 4 hours (assuming 16 different input values) to complete. So I have to wait 4 hours to see ALL outputs.
    I would like to run the report parallel for ALL the input values and I should be able to see the ALL outputs with in 15 or 16 minutes.
    In my shell script, I added & symbol at the end of the report call to start/run the job in the background. Due to this the control passed to the next step after the report call. At this place I have an ftp command to send the output file to a different server and it is giving error some thing like “o/p file is not available/created yet". This is due to the fact that report writer is NOT yet completely started/initiated or it is NOT completed the spooling.
    How can I run the report at the same time for all the input values and save the time?
    Thanks in advance.
    Kishore.

    Increase the number of server engines running right now it seems there is only one engine running ,increase it to 4 or 6
    and then atleast 4 or 6 reports will run simultaneously.
    For FTPing the output add to your sript to check whether it is locked and if not then only try to ftp .
    Also for more better functionality read the document (chapter 15 ) for 10g reports for its new fuinctionality.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/toc.htm
    Thanks
    Subodh

  • I have loaded adobe acrobat using download assistant.  Now, how do I run or install adobe acrobat?

    I have loaded adobe acrobat using download assistant.  Now, how do I run or install adobe acrobat?

    You run the EXE file named "AcrobatPro_11_Web_WWMUI.exe"

  • Help:How can I run the J2EE Client Application? Thanks

    Help:How can I run the J2EE Client Application that will access the remote J2EE1.4 application server which runs on another host computer?
    I have developped a stateles senterprise java bean name converter and deloyed it in the j2ee1.4 application server on the host machine A. The converterbean provides the remote home interface and remote interface. At the same time I have developped the j2ee application client named convertappclient. When I access the conveter bean at host computer A through the script 'appclient.bat' as 'appclient -client convertappclient.jar', the client can access the bean sucessfully. Now I want to access the bean through the script 'appclient.bat' at host computer B,what files should I copy from host computer A to host computer B;and what the command line should be like? Thanks!
    The following are the code of the enterprise java bean and it's home interface .
    The client code is also provided.
    The enterprise java bean:
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.math.*;
    public class ConverterBean implements SessionBean {
    BigDecimal yenRate = new BigDecimal("121.6000");
    BigDecimal euroRate = new BigDecimal("0.0077");
    public ConverterBean() {
    public BigDecimal dollarToYen(BigDecimal dollars) {
    BigDecimal result = dollars.multiply(yenRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public BigDecimal yenToEuro(BigDecimal yen) {
    BigDecimal result = yen.multiply(euroRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public void ejbCreate() {
    public void ejbRemove() {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void setSessionContext(SessionContext sc) {
    The bean's remote home interface :
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface ConverterHome extends EJBHome {
    Converter create() throws RemoteException, CreateException;
    The bean's remote interface:
    package converter;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.math.*;
    public interface Converter extends EJBObject {
    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
    The j2ee application client:
    import converter.Converter;
    import converter.ConverterHome;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                   System.setProperty("java.naming.provider.url","jnp://10.144.97.250:3700");
    Context myEnv = (Context) initial.lookup("java:comp/env");
    Object objref = myEnv.lookup("ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome) PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal("100.00");
    BigDecimal amount = currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    }

    Surprisingly I find an upsurge in the number of posts with this same problem. I recently found a post which gave a nice link for this. Follow the steps and it should help:
    http://docs.sun.com/source/819-0079/dgacc.html#wp1022105

  • How do I run a program after login, but before the desktop?

    How would I run a program right after the initial login using gnome/JDE?
    With CDE I could edit the ~/.dtprofile to get the desired effect, but dtprofile is a CDE configuration file.

    There used to be sn automator action that might have gotten the job done. It was on http://automatorworld.com/ but I can't seem to find it now.
    I haven't test this under Lion but there is a system preference pane called "Do Domething When" that should get the jeb done. http://www.azarhi.com/Projects/DSW/
    I have taken the opposite approach. My iTunes library and I have the same problem if it has not been mounted when iTunes launches. I created an Automator app that mounts the music then launches iTunes. Try mounting the drive the launch Automator to create the following workflow.
    1. Connect to server and select the external drive.
    2. Us the Launch Application step to launch iTunes.
    Unmount the external drive and test the workflow. If it works save the workflow as an app and use that to launch iTunes.

  • So I downloaded the wrong Airplane Mode program for my operating system and I now have AppleScript Error message.  It will not allow me to quit the program.  Also, once that happens how do I remove the program from the computer?

    So I downloaded the wrong Airplane Mode program for my operating system and I now have AppleScript Error message.  It will not allow me to quit the program.  Also, once that happens how do I remove the program from the computer?

    What Airplane Mode program? To stop a running program launch Activity Monitor (in utilities folder) and quit the program from there. To remove the program drag it to the trash or better use the uninstaller that should have come with it.

  • How could I run the client

    I deployed an ejb bean and client on a server. I actually run the deploytool on the server machine. Now I want to run the client from a different machine. I took the client jar the deploytool created and run it on the client machine but it gave me the following message
    Root exception is omg.org.CORBA.COMM_FAILURE minor code 1398079689 completed no.
    Anybody know how to solve this problem?
    To explain the problem again with example: I created an application (.ear) file on the server machine. I copied the ear file and the client jar file to another machine. I run the client.jar from the new machine (client). And I got the above message

    Apologises. The URL in the last post is about JMS setup rather than EJB applications. I suspect that within client.jar or somewhere else on the client machine there will be a jndi.properties file that isn't correctly configured or perhaps doesn't reflect the location of your server.

Maybe you are looking for

  • How do I get to the TABLE data?

    Hi all, I uploaded my client table to the TESTUSER schema. I'm trying to fix a mishap (my next record sequence trigger isn't doing what I expected). When I loaded the data I had a CLIENT_ID column with sequences such as 000001, 000002 .... 000042. Wh

  • Microsoft Word 2011 Freezes ALL OF THE TIME on Snow Leperd 10.6.5 Help!!

    I installed Microsoft Office on a brand new MacBook Air and am having constant freezes (MS Word not responding/beach ball not going away) of MS Word when working on documents. This usually happens when I switch between 2 documents or at least have tw

  • Folders stuck open/hanging won't close

    I have been having problems lately with things that hang an example is if I open something like a folder and later try to close it it will stick or hang there until I reboot or log out and back in again . I have 2 gigs of ram and am running a e8400 d

  • Can't remove old episodes from iPod sine Update!

    I have a Shuffle & usually carry 3-5 episodes each of 8-10 different podcasts.  Sine installing the new iTunes for Windows, I can't remove old eps from the device, & it's a total crapshoot as to which NEW episodes the system will allow me to click on

  • Silent monitoring and recording

    When a supervisor or agent presses the record button they get an error "error received from recording service. More information in log file". I have attached the log file, anyone have this before?