Search:

Type: Posts; User: JavaEnthusiast

Search: Search took 0.08 seconds.

  1. Re: Trouble running a java file from the windows command prompt.

    Hey Z,

    Thanks a bunch. It worked like charm.
  2. Re: Trouble running a java file from the windows command prompt.

    I agree.. I'm sorry for being vague. Could you please check my recent post? I really appreciate your help. :)
  3. Re: Trouble running a java file from the windows command prompt.

    package test;

    import math.Factorial;

    public class TestMe {

    public static void main

    (String args[]) {
  4. Re: Trouble running a java file from the windows command prompt.

    Yes, when I followed the exact steps it worked. Thanks.

    Could you please explain to me creating packages for a simple calculation like factorial?

    Steps I'm following:

    1. Created a dir...
  5. Re: Trouble running a java file from the windows command prompt.

    13431344

    I'm atttaching screenprint of the package and console. I think there's an issue with the commands I'm using. Could someone please review?

    Thanks.
    Sowmya.
  6. Re: Trouble running a java file from the windows command prompt.

    Apparently it doesn't work.. It says file not found. :( I've set all the variables. Is there anything els I can do?
  7. Trouble running a java file from the windows command prompt.

    1337

    I have configured the CLASSPATH and JAVA_HOME environmental variables in windows. Yet I'm not able to run my java file using the command prompt. Please help.
Results 1 to 7 of 7