Windows xp and java.exe problem

Hello all..
I tried to execute have a batch file consisting a jar file and classes in windows xp platform. I used j2sdk1.4.0_03. All my classes are stored in : C:\MyDocument\Softwares\classes directory
and the jar files are in: C:\MyDocument\Softwares.
I wrote the following commands in the batch file:
java -classpath C:\MyDocument\Softwares\classes;
C:\MyDocument\Softwares\jexcelapi.jar mainClass
When I lauched that batch file, a message came out:
java.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
Could you tell me where the problem is and why? Do I need windows xp patch to eliminate the problem? And where can I find that patch?
Thanx for any suggestions...
Richard

Thanks for your comments. I have tried to reinstall the J2SDK, but then another error message appeared:
Error occured during the initialization of VM
java/lang/NoClassDefFoundError:java/lang/Object
I've checked my Path and it's set as following:
C:\j2sdk1.4.0_03\bin;
and my classpath setting:
C:\MyDocument\Softwares;C:\MyDocument\Softwares\classes;C:\j2sdk1.4.0_03\lib;
When I tried to execute the java command in any directory (inclusively in C:\MyDocument\Softwares) I always got that message. The only directory where I was able to run the command is in C:\j2sdk1.4.0_03\bin;
Before I did the reinstallation, I never had such a problem.
Have any hits? Thanks in advance..

