Can we run java programms on Windows XP?

Hi experts..
I installed JDK on Microsoft Windows XP Home Edition..but i am unable to run java programmes.
can i run java programmes on Windows XP?? if so how??
i will be very thankful..if any one solve this problem..

Yes, you can. There's a bunch of things you need to do (mostly setting the path environment variable). You should look at the documentation that came with the JDK, and check out the many forum responses to problems in setting up the JDK on Win 2K and Win XP.
HTH

Similar Messages

  • Can't run Java on windows xp home

    I have just downloaded jdk 5 on my windows xp home, and set PATH and CLASSPATH. But i still can't run java commands on cmd.
    Please help.

    when in the cmd prompt and you type "java" do you get the following?
    C:\>java
    Usage: java [-options] class [args...]
               (to execute a class)
       or  java [-options] -jar jarfile [args...]
               (to execute a jar file)
    where options include:
        -client       to select the "client" VM
        -server       to select the "server" VM
        -hotspot      is a synonym for the "client" VM  [deprecated]
                      The default VM is client.
        -cp <class search path of directories and zip/jar files>
        -classpath <class search path of directories and zip/jar files>
                      A ; separated list of directories, JAR archives,
                      and ZIP archives to search for class files.
        -D<name>=<value>
                      set a system property
        -verbose[:class|gc|jni]
                      enable verbose output
        -version      print product version and exit
        -version:<value>
                      require the specified version to run
        -showversion  print product version and continue
        -jre-restrict-search | -jre-no-restrict-search
                      include/exclude user private JREs in the version search
        -? -help      print this help message
        -X            print help on non-standard options
        -ea[:<packagename>...|:<classname>]
        -enableassertions[:<packagename>...|:<classname>]
                      enable assertions
        -da[:<packagename>...|:<classname>]
        -disableassertions[:<packagename>...|:<classname>]
                      disable assertions
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertions
                      disable system assertionsif not, please follow the instructions on this website on setting up the latest jdk.
    http://www.discussjava.com/joomla/index.php?option=com_jd-wiki&Itemid=68&id=index:setting_up_the_1.5_jdk
    let me know if it is any help.
    null

  • Help me!! I can't run photoshop cs6 in windows 8

    Help me!! I can't run photoshop cs6 in windows 8

    Could be due to classes not being found or wrong version of java...

  • I want to run java program on windows environment as background process

    Hi all
    I want to run java program on windows environment as background processSo command prompt return after executing java command and program on background In Linux we can do this easily �but I do not how to do this in windows
    for example look this programe
    import java.io.*;
    import java.util.*;
    public class TestClass {
         class ravi extends Thread{
              public void run(){
                   try {    
                        String target_file = "ravind.txt";
                        File targetfile = new File(target_file);
                        PrintWriter writer = new PrintWriter(new FileWriter(targetfile)) ;
                   for (int i =0 ; i < 100 ;i++ ){
                        Thread.sleep(10000);
                        writer.println(" ravindra shukla ");
              } catch (Exception e) {               
                             e.printStackTrace();
         public static void main(String[] args) {
              TestClass test1 = new TestClass();
              TestClass.ravi r1 = test1.new ravi();
              r1.start();          
    System.out.println(" return from main ");
    first i compile this
    javac TestClass.java
    then i run this by using this command
    java TestClass
    but becouse i put sleep on threads run function so it takes to much time to get return on command promt .... i want to run this programe as background process so command promt return as soon as i execute java command

    Thanks dude
    This solution �start java TestClass� works fine �. But it does not solve my problem
    It opens another black window and that black window persist till the life time of my program
    Is it possible application run on complete background without opening another black window �as in Linux

  • How to run .java file in windows ?

    How to run .java file in windows without installing any program? Thx!

    First, U must make sure that there is JDK on your computer
    Then, set the envionment variables which the os can find your compiler and interpreter: javac java
    after those, you must complie your .java file to .class file, then you can excute it by java, for example " java helloworld"

  • I have a Macbook Air 2011. Can i run Bit-locker in Windows 7 Ultimate without any problems?

    I have a Macbook Air 2011. Can i run Bit-locker in Windows 7 Ultimate without any problems?

    montana girl wrote:
    I purchased a MacBook AIr Nov. 2011 11" and current OS X 10.7.5.  I read that I needed to update to Snow Leopard before I can update to Maverick, ...
    Whatever you read was incorrect. You can upgrade directly to Mavericks. It is in the App Store and is free.
    Snow Leopard predates the operating system you already have. That's the reason it will not install on your MacBook Air. You spent $20 needlessly for it, but it's yours to resell if you wish.

  • Can I use Java JMF on Windows XP Professional

    I wanted to know if I can use/install Java JMF on Windows XP and how hard/easy is to use Java JMF to stream live video with a webcam and using applet on a web page; As I hoping to embark on a project.
    Any suggestions will be gratefull.
    Kind Regards,
    DM

    You can install the JMF on windows xp since i am doing so. Also you can use web cam to capture and stream out as usual.

  • HT1238 I can't run iPod utility for Windows in my Windows 8 . does this apps support windows 8 ?

    I can't run iPod utility for Windows in my Windows 8 . does this apps support windows 8 ?

    Welcome to Apple Support Communities
    iPod Utility for Windows hasn't been updated for a long time, so it's probably not supported in Windows 8. Have you tried to run it in compatibility mode?

  • How can I run java in Window XP?

    Hi, all;
    Since MS didn't support JVM in window XP, do anyone have any idea to run java in Window XP? Thanks for helps.

    Hi, all;
    Since MS didn't support JVM in window XP, do
    , do anyone have any idea to run java in Window XP?
    Thanks for helps.The MS version of Java was not up to date, and for most purposes (like using in Java 2 technology) you have had to download a Sun or IBM JVM anyway. The fact that Microsoft doesn't have a JVM is fine with me save the lack of a JVM in IE 6.x.
    Chuck

  • Can't run java at all

    Hello!
    I have a 600 megahertz Intel Pentium III machine running Windows 98 SE. I use the following browsers: Netscape 4.79, 6.2 and internet explorer 6.
    I was able to run java applications on my computer very well. I purchased a program to make web buttons. The program worked very well for a time and it just stop working after a while. I contacted them and was told to upgrade my jvm machine by downloading the newest msjavx86.exe from microsoft and installing it to see if it will solve my problems. It did not work.
    I get this message everytime that I try to use the program:
    "Can't find the file "BtnAuthor.class" can't execute class "
    I'm unable to run any java and all I see are grey boxes with codes. Any idea of what could be wrong or how to fix this problem.
    Thanks for your time at reading this
    Ann :-)

    Well, I'm quite unfamiliar with this. I just opened the java console on netscape 4.79 (my favorite) and I got the following:
    Netscape Communications Corporation -- Java 1.1.5
    Type '?' for options.
    Symantec Java! ByteCode Compiler Version 210.065
    Copyright (C) 1996-97 Symantec Corporation
    Then I pressed the "?" and got the following:
    Netscape Communications Corporation -- Java 1.1.5
    Type '?' for options.
    Symantec Java! ByteCode Compiler Version 210.065
    Copyright (C) 1996-97 Symantec Corporation
    Netscape Java Console Commands:
    b: break into the debugger (Windows only)
    c: clear console window
    d: dump applet context state to console
    f: finalize objects on finalization queue
    g: garbage collect
    h: print this help message
    l: capture all classes loaded by an applet to a directory
    m: print current memory use to console
    q: hide console
    s: dump memory summary to "memory.out"
    t: dump thread info to "memory.out"
    x: dump memory to "memory.out"
    X: dump memory (detailed) to "memory.out"
    0-9: set applet debug level to <n>
    I'm not sure if I should explore any of this options at this time. I have no idea of how to write a simple java on my own. The button program was supposed to do the writing and I was just supposed to paste it it in the html.
    Thanks for helping me! :-)

  • Urgent! Cannot run java programme. Pls help!

    1st question:
    I am using JDK 1.3.1_03 on Win2K Server. When I have compiled the java applications, I try to use
    "java <application name>" to run the programme, but an error message "Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object" come up on the screen. Why is it so? It run normally in the past.
    I have upgraded Windows2K once using the Win2K Server CD recently, is it the cause of the problem?
    How can I solve it? Please help! Thank you!
    2nd question:
    I have installed JDK1.4 Final version recently. However, after I have uninstalled it, it still appear in the Add/Remove Programme list in the control panel. I have tried to install another version of JDK, see if it would replace the JDK1.4,
    but it failed. Why is it so? Now when I go to some websites designed by javascript, the Internet Explorer suddenly closed by itself. How can I solve the problem? Please help! Thank you!

    Hi,
    I got the same problem, 1st question, running the application on win NT. Is there anybady there who can help us!!!??????????

  • Can't purchase Java Developer for windows CD

    Hi,
    Somehow when purchasing a Java Developer for Windows CD it always gives a web page with an error. Is there a way to avoid this error, or is there a phone number I can call to make that purchase?
    Thanks, Boris.
    P.S. The error page has this content:
    Error Occurred While Processing Request
    Error Diagnostic Information
    unknown exception condition
    PCodeDocumentNodeImp::prepareForExecution
    Date/Time: 11/10/03 10:47:12
    Browser: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
    Remote Address: 68.134.170.160
    HTTP Referer: http://www.oracle.com/webapps/techtracks/legal.jsp?tid=540&owner=1&opt1_rb=NewUser
    Template: E:\Inetpub\wwwroot\oracle-otngold\register.cfm
    Please inform the site administrator that this error has occurred (be sure to include the contents of this page in your message to the administrator).
    [Edited by: otngroup on Nov 10, 2003 10:25 AM]

    Basically you have a 99.9 percent Window's install so any Windows software issues are Microsoft problems.
    The only thing I can think of is the Microsoft servers were down briefly for maintenance or problems or maybe had a heavy load. If you were using the Auto update try going to the web site directly as they should be on another server.
    You might also try the Microsoft Window XP forums and see what you can find. Maybe search for: "Security Update stalls"?
    From what I've read just turning virus protection off doesn't work sometimes, you may have to UN-install it to get it to work.
    "Permissions" pertains to MAC SOFTWARE only. 3rd party software or Windows files are NOT affected at all by running permissions. Besides, it will only work on a HD with a Mac operating system anyway. You can't even select the Window partition in permissions to try it anyway.
    Good luck....

  • Error when run java file on windows 7 64bit

    unexpected failure: Error:Only x32 JVM supported
    java.io.IOException: Error:Only x32 JVM supported
    at com.adobe.air.ipa.IPAOutputStream.addInitialContent(IPAOutputStream.j
    ava:142)
    at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:96)
    at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:47)
    at com.adobe.air.ADT.run(ADT.java:176)
    at com.adobe.air.ADT.main(ADT.java:141)
    can anyone help with the error please ?

    Hi thanks your replies I have uninstalled jre-6u20-windows-x64 again and I open the 32 bit version of IE8 and went to the java.com ran the installation checker and is recommended re-U-windows-I-gift-rv I have already downloaded this app and installed. B ut I still tried to install it and the installation process say its already installed. I ran the test applet and everything works fine.
    When I run the java file from cmd
    java -jar fai-packager.jar -package -target ipa-test -storetype pkcs12 -keystore c:/project/iphone_dev.p12 iLife.ipa c:/project/iLife-app.xml -C c:/project/ iLife.swf -C C:/project/icons . -C C:/project Default.png
    I get this error message
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    The only way I can get the java to run is by installing the jre-6u20-windows-x64 update

  • ID CS5 on Mac 10.5.8 can't run java scripts from User folder

    I seem to have a problem with my java scripts in ID on my Mac. I store them in my user scripts folder, but while I can run any applescripts in the folder, doubleclicking on any of the java scripts gets me exactly nothing. If I open the scripts in Extend Script Toolkit and run them from there, they will work, but I can't run them from within ID. The scripts in the Sample Script folder work. I've tried changing the script extentions, I've opened them in the toolkit and resaved them. Still no response at all when I doubleclick on them in the scripts panel. Any idea what could be wrong? I can run the same scripts from within ID on my Windows laptop, so I don't think the scripts themselves are at fault. In fact, I just moved them into the Sample scripts folder, and they run with no problem. Does the User script folder just not work?

    Not sure what a screenshot will tell you, but here you go.
    Well, I was hoping that the icon next to the scripts would be instructive.
    Apparently not, though!
    You said the same scripts work fine if you move them into the Application Scripts folder, specifically the Sample Scripts folder. I assume, then, that the sample scripts also break if moved to the User Scripts folder?
    Is your User Scripts folder (and thus your home directory) on a non-local (network) filesystem? Are the permissions on it wacky? If you Reveal In Finder it, and Get Info, do you see anything out of the ordinary?
    What if you delete it (err, move it aside) and recreate it?
    This seems pretty strange...

  • Running java fro DOS windows

    Hi, can somebody tell me how to run java files from the DOS window, in windows??? thanks

    joej wrote:
    ok, thanx, i did and i found i should write this javac javafile.java, but when i did i got this error "javac is not recognized as an internal or external command, operable program or batch file, what does that mean or what could it be causing it?In the dos-shell, when you type "javac" or any other commands, the shell searches it's available path for the command. In this case, "javac" was not included as part of the path that the does shell searches and therefore it returned that error.
    Go to google and search for how to add javac to source path.

Maybe you are looking for