Can I execute C code in current Thread(process)?

Hi all,
I want to execute a Linux command within current Thread, but Runtime.exec() will start a new process to execute the command specified.
Does JNI can execute any system command or any C program in current Thread?
BTW, I tried JNA, following code will start new process too:
public interface CLibrary extends Library {
CLibrary INSTANCE = (CLibrary)Native.loadLibrary((Platform.isWindows() ? "msvcrt" : "c"),CLibrary.class);
void printf(String format, Object... args);
void system(String cmd);
public static void main(String[] args) {
     CLibrary.INSTANCE.system("sleep 5s");
Can I execute the Linux command within current Thread with JNA?
Any anwser will be appreciated!! Thanks!!
Raymond Zeng
Edited by: raymond.zeng on Dec 2, 2009 8:19 AM

Hi sabre150,
Thank you very much!
In fact, the reason I want native code run in current process is that native code will lock some system resource(such as COM port), I want to manipulate that resource in Java code after calling native code. (native code may run in a new thread for a long time, in the same time, Java code may need to manipulate the resource in other thread)
It is not import about whether start a new thread or not, but I really want the native code will be executed in a same process, so OS will not prevent me to manipulate that resource.
Is there any smart solution to do this?
Thanks!
Raymond Zeng

Similar Messages

  • How can i execute byte code from remote location.

    I want my program to execute byte code from some remote location.Should i ransfer class files to my pc and then execute it but i would it to be executed from remote location.

    ... but i would it to be executed from remote location.Sounds like you want to use RMI (Remote Method Invocation).
    Allows you to have a remote machine execute code.
    Start here:
    http://developer.java.sun.com/developer/onlineTraining/rmi/index.html

  • How can I execute certain code once the button on stake is hit at runtime? (in Flash CS4(AS3))

    Hi
    I am trying to figure out how to execute code once a button_btn is hit on stage at runtime.
    Thank you for help and tips!

    You can also try to create an event listener for the button itself.  (In as2.0 it was onClick or onPress or something to that effect, now I'm not sure what they are syntaxed as but there are event listeners for buttons which "listen" to see if the button has been pressed.  Mouse Events are good because it makes sure that the mouse is actually performing the action.  Don't know about accessibility with Mouse Events though since you can use a Tab key to direct input of buttons so try the Button event listeners.

  • Can I execute a code on pressing Enter key?

    Hi
    I want to execute a piece of code on pressing Enter key, while in a datablock in Query mode
    I tried KEY-ENTER trigger but nothing happens.
    Is that possible?
    Am I asking a nonsense thing?
    Thanks in advance
    Oscar

    no meaning to press enter in query mode. u can use buttons for directly running some other codes instead
    Thanks & Best Regards
    HuaMin
    Please remember to always mark the reply if it's helpful or related to your issue!

  • Can I execute JSP code in a dashboard page?

    if yes..how?

    Yes, it can be done. Problem is it depends on where you want to use it for against which kind of database and do your security people like it.... (you might need to install some APIs)
    Have a look this example :
    http://code.google.com/intl/nl/apis/gears/api_database.html
    regards
    John
    http://obiee101.blogspot.com/

  • How can i execute some code in a jsp page on the same page ? plz read.

    I have made a single JSP Page where in i want to delete users, create users, update table data.
    I have all the UI on the first page. Now i want to write my all JDBC coding on just this single page. I don't want to create 3 separate pages. Can it be done ?

    This is my page !!
    I have 3 separate pages insert.jsp, delete.jsp, update.jsp to implement the jdbc coding. I know that i can get it done by calling a single jsp page using URL rewriting. But i want to code for events on this very page only.
    <%@page language="java"%>
    <%@page import="java.sql.*"%>
    <HTML>
         <BODY>
              <form method=post action="insert.jsp">
                   Username:<input type=text name=username><br>
                   Password:<input type=password name=password><br>
                   <input type=submit>               
              </form>
              <hr>
              <form method=post action="delete.jsp">
                   Username:<input type=text name=username><br>
                   <input type=submit>               
              </form>
              <hr>
              <form method=post action="update.jsp">
                   Username:<input type=text name=username><br>
                   Password:<input type=password name=password><br>
                   <input type=submit>               
              </form>          
         </BODY>
    </HTML>

  • How can I execute program after using F4_Filename function?

    Hi all,
    I'm a new user on the forum. I've been working with ABAP and SAP for a few weeks. I wrote a program for importing data from excel file to SAP using BDC. During searching this forum I found information about F4_Filename function which allows users to browse the disc for a file. I'd like to add this function to my program. I have a parameter for a file name but this is an ordinary static string field. When I added the code which I found in the message on this forum the rest of program doesn't execute.
    This is simple program for example:
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    f_name = p_file.
    write:/ f_name.
    This program works correctly. There is a field for parameter. I can change the default name for a file.
    After all, I can run the program (F8) and rest of the code is executed. The field for parameter dissapears from the screen and the file name is displayed. ( command write)
    Now I added a function F4_Filename
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                program_name  = syst-repid
                dynpro_number = syst-dynnr
                field_name    = 'p_file'
           importing
                file_name     = p_file.
    f_name = p_file.
    write:/ f_name.
    I can browse a computer for a file now but after selecting the file I can't run the rest of the code. When I click on the icon or press key F8 the field for parameter doesn't dissapier and the command write is not executed.
    What do I do wrong?
    Could anyone suggest me a solution? How can I executed the code after using this function?
    Thanks in advance.
    Regards,
    Arek.

    Hi arkadiusz,
    1. simple
    2.
    <b>start-of-selection.</b>
    f_name = p_file.
    write:/ f_name.
    regards,
    amit m.

  • Execute Custom code to do a warning message on SSHR Manager Appraisal form

    Hello - I do not know much about Java/OAF, but I'm really trying to learn! Here is my requirement,
    please help me in getting this done.
    Requirement : On Employee appraisal form, they will have their yearly objectives and their weight percentages.
    These objectives weight percentage is in per_appraisal table attribute1 field(DFF).
    The total weight percentage of an employess all objectives should be equal 100.
    When manager will login to give them a final rating, the total of all weights percentages should be equal to 100,
    if not I have to through a warning message on the Manager's appraisal form(CompFinalRatingsCO).
    To calculate the total weight, we can certainly write a small pl/sql function or a procedure.
    But how can I execute that code and show a warning message on SelfService HR Manager Appraisal form?
    Thanks in advance for your help.
    Thanks
    - Srini

    1) extend the CO attached to your page.
    2) Capture the Button in Processformrequest of your extended CO.
    3) Call a plsql function or procedure with OUT param which will return whether 100% weightage has been entered or not.
    If Not, then throw warning message.
    Here is the way to call Plsql proc with OUT param.
    String sql =
    "BEGIN bcr12_mapping_tool_procs_pkg.XXBCR12_HAS_MANDATORY(:1,:2); END;";
    OracleCallableStatement cs =
    (OracleCallableStatement)am.getOADBTransaction().createCallableStatement(sql,
    1);
    try {
    cs.registerOutParameter(2, 1, 0, 2000);
    cs.setString(1, int_name);
    cs.execute();
    String new_status = cs.getString(2);
    cs.close();
    if ("Y".equals(new_status.trim())) {
    throw new OAException("Please enter all mandatory column highlighted.",
    (byte)0);
    } catch (Exception ex) {
    throw new OAException(ex.getMessage());
    }

  • Execute Java Code on client

    Hello,
    how can i execute java code on clientside?

    I guess you will have to add an applet to the web page.
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/applet.html

  • Execute MSIL code using JAVA

    How can I execute MSIL code using java?

    Thanks for your reply. I did it in google and didn't find any useful think.
    I just want to know is there any technique in java or already written product that can do that.
    Any advice will be helpful. Thanks

  • Executing Simulink Code on cRIO

    Hi everyone,
    I am wondering if anyone has a Mathworks Simulink model running on an RT target such as cRIO.
    In other projects I've done this on the past using LabVIEW 2010 SP1 and Simulation Interface Toolkit (SIT). You would compile a Simulink model as a DLL, OUT or RTDLL, and used it on a timed loop with SIT's VIs.
    What I am reading for LabVIEW 2014 talks about Model Interface Toolkit, but it always refers to running the compiled model on a Host PC.
    Does anyone know if it is possible to run DLL compiled with MIT on an RT target????
    Regards!
    g_l_u_p
    Solved!
    Go to Solution.

    A DLL is a Windows executable format. As such it only ever can run on Pharlap based RT targets. VxWorks based ones use the special .out format, while the new Linux RT are using ELF shared libraries, compiled either for the ARM (cRIO 906x and myRIO) or x64 (cRIO 903x) architecture. So unless your Simulink code can be compiled to either of these two shared library formats,  you can not execute the code on any of the non Pharlap based targets.
    Even the Pharlap ones pose some serious challenges. For one the Pharlap ETS OS is not a fully implemented Win32 API but a subset of this. DLLs that are compiled to run on an NT4 or 2000 system have a good chance to run on Pharlap. DLLs for newer Windows variants are likely to make use of either Win32 APIs that do not exist in Pharlap ETS or of Visual C runtime versions that are not available for the Pharlap OS. The Visual C 6 runtime was directly implemented in the Win32 API and basically didn't require any extra install if you were not running on Win95. NI ported the Visual C 7.1 and Visual C 9.0 runtime to their Pharlap targets but newer C runtimes than that are simply not supported. And Visual C DLLs and executables require different runtimes for each Visual C version. So unless your DLL is compiled with Visual C 6, 2003 (MSVC runtime 7,1) or 2008 (MSVC runtime 9.0) the DLL will likely not be compatible with the Pharlap RT system either. 
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Table for transaction code for creation of process order

    Hi Gurus,
    Please tell me, in which table i can see the transaction code used to create process order.
    regards
    Kaisar

    Hi,
    Table for transactions is TSTC.
    If your looking for t-code for process order - COR1.
    Regards,
    Vivek

  • How can I get Firefox to execute html code in a text file?

    I used Notepad to create a text file, markup.html, that contains html code. How can I get Firefox to execute this code?
    Also, how can I use the <script> tag in the html code using the src attribute to execute code in a file written in Javascript?

    First guess is that you did not use an .html extension on the file. The file may well be ''name.html.txt''
    * see http://www.bbc.co.uk/webwise/guides/file-extensions
    *http://windows.microsoft.com/en-gb/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-vista
    Forum Note
    This is normally offtopic for this forum. I say normally because now we cover webmaker questions. I wonder if this is therefore on topic as a webmaker question?
    I have tagged with webmaker-contribution

  • 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.

  • Simple Question: Getting Current Thread

    hi. i'm confused about the currentThread() method. it's a method of the Thread class, but if you have to call it from a Thread, then what's the point?
    say in my program i want to find out what the currently executing thread is. how can i call a method of the Thread class when i don't have a Thread object? if i knew which thread were running, i wouldn't need to call the function. you know what i mean?
    so i guess there must be a way to get ahold of whatever thread you're in at any point in your code, right? what if i want to get the currently executing thread in my GUI- like, everytime i push a certain button, i want to put the thread handling that button to sleep or something. can it be done? if so, how?
    thnx in advance
    ~spoongirl

    I'm not familiar with the static keyword in C, but when it's used for a method in Java, it means the method is a class method instead of an instance method.
    Consider the Math class, with a whole bunch of static methods. For example, the cos(double a) method. The cosine of a 45 degree angle will always be the same, so there's no need to have an instance of the Math class in order to use the method; regardless of what you would want to do with that instance, the cos() method would have to return the same value if you pass it the value 45, so it might as well be accessible regardless of whether or not there's an instance of the class.
    The same is true for variables. Again in the Math class, there's the constant PI. The value of PI is always going to be 3.14etc., so there wouldn't be a reason to have PI be an instance variable that could be changed for each instance. Instead, by making it static, you don't have to have an instance to use it, you just use Math.PI.
    I hope that makes sense. It took me a few months with of an ineffective instructor before I really understood the significance of the modifiers static, protected, private, etc. Hopefully I'm not being equally ineffective now. :)
    Rich

Maybe you are looking for

  • Windows Error 48 Ipod can't update

    Anybody know how to fix this problem Everything has worked fine for about 3 weeks. Connected Ipod Nano 4gb to Itunes tonight and got message "Error 48 - Problem with Ipod cannot update Ipod". Only solution I could find was to reset Ipod and reload al

  • How to install OS X from .dmg onto a hard disk partition? - ALL LEGAL

    Hi there, I have a .dmg file with Mac OS X on it. How to I install it onto a partition I have created on my Mac's hard drive? It is legal, don't worry, its dev software. Thanks!

  • Bug Report: PLSQL variable names

    Hello, I am using Oracle 10g Release 2 and have come across an issue that I think maybe a bug. I don't seem to be able to declare a PL/SQL variable using the %TYPE attribute where the variable name is the same as the table name. For example: CREATE T

  • Unavailable in the USofA

    Does anybody know when things such as nirvana videos will be available to US residents?

  • Error Message: ORA-01092: ORACLE instance terminated.

    Hi I am getting the following error message while installing SAP R/3 IDES System 4.7.1 Do have an idea why getting this error. Installation Progress At step: Oracle Database Build An error occurred during the installation. Press the log view button t