Executing java program

iv installed jdk, jre 1.5.0_04 and 1.5.0_07 and NetBeans IDE 4.0 and 7.0.
I
am able to compile my java program but not able to run it.
When i try to run it, i get the error ""Exception in thread "main" java.lang.NoClassDefFoundError:" followed by file name.
Pls give me a solution to this problem as soon as possible

http://onesearch.sun.com/search/onesearch/index.jsp?qt=Exception+in+thread+%22main%22+java.lang.NoClassDefFoundError&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

Similar Messages

  • Execute Java Program in a specific time everyday

    Hi All,
    I need help for Execute Java Program in a specific time everyday.
    I want to do insert data into database every 3:00 AM everyday.
    I thought there is a one thread program will do. It is correct my understanding? Please let me know and guide me How can I do?
    Thanks
    Amit

    If you are using Window$ then you can create a bat file to execute the program and place the bat file in Scheduled Tasks.

  • How to execute java programs in xcode

    I cannot execute Java program in XCode for Mountain Lion 10.8.2. Please help me how to execute a Java program.

    Do you have a particular error or message or diagnostic or issue, or something that's particularly wrong with Xcode?  If installed, Java does work, and Java applications can be invoked.
    Background: Java was deprecated from OS X a while back, and Java itself was removed from the default OS X 10.8 installation.
    Given that Java is now an add-on for OS X, you'll want to check with Oracle — the owner of Java — for OS X kits and tools.
    I don't know off-hand if Xcode still particularly supports Java (it was pretty weak, when last I checked), but I'd expect you'll be using makefiles for the work, and I'd also suspect that whatever Java support remains in Xcode will probably be going away in some future version of Xcode.   (If support hasn't already disappeared.  You may be using bash build scripts and makefiles to deal with Java now, or going forward.)
    If you don't have access to the Apple developer forums and the discussions of tools available there, then the archives of the Apple Java-Dev mailing list can be a good spot to look for existing discussions, and to post questions related to Java development on OS X.
    As for IDEs other than Xcode,  Eclipse or NetBeans or IntelliJ IDEA, and BlueJ all run on OS X, and any of these would probably be a better long-term choices for Java development on OS X.

  • How to request Administrator or root to execute java programs?

    How to request Administrator or root to execute java programs when the user is not enough permission?
    as same as following image:
    Windows : http://img151.imageshack.us/img151/6113/winrw5.gif
    Linux: http://img374.imageshack.us/img374/8990/linuxsj4.png
    Edited by: lauangus on 2008?10?13? ??9:15

    Dear Sys Admin,
    Would you please grant me and my group enough rights to do the tasks that have been assigned to us, we are using the following programs. They will need to asccess....
    Sincerely,
    lauangus
    Note: this will usually have to be accompanied by appropriate supervisor signatures and endorsements.

  • Executing java program in oracle

    Good day everyone!
    I created a small java program.
    import javax.swing.JOptionPane;
    public class LogOn {
    public static void main (String [] args) {}
    public static void ShowMessage(){
    JOptionPane.showConfirmDialog(null, "Hello", "Info", JOptionPane.PLAIN_MESSAGE);
    I compiled the code using javac and loaded into oracle using "loadjava -u scott/tiger Logon
    Then I created a procedure,
    create or replace procedure l_b
    as language java
    name 'LogOn.showMessage()';
    then I executed the procedure
    SQL> execute l_b;
    it's just say
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Any idea why its doing that?
    Thanks for the time
    Edited by: Xtro on Oct 30, 2008 9:38 AM

    What is the "warning banner" attempting to communicate? And where did this requirement come from-- presumably users are not seeing a banner when they log in today.
    Realistically, you are not going to be able to cause arbitrary client applications to display something, you are going to have to configure each client application separately, which seems like a huge investment of time for very marginal benefits assuming that government agencies have a decent number of client machines and a decent variety of client applications. The glogin.sql file will work for SQL*Plus (assuming very recent versions or that no one uses the "connect" command to connect to a different database), but I believe you are looking for something that works across client applications, which probably doesn't exist.
    Justin

  • Execute java program on UNIX

    I have no experience on Unix and I now need to try to execute my java program on UNIX server to which I connect using telnet. I have copy my source file to the server and I could run the javac command to compile my source code.
    In the current directory, I just execute "javac mySource.java"
    And I got my .class file on the same directory. But when I tried to execute "java mySource", I got NoClassDefFoundError. I think it has something to do with classpath. But I just don't know how to do it in UNIX. Please someone assist me. Thanks.

    Or setenv CLASSPATH $CLASSPATH:/your/classpath/here if you are running csh.

  • Creating an executable java program

    hello every body
    i have finished my java program
    and i want to ask if there is some software that create a .exe of your project or make your projecte installable.
    for the moment i use javaexe but it's not really good
    do someone have an idea.

    That's the question most people ask.Actually this
    proccess is againts the goal of java for being a
    platform independent programing lang,That's an urban legend I haven't heard in a while -:)
    How can the generation of a native executable out of a Java source be against the goals of Java? Has the source code been contaminated in any way in the process? Is it now less portable than before? The native executable itself isn't portable of course but that's kind of the point of producing one, and it doesn't restrict the portability of the program itself.

  • Shell script to execute java program

    Hi there,
    In my script to execute my Java program, I have assigned a variable as follows:
    PROGRAM_ROOT = "C:/program"
    A jar file that my program needs is located in C:/program/build. ie. it is located in "PROGRAM_ROOT/build".
    In my script I have a property set as follows:
    -Dprogram.build="$PROGRAM_ROOT/build"
    When I execute the script using cygwin, the above line gets converted to the following:
    -Dprogram.build="$PROGRAM_ROOT
    /build"
    i.e. the concatenation of "PROGRAM_ROOT" and "build" results in PROGRAM_ROOT<carriage_return>\build.
    Is there a way to use PROGRAM_ROOT and concatenate "/build" to it?

    You'd have to build your own client/server implementation or use a remote messaging framework (like RMI) to help you with this if you wanted to do it in pure Java.
    It would be easier to just kick off some other installed process to send the message, e.g. install cygwin and pipe the command to start the shell and run the script through ssh. If you wrote a Java program to kick this off, it would only be a couple lines of code, and not really necessary.
    It's not ideal to try to do remote command administration just using Java.

  • How can i execute java program in JSP ?

    att
    thanks

    try to use:
    Runtime.getRuntime().exec("command line");
    where "command line" is your command to execute your program.

  • Shell script for executing java program

    i want to write a shell script which will export the classpath and compile & run the java program.
    any references from where i can get that?

    Try typing "man sh" at the command prompt.
    Ultimately it'll end up looking a lot like this:
    #!/bin/sh
    CLASSPATH=/path/to/a.jar:/path/to/anther.jar
    JAVA_HOME=/path/to/where/you/installed/java
    $JAVA_HOME/bin/java your.classes.package.YourClass

  • Making batch files to execute java programs in windows

    In my comp sci class, i found a folder with a batch file, an application file, and all class files necessary to run the program.
    how do i take my java program and make a batch file to run it (in dos) like that program in my comp sci class?

    Okay, here are your steps for running a java program from a batch file:
    1) Open Notepad
    2) type the following:
    set JAVA_HOME=C:\j2sdk1.4.0_03 // specify the path where your jdk is
    set path=%JAVA_HOME%\bin;.
    javac {-classpath .;one.jar;two.jar} YourProgramName.java
    java {-classpath .;one.jar;two.jar} YourProgramName
    The stuffs inside {} is not necessary if your program doesnt use any .jar files.
    3) Save the notepad as mybatch.bat in the directory where your Java program is located.
    4) In the DOS prompt, go to the directory where you have .java and .bat files
    (use 'cd' command)
    5) Now, type mybatch.bat and press ENTER.
    Thatz it. Your program runs like a charm now!!!
    (provided the compiler is pleased with ur code :)
    -- layman's pal

  • Execute java programs automatically when system is connected to internet

    Good Day friends...
    Iam beginner in java. Please goes through the Question and please answer.
    I need to start my java programs automatically when system(windows operating-xp/7) is connected to the internet.
    Thanks in Advance,
    Shackir

    A. You might want to learn about Windows Services. Try searching for it on the web
    B. There is no way to programmatic detect if/when the local computer is connected to the internet, at least not in Java. The best you could do would be to create a timer and to periodically try to make your connection

  • How to execute Java program in Solaris 8 (Intel Platform).

    Hello All,
    I have installed Solaris 8 on my Intel based PC. JDk 1.1 and JDK 1.2 is installed by default. When I compile any Java applet or Application, it successfull complies but when I try run that applet or application (java Appletname or applicationname), It gives the error message .... File not found...Check whether file exist in the directory or not.
    Can someone tell me the reason of this error and how to correct it. Where to set the CLASSPATh etc. under Solaris 8 for successful compilation and run of programs. I do not have any problem under Windows/2000.
    Thanks in advance,
    Amoid

    [amoyeed],
    Hello All,
    I have installed Solaris 8 on my Intel based PC. JDk
    1.1 and JDK 1.2 is installed by default. When I
    compile any Java applet or Application, it successfull
    compliesI will assume that you executed this command:
    #javac <java source code filename>.java
    In order to find out which version of the javac you are using to compile the program, execute the following:
    #/usr/bin/which javac
    The output will tell the exact path to the javac binary file.
    but when I try run that applet or application
    (java Appletname or applicationname), It gives the
    error message .... File not found...Check whether file
    exist in the directory or not.You probably have not set the current directory to your environment variable PATH for the Unix shell that you are using.
    You can do the following:
    #java ./<standalone application or applet name>
    Can someone tell me the reason of this error and how
    to correct it. Where to set the CLASSPATh etc. under
    Solaris 8 for successful compilation and run of
    programs.In the shell environment settings file. Which Unix shell are you using? Bourne, Korn or C?
    I do not have any problem under Windows/2000.
    Thanks in advance,
    AmoidHTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • I can't execute java program.

    when we execute our java application,
    we met this fatal error.
    my environment of execution are
    - used jnlp(webstart)
    - swing program
    - JRE (1.6.0_22-b04)
    when it happened error, it created hs_err_pidxxxx.log file.(xxxx means sequence).
    of caurse, we try to execute again, we can do it successfully.
    this is file contents
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000091, pid=11360, tid=11164
    # JRE version: 6.0_22-b04
    # Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode windows-x86 )
    # Problematic frame:
    # C 0x00000091
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x47f80800): JavaThread "Thread-3" [_thread_in_native, id=11164, stack(0x47d10000,0x47d50000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000091
    Registers:
    EAX=0x47d4f824, EBX=0x47f80918, ECX=0x47d4f7d4, EDX=0x47d4f820
    ESP=0x47d4f77c, EBP=0x00000001, ESI=0x47f98cc8, EDI=0x47f80800
    EIP=0x00000091, EFLAGS=0x00010202
    Top of Stack: (sp=0x47d4f77c)
    0x47d4f77c: 6d114c04 47f80918 47f98cc8 00000004
    0x47d4f78c: 47d4f7d4 47d4f824 47d4f820 ffa0a0b4
    0x47d4f79c: 47f80800 431fe380 431fe380 47d4f7fc
    0x47d4f7ac: 0095e772 47f80918 47d4f82c 47d4f828
    0x47d4f7bc: 47d4f824 47d4f820 ffa0a0b4 00000070
    0x47d4f7cc: 0000005b 00000092 00000001 0000001e
    0x47d4f7dc: 47d4f7dc 431fe380 47d4f82c 431ff1a8
    0x47d4f7ec: 00000000 431fe380 00000000 47d4f80c
    Instructions: (pc=0x00000091)
    0x00000081:
    [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
    Stack: [0x47d10000,0x47d50000], sp=0x47d4f77c, free space=fd47d4ec3ck
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x00000091
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.java2d.windows.GDIRenderer.doFillRect(Lsun/java2d/SurfaceData;Lsun/java2d/pipe/Region;Ljava/awt/Composite;IIIII)V+0
    j sun.java2d.windows.GDIRenderer.doFillSpans(Lsun/java2d/SunGraphics2D;Lsun/java2d/pipe/SpanIterator;)V+67
    j sun.java2d.windows.GDIRenderer.draw(Lsun/java2d/SunGraphics2D;Ljava/awt/Shape;)V+39
    j sun.java2d.pipe.PixelToShapeConverter.drawLine(Lsun/java2d/SunGraphics2D;IIII)V+22
    j sun.java2d.pipe.ValidatePipe.drawLine(Lsun/java2d/SunGraphics2D;IIII)V+19
    j sun.java2d.SunGraphics2D.drawLine(IIII)V+10
    j javax.swing.plaf.basic.BasicProgressBarUI.paintDeterminate(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+218
    j javax.swing.plaf.basic.BasicProgressBarUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+22
    j com.incors.plaf.kunststoff.KunststoffProgressBarUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+3
    j javax.swing.plaf.ComponentUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+32
    j javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V+26
    j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+290
    j kosmos.basex.util.KosmosUtils.paintImmediately(Ljava/awt/Component;)V+7
    j kosmos.basex.ui.dialog.ProgressDialog.setProgress(I)V+36
    j kosmos.KosmosApp.Progress(Ljava/lang/String;)V+47
    j kosmos.KosmosApp.createUI()Z+823
    j kosmos.KosmosApp$1uitask.run()V+520
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x47fa8800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=11120, stack(0x48830000,0x48870000)]
    0x48017800 JavaThread "TimerQueue" daemon [_thread_blocked, id=4844, stack(0x486f0000,0x48730000)]
    0x47fda800 JavaThread "Thread-5" [_thread_blocked, id=8656, stack(0x486b0000,0x486f0000)]
    0x47fd6c00 JavaThread "Thread-4" [_thread_blocked, id=9784, stack(0x48660000,0x486a0000)]
    0x47f86800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=8336, stack(0x483c0000,0x48400000)]
    =>0x47f80800 JavaThread "Thread-3" [_thread_in_native, id=11164, stack(0x47d10000,0x47d50000)]
    0x47364c00 JavaThread "Image Animator 0" daemon [_thread_blocked, id=9872, stack(0x47cb0000,0x47cf0000)]
    0x4735a400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=11200, stack(0x47c70000,0x47cb0000)]
    0x47352400 JavaThread "APP THREAD" [_thread_blocked, id=10268, stack(0x47c30000,0x47c70000)]
    0x4731c000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=10296, stack(0x47540000,0x47580000)]
    0x4731ac00 JavaThread "AWT-Shutdown" [_thread_blocked, id=8412, stack(0x47500000,0x47540000)]
    0x47317400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=12040, stack(0x474c0000,0x47500000)]
    0x46e47c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10972, stack(0x471b0000,0x471f0000)]
    0x46e3d400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8952, stack(0x47160000,0x471b0000)]
    0x46e33800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=6884, stack(0x47120000,0x47160000)]
    0x46e2cc00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=12020, stack(0x470e0000,0x47120000)]
    0x46e2a800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=10376, stack(0x470a0000,0x470e0000)]
    0x46e1b000 JavaThread "Attach Listener" daemon [_thread_blocked, id=10472, stack(0x46fa0000,0x46fe0000)]
    0x46e37800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=12052, stack(0x46f60000,0x46fa0000)]
    0x46e09000 JavaThread "Finalizer" daemon [_thread_blocked, id=10348, stack(0x46f20000,0x46f60000)]
    0x46e04400 JavaThread "Reference Handler" daemon [_thread_blocked, id=6568, stack(0x46ee0000,0x46f20000)]
    0x00847800 JavaThread "main" [_thread_blocked, id=11564, stack(0x008e0000,0x00920000)]
    Other Threads:
    0x46e01800 VMThread [stack: 0x46e90000,0x46ee0000] [id=9788]
    0x46e49c00 WatcherThread [stack: 0x471f0000,0x47240000] [id=8676]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 314560K, used 117447K [0x029d0000, 0x17f20000, 0x17f20000)
    eden space 279616K, 42% used [0x029d0000, 0x09c81c48, 0x13ae0000)
    from space 34944K, 0% used [0x13ae0000, 0x13ae0000, 0x15d00000)
    to space 34944K, 0% used [0x15d00000, 0x15d00000, 0x17f20000)
    tenured generation total 699072K, used 0K [0x17f20000, 0x429d0000, 0x429d0000)
    the space 699072K, 0% used [0x17f20000, 0x17f20000, 0x17f20200, 0x429d0000)
    compacting perm gen total 12288K, used 10980K [0x429d0000, 0x435d0000, 0x469d0000)
    the space 12288K, 89% used [0x429d0000, 0x43489060, 0x43489200, 0x435d0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x00424000      C:\Program Files\Java\jdk1.6.0_22\bin\javaw.exe
    0x7c930000 - 0x7c9ce000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c92f000      C:\WINDOWS\system32\kernel32.dll
    0x77f50000 - 0x77ff8000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77d80000 - 0x77e12000      C:\WINDOWS\system32\RPCRT4.dll
    0x77ef0000 - 0x77f01000      C:\WINDOWS\system32\Secur32.dll
    0x77cf0000 - 0x77d7f000      C:\WINDOWS\system32\USER32.dll
    0x77e20000 - 0x77e68000      C:\WINDOWS\system32\GDI32.dll
    0x762e0000 - 0x762fd000      C:\WINDOWS\system32\IMM32.DLL
    0x62340000 - 0x62349000      C:\WINDOWS\system32\LPK.DLL
    0x73f80000 - 0x73feb000      C:\WINDOWS\system32\USP10.dll
    0x77bc0000 - 0x77c18000      C:\WINDOWS\system32\msvcrt.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\msvcr71.dll
    0x6d8a0000 - 0x6db47000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\client\jvm.dll
    0x76af0000 - 0x76b1b000      C:\WINDOWS\system32\WINMM.dll
    0x6d850000 - 0x6d85c000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\verify.dll
    0x6d3d0000 - 0x6d3ef000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\java.dll
    0x6d330000 - 0x6d338000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\hpi.dll
    0x76ba0000 - 0x76bab000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d420000 - 0x6d449000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\jdwp.dll
    0x6d740000 - 0x6d746000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\npt.dll
    0x6d890000 - 0x6d89f000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\zip.dll
    0x6d2b0000 - 0x6d2b7000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\dt_socket.dll
    0x719e0000 - 0x719f7000      C:\WINDOWS\system32\WS2_32.dll
    0x719d0000 - 0x719d8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71980000 - 0x719bf000      C:\WINDOWS\System32\mswsock.dll
    0x76ed0000 - 0x76ef7000      C:\WINDOWS\system32\DNSAPI.dll
    0x76f60000 - 0x76f68000      C:\WINDOWS\System32\winrnr.dll
    0x76f10000 - 0x76f3c000      C:\WINDOWS\system32\WLDAP32.dll
    0x64000000 - 0x64025000      C:\Program Files\Bonjour\mdnsNSP.dll
    0x76d10000 - 0x76d29000      C:\WINDOWS\system32\Iphlpapi.dll
    0x76f70000 - 0x76f76000      C:\WINDOWS\system32\rasadhlp.dll
    0x65cb0000 - 0x65d06000      C:\WINDOWS\system32\hnetcfg.dll
    0x719c0000 - 0x719c8000      C:\WINDOWS\System32\wshtcpip.dll
    0x6d0b0000 - 0x6d1fa000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\awt.dll
    0x72f50000 - 0x72f76000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76970000 - 0x76aad000      C:\WINDOWS\system32\ole32.dll
    0x77160000 - 0x77263000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.dll
    0x77e70000 - 0x77ee6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x5a480000 - 0x5a4b8000      C:\WINDOWS\system32\uxtheme.dll
    0x6d2e0000 - 0x6d32f000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\fontmanager.dll
    0x47580000 - 0x4759e000      C:\WINDOWS\SoftCamp\SDS\DSEDCon.dll
    0x7d5a0000 - 0x7dd9c000      C:\WINDOWS\system32\SHELL32.dll
    0x77bb0000 - 0x77bb8000      C:\WINDOWS\system32\VERSION.dll
    0x47450000 - 0x4745e000      C:\WINDOWS\DSIpcAg.dll
    0x475a0000 - 0x475a8000      C:\WINDOWS\system32\SXTracer.dll
    0x73d10000 - 0x73e0e000      C:\WINDOWS\system32\MFC42.DLL
    0x61300000 - 0x6130d000      C:\WINDOWS\system32\MFC42LOC.DLL
    0x477d0000 - 0x477f6000      C:\WINDOWS\WRMK.dll
    0x74660000 - 0x746ab000      C:\WINDOWS\system32\MSCTF.dll
    0x75110000 - 0x7513e000      C:\WINDOWS\system32\msctfime.ime
    0x47960000 - 0x479c9000      C:\WINDOWS\system32\IMKR12.IME
    0x770d0000 - 0x7715b000      C:\WINDOWS\system32\OLEAUT32.dll
    0x78130000 - 0x781cb000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCR80.dll
    0x7c420000 - 0x7c4a7000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCP80.dll
    0x4b9e0000 - 0x4bb86000      C:\WINDOWS\system32\d3d9.dll
    0x6de50000 - 0x6de56000      C:\WINDOWS\system32\d3d8thk.dll
    0x6d6b0000 - 0x6d6c3000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\net.dll
    0x6d4f0000 - 0x6d515000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\jpeg.dll
    0x47cf0000 - 0x47d00000      C:\Program Files\NATEON\BIN\NateOnHook40u.dll
    0x6d6d0000 - 0x6d6d9000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\nio.dll
    0x6c000000 - 0x6c02a000      C:\WINDOWS\SoftCamp\SDS\ASCore.dll
    0x6d250000 - 0x6d273000      C:\Program Files\Java\jdk1.6.0_22\jre\bin\dcpr.dll
    VM Arguments:
    jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:9607 -Xms1G -Xmx1G -Xss256K -Dlog4j.configuration=file:D:/Project_Work/etc/log4j.xml -Dfile.encoding=MS949
    java_command: kosmos.KosmosApp yslee bnp
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_22
    CLASSPATH=.;C:\Program Files\Java\j2re1.4.2_11\lib\ext\QTJava.zip
    PATH=C:\Program Files\Java\jdk1.6.0_22\jre\bin;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ESTsoft\ALZip;C:\Program Files\Java\jdk1.6.0_22\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ESTsoft\ALZip;C:\Program Files\IDM Computer Solutions\UltraEdit\
    USERNAME=20964
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2062180k(626912k free), swap 4004456k(1282796k free)
    vm_info: Java HotSpot(TM) Client VM (17.1-b03) for windows-x86 JRE (1.6.0_22-b04), built on Sep 15 2010 00:56:36 by "java_re" with MS VC++ 7.1 (VS2003)
    time: Tue Jan 11 16:39:14 2011
    elapsed time: 43 seconds

    thank you for your reply.
    I tried to update my video driver, but also happened this.
    my client told me to update registry authorization of javaSoft to Administrator's authorization.
    so I will try to do this.
    I will update this to you.

  • Executing Java Programs Without BlueJ

    I've created a program that includes a number of classes. I want to be able to pass it along to someone who doesn't have BlueJ installed on his computer. How can the program be executed or started from the command line prompt? In BlueJ, I create an object of a particular class and the rest is done within the methods of that class. (These methods are called in the constructor.) I added the following line to that main class:
    public static void main (String [ ] args)But I'm not sure what to put in that method. I'm also not sure of the exact command to enter in the command line prompt to get the ball rolling. Help?
    Any suggestions or helpful comments would be greatly appreciated!
    Thanks,
    Erica

    This example may help:
    public class HelloWorld {
        // Constructor does stuff
        public HelloWorld() {
            System.out.println("Hello World");
            // do other stuff
        // main method just creates a new HelloWorld object
        // the JVM exits when main returns
        // i.e. when the constructor returns in this case
        public static void main(String[] args) {
            new HelloWorld();
    }On the command line all you need to do is compile HelloWorld.java so that you end up with HelloWorld.class. Then do the following (in the same directory as the class file):
    java HelloWorldThat's it. Of course I'm not sure if BlueJ provides other non-standard libraries which may need to be in your classpath. That's a whole other issue.
    John

Maybe you are looking for