How do I start Java? I'm a novice.

I got a java book and just downloaded JDK 5.0 Update 3. After installing it, I couldn't find a
way to start the program. There's no icons or exe. files that can do that. I was just going to
try to type in some simple samples from the book. Now I can't even do that.
Thanks.

Hahaha, I think this is a serious case of a Windows user thinking all programs can be started from an icon (technically it can if things are setup right).
Well, pity those who didn't live through the era of command lines. Anyway, I am till now just kidding around so don't flame me, yet.
To maybe start learning from scratch, the OP may decide to learn a bit of shell and windows command to at least get a feel of how to use command lines to work.
Google gave me the following links:
Windows XP Commands - http://www.ss64.com/nt/
Using the Windows Console - http://dream.cs.bath.ac.uk/software/sndan/use_console.html
regards,
james

Similar Messages

  • How should i start Java Card Programming?

    Hi All,
    I am a j2me programmer and now would like to learn and develop some applications in JavaCard Technology. but the problem is i dont know how should i start with JavaCard Programming?What all hardwares and softwares will i require for doing JavaCard programming?Can anyone give me some project ideas too for programming in JavaCard Technology
    Thanks
    Sagar

    I think it's best you start here:
    http://java.sun.com/products/javacard/index.jsp
    Some hints about books/specs you can find in this post:
    http://forum.java.sun.com/thread.jspa?forumID=23&threadID=5114170
    There are a variety of Java Card development tools. Just browse through this forum.

  • How do you start java environment on PC after installation

    Just downloaded the Java SE Development Kit JDK6 Update 14, installed it on my PC,but the installation does not put an icon on the desktop for you to start the applciation, documentation does not seems to say how you start the environment. Can somebody explain to me how this JSE is suppose to work.
    thanks

    choykwokwing wrote:
    I thought it would be like a c compilerYes, it is. Or better: it contains a compiler, among other things.
    , you get a gui where you can load a file or create a file and click some button to compile and then run the program.That's not what a compiler does. What you describe is an Integrated Development Environment (= IDE).
    Just like you do with a Microsoft C++ compiler.No, the Microsoft C++ compiler doesn't do that. Visual Studio does that. Visual Studio is an IDE, not a compiler.
    does it only work on command line like open a dos window and type javac <filename>The JDK alone only works that way, yes.
    There are IDEs for Java as well, of course.
    I still suggest you start your journey with a good editor (Notepad++, JEdit) and the command line tools only. This will help you learn some important concepts.

  • How do you start java

    I'm running 10.6.8 and my wife is trying to play club pogo but it says i need to enable the java applet and web start
    how do I so this

    I just got off phone with AppleCare about same issue. Here is how to fix:
    How to reinstall Java for 10.6.8:
    - Go to:  /System/Library/Java/Support/CoreDeploy.bundle/Contents
    -  Move: javaAppletPlugin.plugin to the trash
    -  Run update   ---   Found at: http://support.apple.com/kb/DL1573
    -  Reset safari
    -  Empty cache

  • I'm a new java learner from china,how should I start my journey?

    I have never learned java before,how should I start it? Dose it hard to learn?
    At the beginning,which part of it should I learn?
    Thank you !

    Advice:
    1. Learn the basics with simple command line applications first. Don't worry about complicated topics like Swing, databases, Web applications, etc. for at six months
    2. After you learn how to write, compile & run programs with just a text editor & Java compiler, download & learn to use an Integrated Development Environment, such as Eclipse. Especially, learn how to use the debugger that comes with the IDE.
    3. Experiment with lots of small programs & examples. Learn by doing (and by making mistakes).
    4 Find others in your community who use Java & learn from them.

  • How do I start and suspend Java Application from say C++ program

    I want to start a Java application via C++ and on some condition i want to suspend the same program not terminate , but suspend

    Have you tried running the virtual machine from your C++ application ? You can start Java applications from your C++ application using JNI after starting the Virtual machine from within your C++ application. According to the Java documentation you can even now stop the virtual machine from within your C++ program.
    I haven't looked at the 'suspend' detail but I suppose it will not be a problem to call a method via JNI to set a flag to suspend a thread etc.
    There is a tutorial: 'Invoking the Java Virtual Machine' at the following URL: http://java.sun.com/docs/books/tutorial/native1.1/invoking/invo.html.
    This example seems to work only for version1.1 of the JDK. For JDK1.3, version 1.2, (I am not so sure whether I fully understand Sun's version numbers for Java yet) there is some updates on the JNI for starting the VM from C++. This article is called 'JNI Enhancements'. The URL for this article is:
    http://java.sun.com/j2se/1.3.0/docs/guide/jni/jni-12.html
    You have to set version to: JNI_VERSION_1_2
    There is only one problem. I get an error when calling JNI_CreateJavaVM from C++. I could not find any documentation that indicates how you can go about diagnosing what is causing the problem. Normally in Visual C++ you can just get the probable cause by inspecting GetLastError() or the function itself can return helpful diagnostic (error) codes.
    If you manage to start the VM correctly from within Visual C++ please let me know. My email address is [email protected]
    good luck
    Henko

  • How to start java applet with netbeans 6.1

    hey,
    I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)

    You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
    [http://www.netbeans.org/kb/61/web/applets.html]
    Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help.

  • How to start java card development?

    Good Evening all,
    I am novice for java card development , from last some days I study java card and terms related to it, now i have some knowledge about applets , and API. as i read about java card 2 and 3, I think i moved to java card 2 that's why i download jcdk 2.1.
    Now i want to do something in development rather than further conceptual study. Frankly speaking I m confused where to move because different sites have different point of view so i want to execute my knowledge which i earned from last some days...
    so I want to ask
    1- which IDE would be best for java card development? { eclipse or net beans or something other}
    2- what things i would be require during java card application?{ java sdk version? jcdk version? ocf? or what}
    3- at start i want to use simulation technique to test what i made and how its work, so for this which tool or IDE would be best work for me,
    so kindly request you to guide me and show me the path where i can move and achieve what i want..
    ---------------------------------------------------------------------------------------------------Thank you in advance------------------------------------------
    Edited by: 911936 on Feb 2, 2012 10:01 AM

    Hello umer,
    last night it seems very tough to execute sample program of jcdk 2.2 but finally i make it, and i also i got the IDE - net beans that is very good for java card...
    I think i should share my knowledge here for next novice people...
    ----------------------------------------------------------------------------java card development require-------------------------------------------------------------
    Because here we use java for java card so we require
    1- java development kit (JDK) - use below link to get this.
    [get jdk here|http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-windows-i586.exe]
    2- Java card require java card development kit (JCDK) I think java card version 3 is latest but i used jcdk 2.2.1
    [get jcdk here|http://download.oracle.com/otn-pub/java/java_card_kit/2.2_01/java_card_kit-2_2_01-win-gl.zip]
    now  i think this is enough to start java card development...
    follow below steps
    1- install jdk 6 in c:/java/jdk1.6
    2-keep jcdk in c:/java_card_kit-2_2
    3- open command prompt and run
    a)-set JC_HOME=c:\java_card_kit-2_2
    b)-set JAVA_HOME=c:\java/jdk1.6
    c)-set PATH=%JC_HOME%\bin;%PATH%
    4-there are some sample project in scdk, if you want to get confidence , u should run one of them..
    run command- jcwde jcwde.app { jcwde is a simulator where u check what u made }
    and run this command in another command prompt- apdutool -nobanner -noatr demo1.scr > demo1.scr.jcwde.out
    You can get detail of 3 and 4 step from cJDK_Users_Guide.pdf which is present in jcdk.
    ------------------------this  is all which u need to do to get confidence in java card, but dont be over confident because in reality "the ball is not in your court yet"
    Note- if you are searching which java IDE is best for java card development then
    [click here- this is one of the best ide for java card|http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/bundles/netbeans-7.1-ml-windows.exe]
    Edited by: 911936 on Feb 3, 2012 8:58 AM

  • Unable to start java engine: dispatcher status is "yellow" in windows2003

    Hi Gurus,
    we have installed ECC6 in windows 2003.
    we are getting an error while starting java engine, dispatcher node is in yellow colour with a message
    "J2EE status info unavailable"
    and dev_disp says "<<
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      04
    sid        ECC
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    146
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        3688
    Wed Apr 22 18:22:22 2009
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (04 3688) [dpxxdisp.c   1243]
         shared lib "dw_xml.dll" version 146 successfully loaded
         shared lib "dw_xtc.dll" version 146 successfully loaded
         shared lib "dw_stl.dll" version 146 successfully loaded
         shared lib "dw_gui.dll" version 146 successfully loaded
         shared lib "dw_mdm.dll" version 146 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3904
    Wed Apr 22 18:22:25 2009
    WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0000.qqq.nxst) took 3 seconds
    Wed Apr 22 18:22:29 2009
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >ECC6_ECC_04                             <
    DpShMCreate: sizeof(wp_adm)          18672     (1436)
    DpShMCreate: sizeof(tm_adm)          4270848     (21248)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 09310040, size: 4930904)
    DpShMCreate: allocated sys_adm at 09310040
    DpShMCreate: allocated wp_adm at 09312090
    DpShMCreate: allocated tm_adm_list at 09316980
    DpShMCreate: allocated tm_adm at 093169B0
    DpShMCreate: allocated wp_ca_adm at 097294B0
    DpShMCreate: allocated appc_ca_adm at 0972F270
    DpShMCreate: allocated comm_adm at 097311B0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 097B2070
    DpShMCreate: allocated gw_adm at 097B20B0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 097B20E0
    DpShMCreate: allocated wall_adm at 097B20E8
    Wed Apr 22 18:22:30 2009
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 511 blocks reserved for free list.
    ES initialized.
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 5052
      argv[0] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[1] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[2] = pf=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=65000
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=ECC
      argv[7] = -DSAPMYNAME=ECC6_ECC_04
      argv[8] = -DSAPPROFILE=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1633]
    ***LOG Q0K=> DpMsAttach, mscon ( ECC6) [dpxxdisp.c   11822]
    DpStartStopMsg: send start message (myname is >ECC6_ECC_04                             <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 146
    Release check o.K.
    DpJ2eeLogin: j2ee state = CONNECTED
    Wed Apr 22 18:22:31 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 4 / sock 480
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2089) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=5052)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    Wed Apr 22 18:23:10 2009
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 4104
      argv[0] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[1] = F:\usr\sap\ECC\DVEBMGS04\exe\jcontrol.EXE
      argv[2] = pf=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=64999
      argv[5] = -DSAPSYSTEM=04
      argv[6] = -DSAPSYSTEMNAME=ECC
      argv[7] = -DSAPMYNAME=ECC6_ECC_04
      argv[8] = -DSAPPROFILE=F:\usr\sap\ECC\SYS\profile\ECC_DVEBMGS04_ECC6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    DpJ2eeLogin: j2ee state = CONNECTED
    Wed Apr 22 18:23:11 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 7 / sock 416
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2166) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=4104)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    >>
    Kindly, help.
    Thanks & Regards,
    Devender V

    Hi Community,
    I have to warm this topic again.
    I'm facing the same problem like devender. I followed the posted advices, whithout any change. I also checked note 741289 - no change. I restarted the j2ee engine out of TA SMICM where I also checked the application server's state (j2ee Server Operational = FALSE) - no effect.
    In SAPMMC I restarted the instance without any effect. The disp+work.EXE still has a yellow state, says "Running, Message Server connection ok, Dialog Queue time: 0.00 sec, J2EE status info unavailabe.
    I think the developer trace says the same like devenders:
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1668]
    ***LOG Q0K=> DpMsAttach, mscon ( chopin) [dpxxdisp.c   12364]
    DpStartStopMsg: send start message (myname is >chopin_EI3_00                           <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 175
    Release check o.K.
    Fri Nov 12 11:34:00 2010
    DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
    I followed ravi raj's instructions, so that is the part of the  content of dev_jontrol:
    [Thr 6844] *** WARNING => JsfOpenShm: ShmCreate (69, 295952, CREATE) failed(rc = 4 SHM segment already exists) [jsfxxshm.c   715]
    [Thr 6844] *** ERROR => JsfOpenShm: Shm version mismatch (shm "JSF-ADM-CORRUPT", code "JSF-ADM-015") [jsfxxshm.c   761]
    [Thr 6844] *** ERROR => Can't create shared memory segment 69 (rc = 8) [jcntrxx.c    1749]
    [Thr 6844] *** ERROR => Can't initialize JControl Administration [jcntrxx.c    273]
    [Thr 6844] JControlCloseProgram: started (exitcode = -1)
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(SESSION) failed (rc = 6 invalid argument) [jsfxxshm.c   1243]
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(ALIAS) failed (rc = 6 invalid argument) [jsfxxshm.c   1250]
    [Thr 6844] *** ERROR => JsfCloseShm: FiDetachIndex(SERVICE) failed (rc = 6 invalid argument) [jsfxxshm.c   1257]
    [Thr 6844] JControlCloseProgram: good bye... (exitcode = -1)
    Can someone please translate it for me, or give me an tipp what to do?
    Thanks in advance,
    -ty-
    Edited by: Tan Yildiz on Nov 12, 2010 1:38 PM
    In the servers process-list (Task Manager) there is no entry for jlaunch (related to [Java Startup und Control Framework|http://help.sap.com/saphelp_NW70/helpdata/de/4f/7ead42c893b211e10000000a155106/content.htm] )
    Edited by: Tan Yildiz on Nov 12, 2010 2:18 PM
    There's the solution manager running on the same server. In his instance everything's fine.
    After changing some instance parameters i'm getting some errors:
    1. Parameter Name: jstartup/instance_properties
       General standardvalue: $(jstartup/j2ee_properties)$(FILE_SEP)$(jstartup/sdm_propert
       Specified standardvalue: D:\usr\sap\EI3\D00\j2ee\cluster\instance.properties;D:\usr\s
    2. Parameter Name: exe/j2ee
        General standardvalue: (Default)
        Specified standardvalue. D:\usr\sap\EI3\SYS\exe\run\jcontrol.EXE
    Ok, I think I got it. The specified standardvalues the system is selecting are wrong.....but how can I influence the systems selection?
    Edited by: Tan Yildiz on Nov 12, 2010 2:29 PM
    Edited by: Tan Yildiz on Nov 12, 2010 2:42 PM

  • SAP dispatcher status is stopped in Console how can i start it

    Hi All
    Help me out
    *SAP dispatcher status is stopped in Console how can i start it
    Dispatcher turns green to yellow suddenly and status changes to stopped and all WP elemets shows status as ended.
    Alert from Syslog  : SAP Basis System: Message server disconnected
    Tracert : Disp+work.exe
    trc file: "dev_disp", trc level: 1, release: "640"
    Thu Oct 02 12:32:52 2008
    kernel runs with dp version 128(ext=102) (@(#) DPLIB-INT-VERSION-128)
    length of sys_adm_ext is 312 bytes
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    21
    intno      20020600
    make:      multithreaded, ASCII
    pid        736
    ***LOG Q00=> DpSapEnvInit, DPStart (00 736) [dpxxdisp.c   1100]
         shared lib "dw_xml.dll" version 21 successfully loaded
         shared lib "dw_xtc.dll" version 21 successfully loaded
         shared lib "dw_stl.dll" version 21 successfully loaded
         shared lib "dw_gui.dll" version 21 successfully loaded
    Thu Oct 02 12:32:58 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3886]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          6624     (828)
    DpShMCreate: sizeof(tm_adm)          2219848     (11044)
    DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)          192000     (384)
    DpShMCreate: sizeof(vmc_adm)          0     (320)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 05270040, size: 2505416)
    DpShMCreate: allocated sys_adm at 05270040
    DpShMCreate: allocated wp_adm at 052717A8
    DpShMCreate: allocated tm_adm_list at 05273188
    DpShMCreate: allocated tm_adm at 052731B0
    DpShMCreate: allocated wp_ca_adm at 054910F8
    DpShMCreate: allocated appc_ca_adm at 05495748
    DpShMCreate: allocated comm_adm_list at 05496EB8
    DpShMCreate: allocated comm_adm at 05496ED0
    DpShMCreate: allocated vmc_adm_list at 054C5CD0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 054C5CF8
    DpShMCreate: allocated wall_adm at 054C5D00
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2450 MB
    <ES> 2449 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( home) [dpxxdisp.c   9719]
    CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 21
    Release check o.K.
    Thu Oct 02 12:33:38 2008
    ERROR => W0 (pid 1500) died [dpxxdisp.c   12170]
    ERROR => W1 (pid 3796) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3548) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 1464) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 3368) died [dpxxdisp.c   12170]
    ERROR => W5 (pid 3400) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 2620) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 380) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-1500 (SIGUSR2)
    ERROR => DpWpKill(1500, SIGUSR2) failed [dpxxtool.c   2468]
    killing W1-3796 (SIGUSR2)
    ERROR => DpWpKill(3796, SIGUSR2) failed [dpxxtool.c   2468]
    killing W2-3548 (SIGUSR2)
    ERROR => DpWpKill(3548, SIGUSR2) failed [dpxxtool.c   2468]
    killing W3-1464 (SIGUSR2)
    ERROR => DpWpKill(1464, SIGUSR2) failed [dpxxtool.c   2468]
    killing W4-3368 (SIGUSR2)
    ERROR => DpWpKill(3368, SIGUSR2) failed [dpxxtool.c   2468]
    killing W5-3400 (SIGUSR2)
    ERROR => DpWpKill(3400, SIGUSR2) failed [dpxxtool.c   2468]
    killing W6-2620 (SIGUSR2)
    ERROR => DpWpKill(2620, SIGUSR2) failed [dpxxtool.c   2468]
    killing W7-380 (SIGUSR2)
    ERROR => DpWpKill(380, SIGUSR2) failed [dpxxtool.c   2468]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Oct 02 12:33:48 2008
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Thu Oct 02 07:03:48 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     1500 Ended         no      1   0             0                                                             
    1 DIA     3796 Ended         no      1   0             0                                                             
    2 UPD     3548 Ended         no      1   0             0                                                             
    3 ENQ     1464 Ended         no      1   0             0                                                             
    4 BTC     3368 Ended         no      1   0             0                                                             
    5 BTC     3400 Ended         no      1   0             0                                                             
    6 SPO     2620 Ended         no      1   0             0                                                             
    7 UP2      380 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Thu Oct 02 07:03:48 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    8
    8
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    since last update     total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    Dump of tm_adm structure:               Thu Oct 02 07:03:48 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Thu Oct 02 07:03:48 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Oct 02 12:33:53 2008
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (676) (SOFT_KILL)
    Stop icman
    killing process (924) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:676  HANDLE:1564)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Oct 02 12:33:54 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:676  HANDLE:1564)
    [DpProcDied] Process died  (PID:924  HANDLE:1556)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    NiIMyHostName: hostname = 'home'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9945]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1572
    MsIDetach: detach MS-system
    EsCleanup ....
    Thu Oct 02 12:33:55 2008
    ***LOG Q05=> DpHalt, DPStop ( 736) [dpxxdisp.c   8478]
    Good Bye .....
    Trace from WP table DIA 1
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Thu Oct 02 12:32:59 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll' ...
    B  Library 'C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.19)
    B  New connection 0 created
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    21
    M intno      20020600
    M make:      multithreaded, ASCII
    M pid        1500
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1500) [dpxxdisp.c   1160]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: JAVA is not active
    M  DpShMCreate: sizeof(wp_adm)          6624     (828)
    M  DpShMCreate: sizeof(tm_adm)          2219848     (11044)
    M  DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    M  DpShMCreate: sizeof(comm_adm)          192000     (384)
    M  DpShMCreate: sizeof(vmc_adm)          0     (320)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 05A70040, size: 2505416)
    M  DpShMCreate: allocated sys_adm at 05A70040
    M  DpShMCreate: allocated wp_adm at 05A717A8
    M  DpShMCreate: allocated tm_adm_list at 05A73188
    M  DpShMCreate: allocated tm_adm at 05A731B0
    M  DpShMCreate: allocated wp_ca_adm at 05C910F8
    M  DpShMCreate: allocated appc_ca_adm at 05C95748
    M  DpShMCreate: allocated comm_adm_list at 05C96EB8
    M  DpShMCreate: allocated comm_adm at 05C96ED0
    M  DpShMCreate: allocated vmc_adm_list at 05CC5CD0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 05CC5CF8
    M  DpShMCreate: allocated wall_adm at 05CC5D00
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.
    M  calling db_connect ...
    C  Got ORACLE_HOME=C:\oracle\ora92 from environment
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPSUD's password
    C  Connecting as /@SUD on connection 0 ...
    C  Attaching to DB Server SUD (con_hdl=0,svchp=040D325C,svrhp=040D3E34)
    C  Starting user session (con_hdl=0,svchp=040D325C,srvhp=040D3E34,usrhp=040DC614)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      3721]
    C  Detaching from DB Server (con_hdl=0,svchp=040D325C,srvhp=040D3E34)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    9753]
    C  Try to connect with default password
    C  Connecting as SAPSUD/<pwd>@SUD on connection 0 ...
    C  Attaching to DB Server SUD (con_hdl=0,svchp=040D325C,svrhp=040D3E34)
    C  Starting user session (con_hdl=0,svchp=040D325C,srvhp=040D3E34,usrhp=040DC614)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      3721]
    C  Detaching from DB Server (con_hdl=0,svchp=040D325C,srvhp=040D3E34)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    9753]
    B  ***LOG BV3=> severe db error 1033      ; work process is stopped [dbsh#2 @ 1195] [dbsh    1195 ]
    B  ***LOG BY2=> sql error 1033   performing CON [dblink#1 @ 419] [dblink  0419 ]
    B  ***LOG BY0=> ORA-01033: ORACLE initialization or shutdown in progress [dblink#1 @ 419] [dblink  0419 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1271]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9379]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server home_SUD_00 on host home (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Thu Oct 02 12:32:59 2008
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9555
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  246]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 1500) [dpnttool.c   357]
    Thanks in advance please help me out
    Edited by: sudhakar aleti on Oct 2, 2008 12:54 PM
    Edited by: sudhakar aleti on Oct 2, 2008 12:56 PM

    Hi All please find the result r3trans -d
    4 ETW000 r3trans version 6.09 (release 640 - 28.04.04 - 16:14:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 03.10.2008 - 11:02:35
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: r3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Fri Oct 03 11:02:36 2008                            5494  0.005494
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    40  0.005534
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             26  0.005560
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dboraslib.dll' ...                33  0.005593
    4 ETW000  [dev trc     ,00000]  load shared library (dboraslib.dll), hdl 0        139566  0.145159
    4 ETW000  [dev trc     ,00000]      using "C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll"
    4 ETW000                                                                              22  0.145181
    4 ETW000  [dev trc     ,00000]  Library 'dboraslib.dll' loaded                         7  0.145188
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dboraslib.dll
    4 ETW000                                                                              13  0.145201
    4 ETW000  [dev trc     ,00000]  Version of 'dboraslib.dll' is "640.00", patchlevel (0.19)
    4 ETW000                                                                            2501  0.147702
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dboraslib.dll
    4 ETW000                                                                              12  0.147714
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dboraslib.dll
    4 ETW000                                                                              18  0.147732
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              13  0.147745
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              15  0.147760
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                      12391  0.160151
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              12  0.160163
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              14  0.160177
    4 ETW000  [dev trc     ,00000]  Found ORACLE_HOME=C:\oracle\ora92 in Registry        796  0.160973
    4 ETW000  [dev trc     ,00000]  -->oci_initialize                                    400  0.161373
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.WE8MSWIN1252
    4 ETW000                                                                           34020  0.195393
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => Cannot connect: TNS-name missing         11  0.195404
    2EETW169 no connect possible: "DBMS = ORACLE                           --- TWO_TASK = ''"
    Thanks
    Sudhakar A

  • How can I define "java.util.ResourceBundle" in my Code ?

    Dear Mr. MLRon,
    Thanks to you for your replying to me.
    How can I define "java.util.ResourceBundle" in my Code ? To more understanding about my problem I can say that the Persian Font is Like as Arabic, but the Java can not Recognize it. please tell me how can I add "java.util.ResourceBundle" to my code and what should I do then?
    Thank you in advance,
    Tantan.

    Please stop starting new threads for this. Please reply in the original thread!
    http://forum.java.sun.com/thread.jspa?threadID=627917

  • How to retrieve the java object in a proxy service in osb -- Plz help

    Hi all,
    I have a singleton java class which runs whenever the weblogic server gets started and store the output in its object. I need to access this java object from a proxy service in osb.
    We tried using java call out and retrieved that object but we couldn't know how to parse that object into XML.
    We are not sure of using the java call out in osb to solve this purpose because whenever we use a java callout, that particular java code will run which is not the case of singleton class.
    So kindly help us how to retrieve the java object which holds the output without running the java code every time because its already run and holding the output in its object.
    Regards
    Prabhu

    here the doc http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html#wp1106656
    but I guess you are already at the stage of getting a POJO in a first Java Callout and passing the POJO to a second Java Callout, which should then return it to OSB as a XMLObject.
    My recommendation is to write a Java function which returns a XMLObject and uses a XMLCursor to populate it with the values of the POJO.
    An XMLObject returned to the OSB is automatically transformed in a "XML" variable (which in reality is represented as a XMLObject in the Pipeline context)
    Here some code sample:
    http://www.javamonamour.org/2010/09/how-to-create-xmlobject-using-xmlcursor.html

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

  • How to execute one java file in another java file

    Hi All!
    I hava a problem.. I need to validate functionality of one java file in my Junit test case.. so, I need to run that java file in my test file..
    How should I start with???? Are there any java API's for that.. I checked 'system' ..but which function will suite that functionality,,I am not sure about..

    I need to check the functionality of deletetion which
    is done by a java class.. Now I need to check this
    functionality..whether it is deleting or not... in my
    test case.. so, for that I need to execute that java
    file in similar manner as how we normally do it...,
    in my test case..So let the test case create a file and have your class delete it. What's there to run?

  • How do I update Java for Adobe Flash CS3?

    Hi,
    When I ran Secunia Software Inspector today it told me that
    the version of Java I have installed on my computer is out of date.
    It tells me that it is finding 3 out-of-date files:
    Once here:
    C:\Program Files\Java\jre1.6.0_04\bin\java.exe
    Twice here:
    C:\Windows\System32\java.exe
    and three times here:
    C:\Program Files\Adobe\Adobe Flash CS3\JVM\bin\java.exe
    I updated Java via the Sun website and consequently the first
    and second warnings disappeared when I reran the Software
    Inspector.
    The software inspector however is still finding an
    out-of-date Java version here:
    C:\Program Files\Adobe\Adobe Flash CS3\JVM\bin\java.exe
    Question is: How do I update Java for Adobe Flash CS3?
    Is it adequate to copy the updated file "java.exe" from
    "C:\Program Files\Java\jre1.6.0_04\bin\" to "C:\Program
    Files\Adobe\Adobe Flash CS3\JVM\bin\" or do I need to do anything
    else?
    Any help will be much appreciated.

    Hi
    I have the same problem of you, and the same dont find a
    solution. Me it's Kaspersky Anti Virus (AV) which find this
    problem.
    So (and I dont know if this solution is perfect), but I open
    Flash CS3 with the Java update choiced and apparently Flash
    fonctionnely well and Kaspersky dont find this
    prob now. But I dont never use Java in Flash (or without that
    I know that..), and same, I dont know at what Java is used in Flash
    I think that "JRE v 1.6.0_04" and more recent Java version is
    not good, because it's not quite the same Java application that in
    Flash CS3, In Flash CS3 it's "J2RE" and
    not "JRE".
    The history of all Java versions (and this) is here (
    http://java.sun.com/products/archive/)
    (but in all this versions... seriousely it's a true shambles !)
    If you want the last version for J2RE in this archives it's v
    1.4.2.18 but the last version is J2RE 1.4.2.19 but dont again in
    this archives
    (search on Java site, maybe first page ? I dont remember
    where I to find it...). But the problem... it's that this last
    version (19) is always detected bad by my AV...
    So I decide to use just the next version (v 1.5) and last
    version in this series (in archives site) which is the "JDK/JRE -
    5.0 v 5.0.16" but again named "Java 2 Platform
    Standard Edition (J2SE) 5.0 Update 16" in this dowload next
    archives page
    http://java.sun.com/products/archive/j2se/5.0_16/index.html),
    so well again named "Java 2" in this page (that which dont
    the case for the equivalent same download page for Java 6...)
    (Choice "JRE 5.0 Update 16" in this page)
    For instal "JRE 5.0 Update 16":
    1) Supp all files and folders in "JVM" (Java Virtual Machine)
    folder in Flash CS3 (but dont supp this folder, empty now) and save
    this contents in archive in you have
    affraid.
    2) dl "JRE 5.0 Update 16", directly in this page if you want:
    (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/View ProductDetail-Start?ProductRef=jre-1.5.0_16-oth-JPR@CDS-CDS_Dev
    eloper)
    3) In install, choice "personal instal" (or +/- the same
    terms) and choice the "JVM" folder of you Flash CS3
    and AV dont detect this version same a bad file

Maybe you are looking for

  • ITunes library on two Macs

    My entire iTunes library is on my Mac Desktop.  Macericks/iTunes 11.1.5, and I sync my iPad mini to that. I am travelling for a month, and the iTunes library is greater in size than the iPad can store. I am also taking my MacBook Pro with me. How can

  • Down payment to recipient 28000437 0 area 01 amount 575.50 not cleared in

    IN CJ88 Down payment to recipient 28000437 0 area 01 amount          575.50 not cleared Message no. AW605 Diagnosis All downpayments were not cleared for the asset under construction for the receiver 28000437 0 in area 01. An amount of          575.5

  • Stacked Bar Chart with Multiple Series Sort Question

    Hi, Apex version 4.1.1 I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week o

  • BB Bold problems with email

    Okay, so my initial post was on my gmail issues (hope you can help with that issue!). Now I thought to just add my hotmail account in the meantime. Guess what?! Error message "your device had a problem connecting to the server"..... is my BB malfunct

  • Powermac G5 dual 2.5GHz won't boot

    Hi, I've recently started having issues with my dual 2.5GHz G5 Powermac. When I switch it on I can hear the drives start up and data being read from them. But there's never any chime and the screen stays black. The drives stay quiet (spinning but no