Computer restarting when running javac.exe

Hi...i am new to Java.
I have a problem, when I compile my java file using javac myfilename.java then suddenly my computer restarting itself...
This happens many times on my computer...Is there anybody know the reason?
Thanks

This is an odd problem. Apart from viruses, the usual reason for an unexpected restart is some kind of driver problem, since in XP this often triggers an automatic restart instead of a blue screen (what a creative approach to ridding the world of the BSOD ;-)
It doesn't seem likely to be a graphics problem, since it occurs with non GUI apps, but just so you know, ATI cards are particularly prone to trouble.
Install any pending service packs, and update your SDK to 1.4.1_02 if you haven't done so already. Change your graphics drivers to the newest available set.
That should knock the problem on the head, hopefully.

Similar Messages

  • "Error running javac.exe compiler" when using ant to compile Eclipse plugin

    Hi
    I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
    My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
    <!-- ===================================================================
    Compile specified plugin
         target parameters:
              param.plugin.dir: the plugin directory
              param.plugin.targetJarFile: the name of jar file for the given plugin
              param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
              param.fork: indicate if another process is forked to run javac
    =================================================================== -->
    <target name="compilePlugin">
         <!-- Prepare compile environment -->
         <!-- Delete obsolete build folder -->
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
         <!-- Delete obsolete jar file -->
         <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
         <mkdir dir="${param.plugin.dir}/${build.dir}"/>
         <!-- Compile source codes -->
         <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
                   destdir="${param.plugin.dir}/${build.dir}"
                   failonerror="${javacFailOnError}"
                   verbose="${javacVerbose}"
                   debug="${javacDebugInfo}"
                   deprecation="${javacDeprecation}"
              optimize="${javacOptimize}"
                   source="${javacSource}"
                   target="${javacTarget}"     
                   fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
              <classpath refid="compile.classpath" />
         </javac>
         <!-- Create plugin jar file -->
         <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
              <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
         </copy>
         <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
    </target>
    Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
    For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
    BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
    Any help is highly appreciated.
    Many thanks
    Oceanman

    I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
    fork="${param.fork}"
    memoryInitialSize="256m"
    memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
    fork="true"
    memoryInitialSize="256m"
    memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

  • GeoKettle: Error running javac.exe compiler

    Hi,
    I am trying to use GeoKettle exactly as mentioned at
    http://209.85.229.132/search?q=cache:JHfrxCo7y0YJ:forge.osor.eu/docman/view.php/143/250/Kettle_Devel_guide_v0.odt+geokettle+spoon+java+api&cd=2&hl=en&ct=clnk&client=firefox-a
    But when I try to build it, i am getting the following error.
    [javac] Compiling 135 source files to D:\workspace\geokettle\classes-core
    BUILD FAILED
    D:\workspace\geokettle\build.xml:74: Error running javac.exe compiler
    Can anyone guide me please to resolve this problem.
    Best Regards
    Tabbasum

    most likely the javac executable is not on the system path. Try typing 'javac -version' in a command prompt and see what response you get.
    If it is something like 'javac is not a recognized...', locate where the JDK is installed and add its bin subdirectory to the PATH system variable. Restart any command prompt and type javac again.
    You DID have a JDK installed, didn't you?

  • RFE: faster javac compilation using invocation instead of running javac.exe

    Sun's JDK contains the Java compiler in tools.jar.
    Why not use it instead of running javac.exe?
    It should also simplify the code for cross platform compatibility...
    Regards,
    Yaniv Kunda

    I meant that JDev would invoke the compiler from the libs of the project JDK.
    But this is indeed a sort of a hack because the libs are not documented and are sun-specific (a problem with other JDKs).
    Anyway, I was just reading a bit on Java 6 (Mustang) and saw that an API (per JSR-199 : http://jcp.org/en/jsr/detail?id=199) for java compilation is one of its new features!
    This feature is documented in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4164450.
    I guess it would be a feature for a newer major release of JDev, but nevertheless important to mention.
    Regards,
    Yaniv Kunda

  • Missing function when running a .exe labview program

    Hi
    everyone,
    I have used
    a subvi taken from the RoboIO library  ( http://www.roboard.com/labview/Labview_RoBoIOv15b.zip) to make up a program in order to run a
    .exe version of it on another computer that doesn’t have Labview (just Run Time Engine
    SP1 is installed).
    The .exe
    works fine on the Labview computer (after adding to the Build/Data directory the
    RoboIO.dll, RoboIOv15b, winIo and WInIO.dll files.). I have no conflict message
    when opening the Project explorer manager dependancies.
    When I
    launch the .exe on the second computer I get a message saying it can't find the
    function I was talking about at the beginning of my post. (running another .exe without
    this function works fine on this second computer)
    It’s the
    first time I am using a .exe on a "non-labview computer", so I must be doing something
    wrong : not creating correctly the .exe program
    Would anybody
    have an idea what could be  the problem?
    Thansk a lot,
    User

    Hi
    To deploy an application in a computer that doesn't have LabVIEW you could create an instaler than an exe.
    You can find how to create an instaler in the LabVIEW help.
    Regards,
    Nicolas M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
    2 sessions en parallèle : Débuter a...

  • Computer Restarts When Trying to Update

    I just recently got a 60G iPod, and installed iTunes on my boyfriend's computer while I was fixing mine. After my computer was up and running, I installed iTunes on it and planned to use my iPod as a hard drive and transfer the music over to my computer. When I installed the software on my computer, it recognizes my computer as the home computer, and my boyfriend's computer won't recognize it anymore. Now, every time I try and update my iPod on my computer, or try and select "manually manage songs and playlists," my computer automatically restarts. My boyfriend has XP and I have Windows 2000. Any help would be appreciated.

    Oh, and I've already uninstalled iTunes on my computer and reinstalled it. No change.

  • Computer Restarts when burning

    Help. Running most recent version of Itunes, Liteon burner (2 months old) when burning new disks the computer goes through a restart when it completes. Need some insite on this problem.
      Windows XP  

    rower,
    Your computer is blue screening. This is frequently caused by problems with driver conflicts or a computer virus. Make sure you've scanned your computer for viruses and spyware.
    If that doesn't help, let's capture a minidump of the crash and send it to the Apple engineers to analyze.
    To set up your machine to capture a minidump, right click on "My Computer", select "Properties", select the "Advanced" tab, select the "Startup and Recovery" Settings button, select "small memory dump" from the popup. When it crashes, look for the MiniDump file. It's usually in the folder "C:\WINDOWS\Minidump" and is called something like Mini<number>-<number>.dmp.
    And then send it to the apple moderator. Tell her Toonz sent you. It doesn't hurt to put the URL to this discussion thread, so that whoever gets it has some context.

  • Application Builder 7.1: problem when running an EXE

    Hello,
    I have developped a VI on a computer with LabView 7.1. The VI uses an USB 6008 (with DAQmx base 1.4 drivers.) to measure signals. It perfectly works. Now I've spent a lot of trying to put the system on a computer that doesn't have LabView installed.
    -I first installed the USB 6008 drivers on the computer
    -Then I made an installer with the application builder (including the run-time engine)
    -Once the application is installed on the new environnement, I just keep on having error messages when running it.
      -first it doesnt find all the DLL, you have to copy them from the PC with LabView in C:\windows\system32\.   Done.
      -then I get this big dialog box with a listing of sub-Vi missing, such as: Sub-VI Create Task.vi missing in VI Instance 1  6ProgName.v1
       I've looked into the LLB file created with the builder: all these sub-VI are here!! Why won't it work?
    What can I do to solve this?? Thanks for your help.

    Hi  batsenn,
    for the missing dll: what are those dll's? you may need to install additional run-time packages, or check some more component in the Advanced Installer Settings form, depending on your application.
    Now for the main problem: are you calling vi's dynamically from an external LLB? in many cases when a file is not found from the built application, it's a path problem. In fact, if a vi path is e.g. c:\mysourcedir\myvi.vi, when the EXE is built the path will be something like c:\myexedir\myexe.exe\myvi.vy. You see that there is an additional Strip Path you need to do if you are getting the current path from a vi path.
    What I said can be relevant or not depending on the vi calling techinique you are using. A suggestion is to execute the built EXE on the development computer (where all components are present) to check if the problem is still there.
    Hope this helps.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Computer restarts when I click on iTunes.

    When i try and open iTunes - double click on the icon a blue error screen quickly flashes up on the screen, turns black and the computer restarts.
    ANy ideas how i can fix this?
    Thanks

    Okay. Here's the relevant updates page at Dell for your Dimension 3000.
    Dimension 3000 (XP)
    Make sure both your BIOS and your Chipset are up to date. Actually, while, you're there, check to see if you're behind on any updates for other componentry you have on your particular configuration of Dimension 3000.
    Once you're satisfied you're up to date, reboot the PC and then try launching Itunes again.
    If you still get the blue screen crash, we'll set your PC up to capture minidumps of the crash, and send a minidump through to the Apple Engineers for a look.
    To set up your machine to capture a minidump, right click on "My Computer", select "Properties", select the "Advanced" tab, select the "Startup and Recovery" Settings button, select "small memory dump" from the popup. When it crashes, look for the MiniDump file. It's usually in the folder "C:\WINDOWS\Minidump" and is called something like Mini<number>-<number>.dmp.
    Generate the crash, find the minidump file, and send it as an attachment to this email address.
    in the email to Roy, be sure to include the following information:
    - A link to the thread on Apple Discussions where the issue is being discussed
    - The username you are using in the thread
    - The version of iTunes you are using or trying to use
    - the version of Windows you are using (mention service packs)
    - A concise description of the issue you are seeing
    - The exact text of the error message you are seeing

  • Problem in running javac.exe

    Hi
    I'm using Windows 2000 server.
    I installed Java 2 sdk in directory c:\jdk1.2.2. After this I added
    c:\jdk1.2.2\bin in the path environment variable using Control Panel ,System Utility.
    Then I opened the command prompt (Start ,Run ) and typed command in the box:-
    Steps:
    1.Start ->Run
    2. Typed command in the box
    Now when I tried c:\> javac Hello.java it gave the foll. error:-
    javac is not an internal or external command.
    But when I tried to run javac using cmd instead of command in the start->run box it works fine
    1.Start ->Run
    2. Typed cmd in the box . Now javac Hello.java worked .
    My Question is why it works with cmd and why not with command
    Please help

    cmd is the win2k console. it carries all system settings from wn2k. command is a dos box. it wont have the path settings u did for java

  • Show front panels of sub VIs when running a EXE (build application)

    I've created a exe file and it works fine. However, it only shows the front panel of main VI and I can not open sub VIs (it looks like they are all hidden). I know it can be done by creating a library file along with this exe file, but that's not what I want. I want to create a single exe file that shows several front panels, and that can be run with run time engine. Is there any way to show front panels of sub VIs by running a exe file?

    In the development mode, how are you displaying the front panels? Did you right click on the subVI and select SubVI Node Setup and choose 'Show Font Panel when called/Close afterwards if originallly closed' or did you choose the same options from VI Properties for each subVI. If the second, then the app builder will automatically retain the front panels of the subVI. If you chose the first option or if you are using VI Server to open a front panel, then the default setting in the app builder is to remove the front panels. You would then have to go the VI Setting tab in app builder and edit the settings.

  • XI installation - problem when running sapinst.exe

    hai,
      when i'am running sapinst.exe file i'am getting the following error  -
    SAPinst is getting started.
    Please be patient ...
    guiengine: call to bind() for socket 1832 failed. No such file or directory
    ERROR      2007-02-28 14:50:20 [iaxxgenimp.cpp:532]
               init()
    FGE-00006  Attempt to open a communication port connection failed. Check whether the port 21212 is already in use.
    ERROR      2007-02-28 14:50:20
    FCO-00034  An error occurred during the installation. Problem: error in GUI server subsystem.
    Exit status of child: 1
    can anyone help?
    bye
    nandana

    Hi Nandana,
    Please check this link...
    Re: problems installing NW04 sneak preview (java)
    it talks about the same problem as yours...
    Thanks.
    btw...i got the link from google
    Message was edited by:
            Renjith Andrews

  • Error A12E1 when running CCPLauncher.exe

    Hi
    We need to package Indesign with Creative Cloud Packager but it's stops with erro A12E1.
    I try the steps in A12E1 error installing Creative Cloud products | CC but no success.
    I also try to run CCPLauncher on a new clean computer.
    Both computers running Windows 7 64 bit and a CCPLauncher from 2014-01-30 (version 1.0.0.52)
    All results from Google seems to end in the link above. Any other solutions?
    Thanks
    Sten

    I am also having this issue trying to run CCPLauncher.exe on Windows Server 2008 R2 so I can setup an AUSST.
    I too have also exhausted the steps in the above link help page.

  • Computer restarts when transfering music

    Whenever I try to tranfer large amounts of music to my iPod (photo, 30 gig) my computer restarts. It's a new problem that started when I reinstalled my hard drive. Any advice?

    Thanks Trevor,
    I have tried every USB port I have, I also went and downloaded the new drivers as you suggested. Neither helped.
    On three of the USB ports the minute I plug in the Ipod it shuts off the computer and restarts. The computer does give alot of clicking noises (not beeps) from the back of the computer. I'm wondering if it has something to do with my power supply, since the Ipod gets power to charge and such though the computer, do you think that could be a problem.
    My next thing is I will try it on another computer, but that will have to be later today.

  • Computer restarts when cicking on volume control calibrat

    Hi
    When in volume control panel of my Audigy 2ZS. The channel test works fine. Then, when I try to calibrate the computer restarts. Any clues, as the machine also restarts now and then. I assume both events are linked?

    It should read Clicking, although Kicking might be the answer!

Maybe you are looking for

  • Access Denied error with basic XML file operations

    Hi, I'm trying to set up a basic read, write and delete code for XML files which I can build upon in the future. The three methods are bound to three buttons on the page and all three calls are awaited. Here's my code: Write: XElement uservarnodes =

  • Performance problems, do we need to upgrade. Server and Database level

    Problem: I'm a Java programmer and a Transact SQL DBA. So i have knowledge about databases. Nowwe have a database who performs very bad and got much deadlock problems and so on. It's an Oracle Database. We have Oracle version 9 and an application in

  • Changing Buttons in Gallery Folder not Showing Up in Properties Window

    If you change the button size of custom buttons with Photoshop and replace the files in your Gallery folder, how to you get rid of the old buttons in Captivate's properties window?

  • How do i use proper settings in mpeg streamclip with m2t files?

    hello, i have seen this discussion before but not sure what codec i need to transfer to for my type of files... i shot a video on the **sony hvr z7u** using compact flash cards and the video was shot on 1080i 24 frames per second...all the files are

  • Epson vs. HP

    Hi, I am currently in the market for a printer and have found the whole experience quite overwhelming since it is hard to find any really good comparisons online. So i thought that asking here would be my best bet. I am a student interested in purcha