Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 2 12 LastLast
Results 1 to 25 of 34

Thread: running java files in the cmd.exe

  1. #1
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Angry running java files in the cmd.exe

    I am Charles Chinedu, a graduate of Statistics, in Nigeria.i picked interest in coding recently, so i took to trraining myself on html5, css, and javascript. i chose to add java to the tutorials i'm getting online. but am having problems running java codes i wrote using notepad in the cmd.exe. this is d code:
    public class MyClass {
    public static void main(String[] args) {
    Systems.out.println("Hello World");
    }
    }
    i saved it with MyClass.java
    charset:unicode
    what do i need to do to get cmd.exe to recognize the command "javac MyClass.java"

  2. #2
    Member John Joe's Avatar
    Join Date
    Jun 2017
    Posts
    279
    My Mood
    Amused
    Thanks
    8
    Thanked 19 Times in 19 Posts

    Default Re: running java files in the cmd.exe

    Whatever you are, be a good one

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    One way is to use the full path the the javac.exe file so the OS can find it. For example, here is a commandline I use:
    C:\Program Files\Java\jdk1.8.0_60\bin\javac.exe -cp . -Xlint -Xdiags:verbose TestCode25.java
    If you don't understand my answer, don't ignore it, ask a question.

  4. #4
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    thank you for the insight. the commandline that you used, is it in the view advanced settings>system variables>path. this is the version of java that i have installed:

    java version "1.8.0_231"
    Java<TM> SE Runtime Environment <build 1.8.0_231-b11>
    Java HotSpot<TM> Client VM <build 25.231-b11, mixed mode>

    now about the jdk in the path<system variables, would mine be jre(as iys a runtime environment). pls i need help, cos i want to start writing java codes as soon as possible.
    Last edited by Chinedu & ICT; December 7th, 2019 at 12:39 PM.

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    The command line I posted could be used in any command prompt window. The full path to the javac.exe file is given which allows the OS to find the javac.exe file and start it executing with the rest of the args on the command line being passed to the javac.exe program.

    Adding a path to the system's PATH variable, allows the OS to find the javac.exe file without you having to give the path on the commandline.
    If you don't understand my answer, don't ignore it, ask a question.

  6. #6
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    i dont understand this:The command line I posted could be used in any command prompt window.
    should i copy and paste the command line in the cmd prompt window.i know my questions will sound silly, but im a beginner. i need help , time flies.

  7. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    should i copy and paste the command line in the cmd prompt window.
    My commandline refers to a file on my PC. The path would probably be different on your PC. You need to use the path from your PC

    You need to know where files are located on your PC
    and how the OS finds them.

    There is more to know than I can explain here.
    If you don't understand my answer, don't ignore it, ask a question.

  8. #8
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    yeah. i know where files are located on my PC. it's located in C:\Users\HP. my java file is in there and still the cmd don't run it.

  9. #9
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    Please copy the full contents of the command prompt window and paste it here so we can see the command that was entered and the response.
    If you don't understand my answer, don't ignore it, ask a question.

  10. #10
    Member
    Join Date
    Apr 2014
    Posts
    93
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default Re: running java files in the cmd.exe

    To compile with javac from the command prompt, the command window needs to know two things: the location of javac.exe and the location of your .java source file(s). From your posts, it appears that "java -version" and "javac -version" are giving good-looking results, which means the Path environment variable is good and thus javac.exe and java.exe can be found without specifying the full path to them.

    Next it needs to be able to find your .java file. To do that, you can either CD (change directory) into that folder, then call "javac MyClass.java", or you can specify the full path to the source file without navigating into the folder first (e.g. "javac C:\JavaProjects\MyClass\MyClass.java". When that's successful, you'll see a new file "MyClass.class" file get created next to MyClass.java.

    Then you just call "java MyClass" (if the command window is already navigated to the folder containing MyClass.class) or call "java C:\JavaProjects\MyClass\MyClass" (if the command window is not already navigated to the folder) to launch the program. Note for the call to java.exe, we omit the ".class" part of the file we want to execute (since it's implied).

    So ultimately there should only be two problems to solve: 1.) Make sure your calls to java and javac are working, not giving errors like "not recognized as an internal or external command" (you can verify this with "java -version" and "javac -version"), and 2.) make sure you're passing (to javac and java) the correct location to your .java file and .class files, respectively. If you "CD" into the directory first, then you're good, otherwise you have to pass the fully-qualified path (e.g. "javac C:\JavaProjects\MyClass\MyClass.java" and "java C:\JavaProjects\MyClass\MyClass")

  11. #11
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    java version "1.8.0_231"
    Java<TM> SE Runtime Environment <build 1.8.0_231-b11>
    Java HotSpot<TM> Client VM <build 25.231-b11, mixed mode>

    if i have to change the path with the version of java i have, it'd b:
    C:\Program Files\Java\...1.8.0_231\bin

    i put '...' cos i dont think what i have is jdk, which comes to my second confusion:
    can i run my java tutorials with the java i have? "is it jdk?"

    >>>><Please copy the full contents of the command prompt window and paste it here so we can see the command that was entered and the response.>
    i hv tried copying what i have on the screen of my cmd.exe it doesn't copy.

    @Binarydigit09
    i hv tried entering "javac -version", its not recognized as an internal, or external command, operable program or batch file

  12. #12
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    Here is The path to my javac.exe file:
    C:\Program Files\Java\jdk1.8.0_60\bin\javac.exe

    The JDK programs are in a folder with jdk at the start of the folder name.

    If the OS does not find the javac.exe program, you need to set the PATH environment variable to have the path to the bin folder that contains the javac.exe file.

    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show
    Click in upper left again
    Select Edit and click 'Copy'

    Paste here.
    If you don't understand my answer, don't ignore it, ask a question.

  13. #13
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    thank you. this is whAT i hv in the cmd.exe:

    C:\Users\HP>javac -version
    'javac' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\HP>java -version
    java version "1.8.0_231"
    Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
    Java HotSpot(TM) Client VM (build 25.231-b11, mixed mode, sharing)

    pls is this jdk or jre(from the name)?

  14. #14
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    Java(TM) SE Runtime Environment is the jre
    If you don't understand my answer, don't ignore it, ask a question.

  15. #15
    Member
    Join Date
    Apr 2014
    Posts
    93
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default Re: running java files in the cmd.exe

    Quote Originally Posted by Chinedu & ICT View Post
    thank you. this is whAT i hv in the cmd.exe:

    C:\Users\HP>javac -version
    'javac' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\HP>java -version
    java version "1.8.0_231"
    Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
    Java HotSpot(TM) Client VM (build 25.231-b11, mixed mode, sharing)

    pls is this jdk or jre(from the name)?
    There's no way to tell if you have the JDK by simply invoking "java -version", because the JDK comes with the JRE and "java -version" always invokes the JRE, regardless of whether or not you also have the JDK installed. "javac -version" giving errors reveals that the JDK is not installed. "javac -version" is the first thing to get working.

  16. #16
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    Quote Originally Posted by BinaryDigit09 View Post
    There's no way to tell if you have the JDK by simply invoking "java -version", because the JDK comes with the JRE and "java -version" always invokes the JRE, regardless of whether or not you also have the JDK installed. "javac -version" giving errors reveals that the JDK is not installed. "javac -version" is the first thing to get working.
    thanks alot Binarydigit09!
    how do i solve this "javac -version"'s error issue, how do i install the jdk?
    i forgot to mention from onset, i have a data-reporting software that runs on java installed in my system. could it be the problem?

  17. #17
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    how do i install the jdk?
    Go to the Oracle site and download a JDK from there.
    If you don't understand my answer, don't ignore it, ask a question.

  18. #18
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    Quote Originally Posted by Norm View Post
    Go to the Oracle site and download a JDK from there.
    do i have to uninstall this jre i have, and also the data reporting app running on java?

  19. #19
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    It is possible to have multiple JDKs and JREs on your PC. The issue would be that the PATH will point to only a bin folder for each program. When wanting to use a program that is not pointed to by the PATH environment variable, you need to give the OS the full path to the program.
    If you don't understand my answer, don't ignore it, ask a question.

  20. #20
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    Quote Originally Posted by Norm View Post
    It is possible to have multiple JDKs and JREs on your PC. The issue would be that the PATH will point to only a bin folder for each program. When wanting to use a program that is not pointed to by the PATH environment variable, you need to give the OS the full path to the program.
    i uninstalled other java softs i have and downloaded the jdk 8 update 202 today, the installation since in the afternoon today, based on my time zn is still incomplete. i think its being delayed by bytefence,which has refused to resolve the harmful issues it detected while the jdk setup was running unless i upgrade. however, i downloaded and installed processing. still enjoying the setup() and draw() thrills. but frankly speaking, am not satisfied, cox i want to write java programs, run it, to get the real thrill of it.
    i would be grateful if someone can share a jdk setup that would not have bytefence antivirus, a jdk setup that would install smoothly. this is my email:ezeheebochinedu@gmail.com

  21. #21
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    C:\Users\HP\myJava>javac MyClass.java
    MyClass.java:1: error: illegal character: '\u0000'
    *■p u b l i c c l a s s M y C l a s s {
    ^
    MyClass.java:1: error: illegal character: '\u0000'
    *■p u b l i c c l a s s M y C l a s s {
    ^
    MyClass.java:1: error: illegal character: '\u0000'
    *■p u b l i c c l a s s M y C l a s s {
    ^
    MyClass.java:1: error: illegal character: '\u0000'
    *■p u b l i c c l a s s M y C l a s s {
    ^
    MyClass.java:2: error: illegal character: '\u0000'

    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal start of expression
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal start of expression
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: ';' expected
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: ';' expected
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal start of expression
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal start of expression
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^
    MyClass.java:3: error: ';' expected
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {
    ^

    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {

    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {

    ^
    MyClass.java:3: error: illegal character: '\u0000'
    p u b l i c s t a t i c v o i d m a i n ( S t r i n g [ ] a r g s )
    {

    ^
    MyClass.java:4: error: illegal character: '\u0000'

    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: not a statement
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: not a statement
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: ';' expected
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: ';' expected
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:5: error: illegal character: '\u0000'
    S y s t e m . o u t . p r i n t l n ( " H e l l o W o r l d " ) ;
    ^
    MyClass.java:6: error: illegal character: '\u0000'

    ^
    MyClass.java:7: error: illegal character: '\u0000'
    }
    ^
    MyClass.java:7: error: illegal character: '\u0000'
    }
    ^
    MyClass.java:7: error: illegal character: '\u0000'
    }
    ^
    MyClass.java:7: error: illegal character: '\u0000'
    }
    ^
    MyClass.java:8: error: illegal character: '\u0000'

    ^
    MyClass.java:9: error: illegal character: '\u0000'
    }
    ^
    MyClass.java:9: error: illegal character: '\u0000'
    }
    ^
    MyClass.java:10: error: illegal character: '\u0000'

    ^
    MyClass.java:11: error: illegal character: '\u0000'

    ^
    MyClass.java:11: error: reached end of file while parsing

    ^
    52 errors

    the above is what i'm getting from the cmd when i try to run a program, my javac -version is ok.how do i resolve this issue, i'm reading up java class & classpath to c if i can resolve it. he/she who knows should help me pls.

    this is my javac -version:

    C:\Users\HP\myJava>javac -version
    javac 1.8.0_202

    these r d codes i'm trying to run:

    MyClass.java

    public class MyClass {
    public static void main(String[] args) {
    System.out.println("Hello World");
    }
    }

    myNum.java

    int myNum=33 ;
    System.out.println(myNum) ;

  22. #22
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    It looks like the MyClass.java file has been saved as Unicode not text. Edit the file and save it as text.
    If you don't understand my answer, don't ignore it, ask a question.

  23. #23
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    Quote Originally Posted by Norm View Post
    It looks like the MyClass.java file has been saved as Unicode not text. Edit the file and save it as text.
    i c ANSI, unicode, unicode big endian, and utf-8. in "save as type", i c save as text, and all files. i used to save wt unicode, now i save wt utf-8. i edited it now, n changed the save as type from all files to save as text. this is output from the command prompt wn i tried compiling wt "javac MyClass.java":
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\HP>javac MyClass.java
    javac: file not found: MyClass.java
    Usage: javac <options> <source files>
    use -help for a list of possible options

    i was scavenging on class n classpath, couldn't fully flow with it.
    how do i manage ds cmd's output: javac <options> <source files>

  24. #24
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: running java files in the cmd.exe

    Where is the file MyClass.java located?
    The javac command was looking in the C:\Users\HP folder for that file.

    You need to change directories to be in the same folder that contains the MyClass.java file.

    Use the dir command to see what files are in a folder.
    If you don't understand my answer, don't ignore it, ask a question.

  25. #25
    Junior Member
    Join Date
    Dec 2019
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: running java files in the cmd.exe

    Quote Originally Posted by Norm View Post
    Where is the file MyClass.java located?
    The javac command was looking in the C:\Users\HP folder for that file.

    You need to change directories to be in the same folder that contains the MyClass.java file.

    Use the dir command to see what files are in a folder.
    i've used the dir command and MyClass.java file is in the HP directory. i even moved the MyClass.java file to the java software folder, it was still not loaded/found, i removed it from the folder. i surfed the web, trying to find a way around ds issue, found some articles and pages on "classes and setting classpath" to address such as my issue. still trying to understand "classes & setting the classpath". what do you think?
    this is whats in the HP user account, its my user account. i changed the name but i'm going to rename it to "HP" now to c what i'll get:

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\HP>dir
    Volume in drive C has no label.
    Volume Serial Number is 76EB-4A60

    Directory of C:\Users\HP

    12/25/2019 05:15 PM <DIR> .
    12/25/2019 05:15 PM <DIR> ..
    12/12/2019 11:02 PM 0 'javac'
    12/25/2019 05:15 PM 95 .accessibility.properties
    11/18/2019 06:08 PM <DIR> .AndroidStudio3.5
    11/18/2019 08:56 PM <DIR> .gradle
    11/19/2019 09:41 PM <DIR> AndroidStudioProjects
    10/24/2016 02:07 PM <DIR> biocapture-sync
    12/17/2019 12:16 AM <DIR> Contacts
    12/18/2019 11:13 PM <DIR> Desktop
    12/23/2019 10:31 PM <DIR> Documents
    12/24/2019 05:55 PM <DIR> Downloads
    11/29/2019 03:04 PM <DIR> Favorites
    12/22/2019 05:04 PM <DIR> java jdk
    12/05/2019 11:28 AM <DIR> java runtimE
    12/12/2019 11:02 PM 0 javac
    05/19/2019 05:45 PM 0 lib.defs
    11/21/2015 01:28 AM <DIR> Links
    12/03/2019 10:46 PM <DIR> Music
    12/22/2019 05:12 PM <DIR> myJava
    12/12/2019 11:02 PM 0 operable
    11/12/2019 11:37 PM <DIR> Pictures
    11/21/2015 01:28 AM <DIR> Saved Games
    12/16/2019 11:47 PM <DIR> SCHU tools
    03/10/2019 10:48 PM <DIR> Searches
    12/15/2019 07:23 AM <DIR> spss
    11/12/2019 11:37 PM <DIR> Videos
    5 File(s) 95 bytes
    22 Dir(s) 246,024,032,256 bytes free

    C:\Users\HP>
    Last edited by Chinedu & ICT; December 25th, 2019 at 11:49 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Cannot read files while running program from JAR-file
    By iHank in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 27th, 2014, 01:26 PM
  2. Replies: 1
    Last Post: November 28th, 2013, 01:14 AM
  3. Replies: 21
    Last Post: June 12th, 2013, 11:33 AM
  4. Running a java applet inside a java window?
    By frozen java in forum Java Theory & Questions
    Replies: 3
    Last Post: July 3rd, 2012, 10:55 PM
  5. JDIC init Exception while running Flash files (.swf) through Java Swings
    By kushima@gmail.com in forum AWT / Java Swing
    Replies: 1
    Last Post: March 1st, 2012, 05:40 AM