Similar Messages

  • Windows 8 and NACAgentToastApp.exe problem

    Saludos foro
    Tengo una aplicación NAC fuera de banda version 4.9.3 funcionando correctamente con clientes Windows 8 y clientes windows 7. La version de agente NAC es 4.9.3.5, el problema que tengo es con todos los clientes Window 8 y el ejecutable NACAgentToastApp.exe
    Tengo los siguiente errores en el visor de eventos.
    Greetings forum
    I have an application NAC OOB version 4.9.3 working properly with Windows 8 client and Windows 7 clients. The NAC Agent version is 4.9.3.5, the problem I have is with all customers Window 8 and the executable NACAgentToastApp.exe
    I have the following errors in the event viewer.
    Nombre de la aplicación con errores: NACAgentToastApp.exe, versión: 0.0.0.0, marca de tiempo: 0x506a06aa
    Nombre del módulo con errores: NACAgentToastApp.exe, versión: 0.0.0.0, marca de tiempo: 0x506a06aa
    Código de excepción: 0xc0000409
    Desplazamiento de errores: 0x001b0b59
    Identificador del proceso con errores: 0xc98
    Hora de inicio de la aplicación con errores: 0x01ceaf0058b6d2f1
    Ruta de acceso de la aplicación con errores: C:\Program Files (x86)\Cisco\Cisco NAC Agent\NACAgentToastApp.exe
    Ruta de acceso del módulo con errores: C:\Program Files (x86)\Cisco\Cisco NAC Agent\NACAgentToastApp.exe
    Identificador del informe: 9667b97e-1af3-11e3-be98-80c16ef6536e
    Nombre completo del paquete con errores:
    Identificador de aplicación relativa del paquete con errores:
    Greetings forum
    I have an application NAC OOB version 4.9.3 working properly with Windows 8 client and Windows 7 clients. The NAC Agent version is 4.9.3.5, the problem I have is with all customers Window 8 and the executable NACAgentToastApp.exe
    I have the following errors in the event viewer.
    Nombre de la aplicación con errores: NACAgentToastApp.exe, versión: 0.0.0.0, marca de tiempo: 0x506a06aa
    Nombre del módulo con errores: NACAgentToastApp.exe, versión: 0.0.0.0, marca de tiempo: 0x506a06aa
    Código de excepción: 0xc0000409
    Desplazamiento de errores: 0x001b0b59
    Identificador del proceso con errores: 0xc98
    Hora de inicio de la aplicación con errores: 0x01ceaf0058b6d2f1
    Ruta de acceso de la aplicación con errores: C:\Program Files (x86)\Cisco\Cisco NAC Agent\NACAgentToastApp.exe
    Ruta de acceso del módulo con errores: C:\Program Files (x86)\Cisco\Cisco NAC Agent\NACAgentToastApp.exe
    Identificador del informe: 9667b97e-1af3-11e3-be98-80c16ef6536e
    Nombre completo del paquete con errores:
    Identificador de aplicación relativa del paquete con errores:
    ¿Que puedo hacer para mitigar este error?
    What I can do to mitigate this error?

    •1.     Verify that UAC (User Account Control) is enabled.
    •2.     Verify that Internet Explorer is running in Administrator mode.
    •3.     Verify if some active X fucnction fails and try to reset all the IE and active X permissions to default.
    •4.     Verify if any other Anti Virus (AV) software prevents IE from launching its executable from its temporary directory.

  • Oracle.exe and java.exe are running my CPU 100% under XP Prof SP3

    11gR1
    oracle.exe and java.exe are running 100% CPU
    I have increased virtual memory to 4 gig
    I have defragmented the drive.
    I checked the drive for errors.
    I am searching the whole drive for viruses
    I do not have the problem with Redhat Fedora 12 running 11gR1
    I have 1 gig of RAM but cannot install release 2 because the installer expects
    1 gig + 1

    ooops!!! left that off...sorry
    XP Prof SP3 32 bit..*.no problem with Redhat Fedora 12 running MySQL and 11gR1*
    1 gig RAM Dell precision W/S 1.5 Gig rate 74 GiG SCSI HD 15000 RPM
    Don't pass out but I am also running MySQL server 5.1.41 and MS SQL Server Express 2008.
    Lucky it didn't catch fire
    I installed XP prof months ago but this CPU domination occurred only starting last night!
    However slow everything works in 11gR1
    sqlplus myname/password and then select rows from table
    sqldeveloper
    PHP web sites
    I've had plenty of trouble with Java running slow and hogging memory!
    Edited by: landonmkelsey on May 2, 2010 12:21 PM
    Edited by: landonmkelsey on May 2, 2010 12:24 PM
    Let me guess...stop services for MySQL and MS SQL Server and see what happens!
    Edited by: landonmkelsey on May 2, 2010 12:26 PM

  • Java.exe problem

    Hi,
    Would anybody please help me with this problem.
    I tried to execute java.exe with the command: java -Djava.library.path=E:\Program Files\Testing TestApp, it threw exception could not find the the path since there is a blank space between Program Files. I tried to put quotation marks around them, I got same problem. Java command seemed like did not like space. If I move my lib to new place e.g Test and execute my TestApp with the command: java -Djava.library.path=E:\Test TestApp, it worked fine. How can I solve this problem without remove space in the path.
    Thanks
    Hung

    i think you want to point to your programe classes.
    if so use
    java -classpath "E:\Program Files\Testing" TestApp
    because
    java.library.path contains many pathes related to JRE.
    D:\Java\sdk\jre\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Java\sdk;D:\Java\sdk\bin;D:\Java\J2EE\bin;D:\Java\WSDP\bin;D:\Program Files\Microsoft Visual Studio\VC98\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell
    try this
    System.out.println(System.getProperty("java.library.path"));-Best regards,
    mnmmm

  • Windows 7 and iTunes 9 - problem connecting to Airtunes to stream music

    I have a new laptop with Windows 7 and iTunes 9. iTunes recognizes my Airport Express (AE green light lit, and shows up in lower right of iTunes when choosing which speakers to play), but I cannot connect - just hangs on "Connecting to User's Wireless Music Airport Express" (name of the Airport Express network added to my existing Wireless network). No error message. Thus, unable to listen to my music through my hi-fi stereo. It's killing me!
    Tried a few things: disabling firewall, unplugging, resetting AND reconfiguring the AE, no luck.
    Anyone else having this problem? Any suggestions? Thanks

    Figured it out - just needed to add iTunes to 'trusted applications' in Kaspersky Antivirus/Firewall..
    Simply launch Kaspersky > Settings > Threats and exclusions > Exclusions Settings > Trusted applications > Add > "C:\Program Files\iTunes\iTunes.exe > select all exclusions > OK.
    Also added Airfoil and now able to stream Pandora through my stereo!

  • Windows 7 and java sometimes start or sometimes not

    Hello!
    I have problem when i go to this url :http://javatester.org/version.html java starts on my computer. But when i try to open next ie and again enter page java not starts... but int 3 ie java starts again, in 4 again, in 5 not.... Random
    This problem is independ java version but only appears on windows7....
    What can be a problem?

    user8672998 wrote:
    See your self if you have win7I do.
    The laptop I'm typing this on is an older Toshiba laptop that started with MS Windows Vista and now is running Win7 Enterprise.
    The issue doesn't appear here. Ever.
    Although I rarely use I.E., the JVM always starts when needed.
    I more commonly use Mozilla's Firefox browser.
    This computer initially had Firefox 3.x installed to it, but it recently had that upgraded to Firefox 7.x

  • Windows messages and Java

    Hi there,
    I'm currently converting a C++ application into Java.
    My main problem is that the C++ application uses windows messages to communicate between functions.
    For the C++ users it uses SendMessage() and PostMessage() methods to do this.
    My main question is, is there a equivalent in Java to do this, so sending and retrieving windows messages in Java.
    Thanks in advance....

    Sorry, you're confusing me (not that it's hard to do).
    You're throwing out "application", "server", and "client" in such a way that it's hard for me to understand exactly what you're doing.
    When you say "server", it makes me think of a Java app that is started and stays up, listening on a particular port for a particular protocol. Other machines on the network are the "clients" in this case. They agree to send messages using the agreed-upon protocol to the "server" listening on that port.
    "send and catch messages between programs" doesn't sound like they're running in the same JVM. These sound like networked objects.
    You can use Java's RMI to set up distributed objects that use RMI-IIOP as the default protocol.
    Is that what you want?

  • Windows Vista and WiFi networking problem with MackBook Air

    Hi, everyone!
    Thanks in advance for the following help.
    For some specific programms I need Windows Vista to be set up on my MacBook Air.
    The problem with Broadcom WiFi adapter.
    While moving large files over home network it hangs and looses the wifi network. It works OK while surfing the internet or doing other low traffic job. But when it comes to 2 MB/sec transfer it doesn't work. I tried two different routers, no positive result. PC works propely on any file sizes. After booting the Leopard the problem goes away. So it is onle Windows Vista problem.
    May be drivers? I tried 4.170.25.19 Windows Vista drivers from Broadcom - it didn't help. But I am not goog in driver settings in Control Panel, so may be the solution is there.
    Any ideas how to solve it?
    Thanks for help in advance.
    Andrey.

    Hello Nescom. Welcome to the Apple Discussions!
    I'm afraid I really don't have an answer for you but I can offer my experiences with large files transfer with Vista. My current home network is a combination of Windows PC, Windows Servers, and Macs. Large file transfers between most of them have relatively the same performance, except when transferring large files from the Vista PC to any other OS. It is demonstrably slower. Interestingly, transfers between Vista machines does not appear to be a problem. I understand that this is a known problem by Microsoft and was supposed to be fixed with Vista SP1.
    So the problem might not be your network, but Vista itself. I'm curious if you have this problem when transferring large files to another Vista device?

  • Y500 dual boot windows 8 and fedora 19 problem

    I bought a y500 two days ago and i wanted to dual boot windows 8 and fedora 19, so here's what i did
    1. downloaded fedora 19 (x64) iso from the fedora website.
    2.made a live USB using live usb creator.
    4.opened disk management utility and shrunk the c drive (windows 8 was installed here) by 100 gb and kept the 100gb unallocated.
    3. started the laptop with novo button, changed the bios config to boot from usb.
    4.installed fedora from usb, selecting the 100gb unallocated memory for installation
    5.restarted the laptop.
    now the problem is fedora works perfectly but when i try to boot windows 8, the following error is shown.
    windows failed to start
    file:\BOOT\BCD
    status: 0xc0000225
    info:the boot configuration data for your PC is missing or contains errors.
    i am guessing the fedora installation overwrote the boot files of windows and
     i have not taken a backup. please help

    hi,
    I have a Y500 and I wanted to dualboot fedora 19 with windows 8, this proved to be unsuccessful. I had made a repair disk before the process (but not a set of recovery disks unfortunately >.<   ). now I inserted the repair disk and selected the automatic repair option, it showed a message that auto recovery has failed.  now when I pressed the NOVO button and selected the system recovery option, it does not go into the OKR menu but continues with the normal booting process.  Can somebody guide me or give links where I can find step by step instructions to making OKR work and reset my laptop to factory settings? PLEASE help As Soon As Possible
    NOTE: I did resize the windows 8 os partition but the recovery and the lenovo partition are still untouched

  • Dual Boot windows 32bit and 64bit overclocking problems

    Im pretty new to overclocking and this is my first try I manage to get my AMD Venice 3200 to hit 2500 with 250fsb X 10, HTT 4, vcore 1.44. I used memory divider 166/200 so the memory is running at 208MHz not alot of overclocking on the memory since it is some cheap brand.
    My problem is that I have dual boot and with windows xp everything is fine CPU-z reports the right speed for the cpu and memory when I overclock, and there is an increse in preformance with overclocking, But when I boot windows XP 64bit CPU-z reports the FSB as 200 so it is not showing any change, it does report the change in the memory divider 166/200 and the cpu voltage increased that I applied to overclock. The thing is that when I open systerm properties it shows the CPU speed as 2500MHz but when I test the preformance there isnt any increase. I used Superpi to test preformance and in windows XP 32bit it finishes the 1M test in 36seconds while in Windows XP 64bit it takes 42seconds.
    My system specs are
    AMD Venice 3200
    MSI K8N Platium bios 1.8
    1024MB Wintec Memory 3200
    Geforce 6800 GTO 400/1100
    OCZ ModStream OCZ52012U 520W Power Supply

      Im runing the final release of Windows xp 64 and cpu-z 1.30, I also have Everest Ultimate Edition and it only shows 3% overclock 205 FSB.  Im thinking of formating the HD with windows 64 and installing it again with the systerm already overclock.

  • SAP EP - Windows 7 and IE 8 problem

    Hi all,
    Sorry to disturb all of you.
    I'm confronting a ridiculous problem.
    Some of my clients are using Windows 7 and IE8. The EP is working fine.
    However, there is somewhat of PCs don't work with Windows 7 and IE8 the browse will hang and became idlely.
    Then I had tried to open EP in Firefox but It worked like a charm.
    May I know is there any solution to resolve my problem.
    Thank you very much.

    Hi,
    I just got the same question. Below I capture the reply from OSS for your reference.
    I have checked the SP level for your system which is SP12, I would like you to check attached PAM for NW7.0,
    if you would like to use Windows7 and IE 8.0, the SP level could be not lower than SP21,
    more detail please refer to attached the PAM file page 16 and page 17.
    The PAM could be found in above reply. :P
    PS: the compatibility mode of IE8 could not fix all the problem which happen when using the Portal.
    cheers,
    Gary

  • Windows XP and java.lang.NoClassDefFoundError: Console

    Our company is currently using a web page to launch a java applet that redirect the user to an application server to demo our product. This has been and still is working fine for all Windows version until XP. And depending on which version of XP, sometimes it will work and sometime it won't. The link to the web site to launch the applet is http://www.aasys.com/gs_java/iejava.htm if you wish to test it.
    It should take you to a screen asking for a security code which we would provide to our customers. If you get this far it is working.
    Any suggestion would be helpful.
    Thanks.
    DP Grose
    Below is the error message we get on some of the Windows XP versions :
    Java(TM) Plug-in: Version 1.4.2
    Using JRE version 1.4.2 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Don
    Proxy Configuration: No proxy
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NoClassDefFoundError: Console
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Your first option we are currently looking at but have not tested it yet. We would prefer the end user not to have to do this, but they may have to in the end.
    Your second option seems the best route to go and we may be able to get the source code from our vendor. Once this is compiled under 1.4.2 will it still be compatable with the older version of MS JVM or will our users need to download the current Java plugin? Since this the way that Java is proceeding this will most likely work for everyone.
    Thanks.

  • Windows Sharing and resource fork problems

    Hello, I am into my second month of Mac ownership and today I tried to enable Windows Sharing to allow a PC here to map to the Mac and share files.
    I enabled the Windows Sharing feature in the System Preferences. Then I tried to map to the mac using the PC (Win XP). The PC sat there for a while (maybe about 30 secs or so) trying to connect, then displayed an error message saying a semaphore timed out (I don't remember it exactly).
    Anyway, I went back into System Preferences and all the options for Sharing were greyed out. I couldn't turn off or turn on anything!!
    So I looked in the console log and found the following errors:
    2006-08-30 18:12:40.119 System Preferences[15066] [NOTE: this exception originated in the server.]
    couldn't fork
    /sbin/service: fork: Resource temporarily unavailable
    2006-08-30 18:12:43.336 System Preferences[15066] [NOTE: this exception originated in the server.]
    couldn't fork
    /sbin/service: fork: Resource temporarily unavailable
    2006-08-30 18:12:52.009 System Preferences[20541] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    Aug 30 18:13:37 localhost launchd: org.samba.smbd: fork() failed, will try again in one second: Resource temporarily unavailable
    2006-08-30 18:16:53.360 System Preferences[21610] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    2006-08-30 18:19:13.214 System Preferences[21611] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    2006-08-30 18:31:48.547 System Preferences[21636] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    2006-08-30 18:54:23.310 System Preferences[21650] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    In the System log there are a whole bunch of these messages:
    Aug 30 18:11:23 localhost kernel[0]: proc: table is full
    I went into the Terminal and tried to get to a command prompt but it just sat there with a blank screen.
    So I shut a bunch of apps I had open down only keeping Firefox open and I searched online for issues regarding this error - found information telling me I could kill the smbd processes and up the max proc limit.
    After waiting a while (didn't want to reboot - I'm stubborn :-)), reopened Terminal and could see the command prompt. But anything I tried to do regarding killing the smbd processes or even doing a directory listing or a process listing gave the error: fork: resource temporarily unavailable
    So I just waited it out - eventually I was able to kill the smbd processes. After I did that, I went back into System Preferences and was able to work with the Sharing preferences again (I disabled Windows Sharing).
    And after all that, here is my question(s):
    - is this problem going to keep happening when I turn on Windows Sharing and a PC tries to map to the Mac?
    - do I need to up the process limit if I'm going to turn on Windows Sharing?
    - is there a bug/issue I don't know about regarding this and a fix?
    - and last but not least, am I doing something wrong?
    Thank you for your help.

    There were some Macbook/SMB specific problems that suppossedly got fixed with the 10.4.6 update, but I'd try the 10.4.7 Combo Update, as Deltas have more problems.

  • Classpath and java.exe, help me, guys

    if i don't use -classpath for java.exe, what else i can do which affects -classpath or class enviromnent?
    thx

    You can set the classpath in your system environment or in your IDE (if you use one)

  • Crackling sound and audiodg.exe problem in windows 7

    Hi,
    I suddenly ran into this problem with my Pavilion dv7. The music played by Windows Media Player as well as other player become slowed and crackled. My norton complained that the audiodg.exe occupied most of the CPU power.
    I ran through a google search to find the solutions. But it seems none of them works. Someone suggests to disable the audio device enhancement. but mine has been disabled already. Someone suggestes to upgrade the driver, but mine is up to day. Anyone has met a similar problem?
    My OS is window7 professional sp1
    My audio device is IDT HD audio codec

    Same problem w/ audiodg.exe /uses 100% of one core on my quad core and no diabling sound enchancements DOES NOT WORK
    Same problems w/ crackling sound
    system:
    pavailon p7-1126s
    windows 7 64 bit
    If there is a soulution to this, A REAL SOULTION other than install a new sound card, someone, anyone please: post, msg me, email me or do all 3

Maybe you are looking for