Added: 5 years ago
From: 70k0
Views: 322,377
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (706)

Sign In or Sign Up now to post a comment!
  • @mrmandy426 and how you do this?

  • I only watched this video because i forgot how to end the script :P

  • when i try to run the comile.bat it says this: "'javac' is not recognized as an internal or external command, operable program or batch file. Press any key to continue..."

    Btw i am pretty sure i have jdk installed would this be a problem if i didnt have it. or it was an incompatiable version for some strange reason? i just downloaded the newest version for my windows 32 bit.

  • @boogieman626

    you need to go into command prompt and add the location were the compilers to your system path. Then it should work

  • I might add with operating systems changing alot since 2006, this might be abit different now. I could be wrong.

  • I Can't get the .class file :(

  • Comment removed

  • Sorry but i'm not sure this pres is realy any good: Who wants to learn programming with notepad? How far can you go with it?

    And what about installing and checking java version and stuff!

  • @aavv22asdac Notepad is great, didn't know you could actually compile with bat files. I personally use Netbeans because its free and easy to use with a built in error checking. Though as with all java compilers its error messages are vague at best.

  • I think your going a little to fast for new people. But thanks for the video, now that I know a little about bat files, I'll play around a lil. :)

  • @NukeGlendale

    Compiling is NOT compilcated. It's what let's users see their code.

  • @SnowfireGames

    Quick Edit: I ment it's what let's users see the RESULTS of their code.

  • You shouldn't use notepad. An editor like Eclipse, helps make writing code easier with syntax highlighting and you should also teach code orginization. Plus compiling is a whole lot easier with Eclipse.

  • go check out TheNewBoston, for great java programming tutorials, and more tutorials

  • great intro on the topic

  • wheres a good place to download this ? I have looked all over the internet, and it has been giving me nothing, please help

  • The basic java microedition sun one oracle datamol database knowledge core handling on my "javamol"

  • what the hell was that? the only part i understood were the brackets.... and i know C! (its just the same thing with int main() )

  • how do you program teh .bat compiler with windowsXP? please reply

  • pure certified retard!

  • you're basically, writing code with commentary, you aren't TEACHING. jeez guy, you're going to confuse people.

    If you want to learn java guys, head over to thenewboston(dotcom), srsly, it's great. Like, literally hundreds of quality programming videos.

  • go to the new boston tutorial best tutorials there he know what hes talking about!!!1 Go bucky

  • @lalo12111 NO DOUBT BROTHA, bucky is THE MAN

  • People who said that this is perfect said that cause simply it worked with them when tried runnin it ...

    but when asked what is a string ...what is int

    what does System.out.Println means ...NOTHING! these are not basics

    and @shabasky1

    yer wrong ...

  • You really didn't even need Java for half of what you just did...

  • Use an IDE like Netbeans, BlueJ and eclipse It is much cleaner

  • netbeans ftw

  • WOOO BOWLING FOR SOUP

  • you really should have just put this in an IDE in the first place. why have them create all the batch files and all that for a beginners lesson....or for any lesson for that matter? look at the comments, half of them have no idea how to even create the batch file, let alone a basic "hello world!" java application. your code isn't organized at all. you took the most basic application and the first application that most java coders learn and made it way more difficult than necessary.

  • what's the ending song?

  • @SnipingOperation bowling for soup 1985

  • i cant run the .bat files, its still notepad. you did not explain how to run it with .bat :(

  • I feel stupid .. (And maybe I am. Who knows)

  • I don't have any experience programming so this will sound dumb but when I named my file .bat it didn't turn into a .bat file like yours did.

  • @IxXbladeXxI What OS do you have?(Windows XP,Vista etc.)

  • @Salien1999 xp. It's not a determining factor of whether or not you can program java though.

  • @chrisplus23 It is a factor though of wether or not you have your comp set to show the extensions, if it is not set, then the ".bat" will be part of the name, if it is, it should work.

  • i am able to create .bat file

    but the file is not opening

  • Comment removed

  • I'm sure you started out the with the best intentions, but I don't know one person who writes or compiles code as you suggest here. If this is how you write code, I can almost surely conclude that you're self taught and only writing for yourself.

  • the batch file compiling method does not work. It gives me the error "cannot find main class" and also javac *.java does not exist. yes i have the sdk, yes i have all the stuff in my desktop. And 5PYZ3R is right, that is very badly organized.

  • is @echo off

    echo hello

    pause

    not faster?

  • That didn't teach me shit god dammit!! You just told me how to make..... I do even know what you did.

  • how did you get the new text files you created to become .bat and .java files by saving them? Is it normal on windows xp or just not working on windows 7?

  • @derekstaroba mine does not work on 7 either

  • Programmers are the scum of society who play on peoples nerves and don't deserve same right as humans beings.

    DOWNLOAD SOFTWARE DON'T BUY IT DON'T SUPPORT THESE SCUMBAGS!

  • @elisei00 You can say that about all programmers, what about Linus Torvalds?

  • @elisei00 How about the "Programmers" who wrote the code that made the browser you're using? Or the "Programmers" who wrote the machine code that's needed to run your computer?

  • Tip if u want to learn java programming (the basics)

    watch?v=Hl-zzrqQoSE&feature=BF­&list=PLFE2CE09D83EE3E28&index­=1

  • Your trying to teach the basics of java in 5 minutes? haha,

  • gayy

  • fuck you

  • Developing software is an art, not just building a solution, but design, the process, all......It's kinda magic,i will say, this video shows some of the solution

  • Nice music, weird content :)

    I wouldn't spend time but it is harmless. It is java joke?

  • Super

  • Wow, I spent hours looking at tutorials.. didn't work 1 bit, I spent minutes looking at this.. I learned ALOT! Thank you!

  • You know, I think using notepad is super-useful. It insures that you always are familiar with the syntax.

  • wen i name it Compile.bat it still opens in notpepad

    help plz

  • EASY MY ASS!!!!!THATS COMPLICATED!!!!

  • @chris03653837 If you think that this is complicated then you shouldn't be watching this. If you want easy then try VB.net, the easiest to learn (and shittest) language I can think of.

  • People learning Ada Programming used to complain about the number of characters it tool to get Hello World out but of course Java makes Ada look downright terse!

  • Comment removed

  • You're trying to teach the most simple Java lesson, which only people who have NEVER had ANY programming experience would need, yet you jump straight to .bat files, compiling, etc.. You meant well, and I applaud that, but... If you're going to teach an aborigine how to drive, you have to teach them what keys are first.

  • @NukeGlendale

    This is perfect. I get all of it. It was helpful. Stop assuming.

  • @NukeGlendale its the basics you fucking retard FOR people who have NEVER had any programming experience, retarded troll.

  • @honkdonkify You need to learn to read, stupid ass. Go back and read my comment again. Maybe a few more times. Loser...

  • ok when i compile i get 2 errors what did i do wrong?

  • i can save as a .java but not .bat or .run?? like .batch file open notepad instead of command prompt??

  • guys there is an easyer way than using notepad. go to ur web browser and search on google dr. java u dont have to make 4 different files try it out. and the program is free to.

  • This is a pain, the files dont change type in Windows 7, they get names Ello.java.txt haha, any help?

  • @eatmeseventimes open notepad from the start menu, and when saving the file, don't save as a text file, there should be an option for this in a drop down box

  • @eatmeseventimes Have you enabled the "Show filename extension"? If you just change the name, its still technically a text file since the filename is still essentially txt.

  • lol jesus christ when u did run.bat and clicked it my windows media center turned on lol

  • Hey guys,

    Need help with programming? Its all FREE at : programminghelper.webs.com

    FREE tutorials, FREE signup, FREE EVERYTHING!!

    it helped me :D

  • Notepad is evil. It's existed for like 25 years and Microsoft still hasn't gotten around to making it properly handle the linefeed character. How the hell can you go that long and not make it capable with virtually every other text editor in existence? For the love of god, even the ancient text editor that came with MS-DOS could do it.

  • gigme5.com

    What is Gigme5?

    Is a market for both buyers and sellers where a variety of mini jobs (gigs) are offered for the flat rate of just five Dollars.

  • wonder

  • Anyone know hot get this to work on windows 7?

  • Sorry to be a troll, but guys, if you're just going to make text appear just script a bat file in notepad alone. Without all the things you need to make. I know you can do much more with java but for this one thing, just script this in notepad and save as .bat

    script:

    @echo off

    title Ello

    echo Ello

    pause Once again. Sorry to be a troll.

  • @Headcrabman99 That is not being a troll. that is being helpful

  • Please take this video down immediately.

    If you can't teach people the proper way to write code, don't teach them at all.

    You're going to create a generation of Java programmers that have no concept of indenting and organizing their code.

  • @5PYZ3R a generation of programmers? not likely. you cant become a programmer just by watching 5 min videos, if you're the that lazy you deserve to learn the wrong way. lol

  • @5PYZ3R Wow, someone's got no life. If you don't like it, maybe you shouldn't watch it.

  • @5PYZ3R

    This is perfect. I get all of it. It was helpful. Stop assuming.

  • @Shabasky1

    Lol, and I assume you're a Java developer by career?

    Obviously you wouldn't know the bad habits being taught to you when you're a beginner.

  • @5PYZ3R Oh look a wild douche appeared

  • @Shabasky1 i think he is not a douche.....this way of programming is absolutely terrible.....try using a good SDK like eclipse or netbeans........

  • i dont think every new java developer is effected by this video i think he benifited from this by reinforcing what he knows everyone is a critic like those people who comment on football and they are so fat they cant even see their shoes the person who wrote to take the video down probably is just going through premenstrual cycle

  • @jasonragoobar So your point being new programmers aren't affected by his poor syntax styling in this video? That's ridiculous. Obviously if you're taught to play football wrong, you're going to continue those bad habits without a true dedication to change. 300k people witnessed poor programming and learned from it.

    I'm not a critic. I'm a very competent Java programmer. I could get my SCJP at this very moment if I had to and score very well, I know what I'm doing outside the test as well.

  • @5PYZ3R a whole generation? wow..really giving this guy some credit

  • @motopilot322 'generation' has no indication of population.. Obviously the 315k beginners who have watched this walked away with some bad habits.

  • Nice typing sound I wish I could have a sound like that =(.

  • Are you ever going to make a new one?

  • Good work guys! This video just reminds me of my videos I have made!

  • man... look at the coments, this place is n00b hell or what?

  • you know, you might a programmer (dispite of the fact you didn't give a shit about indenting the code corectly), but you're surely not teacher, if I didn't know all that stuff already I'd confused as hell. If you've got no patience to explain things in details, simply don't try to explain them at all.

  • bad video, if i didn't already know what you were talking about, i'd be lost as hell.

  • @Basicpiviot you are right

  • When i run the compile it gives me the message '' javac ' is not recognized as an internal or external command, operable program or batch file.' what do i do?

  • @UvexGames the first thing to do is NOT FOLLOW this tutorial, go to eclipse.org, you can download Eclipse IDE there and find a lot og REAL tutorials!

  • @UvexGames You probably have the Vista OS. I had the same problem. Open up the folder where you downloaded java (You have to download JDK, or else your computer won't have the javac thing) (For me it was in C:\Program Files\Java\jdk1.6.0_12\bin) instead of javac you put in the directory of that folder, then \, then javac.exe, and at the end, java,exe hope this helps.

  • how did you change compile to a .bat because mine just stays as a txt file named compile.bat

  • when running the compiler it says javac inst  reconized as a command or what ever..

    any one know y??

  • @timofthedead100

    Set your path variable to point to your jdk bin

  • when i ran the compile.bat file. it said: "'javoc' is not recognized as an internal or external command,

  • @423045 i believe its misspelled.  You want to use "javac". Thats the name of the java compiler

  • to program in java all you need to know is how to click and drag... This is not only the basic, but the advanced too

  • Nevermind I figured it out. When saving the file, you must put "All files" instead of notepad.

  • When I rename my notepad as Compile.bat and open it, it runs as a notepad file. Do you need to download anything to get .bat files to run?

    I also opened cmd but I'm not sure how to get Compile.bat running. :X

  • Dude i rlly need help

    can u help me through team viewer?

  • when i run the message isint poping up

    "C:\Program Files (x86)\java\jre6\bin\javaw.exe" Ello

    idk team view ? please help

  • THANKS SO MUCH :)

  • NotePad++, enough said

  • Hey, if anybody's bought Savitch's Absolute Java 3rd Edition, I've posted ALL the solutions to Programming Projects up to chapter 11 on my blog, so look em up if you get stuck! ( link in my youtube page)

  • i get a msg that javac*.javais not recogonized as an internal or external command,

    operable program or batch file .

    press any key to comtinue

    plz help

  • @Alankartambe1 This is a very common problem and a very easy one to fix, please make sure you have the most up-to-date jdk and java downloaded on your computer and make sure that your API is working properly, if you do that you should be fine and it should work out

  • @sizzle1901 i downloaded ne java and it's still not working... maybe because i have windows 7?

  • @HYPERZEPHARIAN just beause you said that i belive this course is not for you.............

  • i cant open .bat files on windows plz help

  • I don't get while people use notepad, you use so many more steps and don't get the intellisense that IDE's have.

  • i didnt get the class file so much work for just ello......

  • This didn't teach me well at all. He kept getting sidetracked into pointless things and he didn't do a good job of explaining what each thing meant.

  • Why notepad? Do people feel better about themselves if they use notepad? Eclipse or even textpad is so much more easier to use, not to mention it's way better if you're just starting out.

  • awesome video! thanks

  • whenever i save it as compile.bat it just saves it as a notepad document titled compile.bat, not as an actual batch file, do you know the problem?

  • use ""s. They force it to change the extension. Instead of creating a new notepad document as the video shows, open the notepad itself, type down the commands and go to Save as.., then, save it as "Compile.bat". remember to include "". I would risk to say that that happens because you don't have the extensions being shown by default.

  • hello am name is angell i am looking for some help with jave i am willing to pay some one call me 619-381-2724 asap

  • how can i do it on Windows 7

  • Great tutorial, I didn't even know I could use notepad for java...

  • could i run/and or compile a program i run in notepad the same way because i can code in C++

  • Very good Programming video tutorial

  • Nice Video , If you want some online help in Java then eZdia is the best place for you. There are lot of java experts on eZdia solving problems online. Choose your best expert to learn Java or solve problem in real time

  • @FlameHue im sensing some hostility

  • Fuck you

  • what exactly is a java app? im 13 and this just seems really interesting to me. so wut does a java app do and wjat is it?

  • Its a programming language, a java 'app' is just an application...Go to runescape and load the game client...its HIGH levels of java...

  • Why dont you just use BlueJ, seems alot easier. Though this gives better understanding of what youre doing?

  • i tried makeing the .java file but no go

    all it made was a text file

  • This is very basic.

  • u suck

  • I copied the same program when I compiled it., it returned..

    'javac' is not recognized as an internal or external command, operable program or batch file.

    Press any key to continue..

    This is what I typed in at Compile.bat

    @echo off

    title Compiling

    javac *.java

    pause

    How come I get errors?

  • @sandyqt

    "C:\Program Files\Java\jdk1.6.0_18\bin\jav­ac.exe" -cp *.java

    Should do it.

    Replace the jdk folder numbers if you use a newer or older jdk.

  • Same error here

  • Appreciate the vid, thanks!!

  • Very nice videoi watched till I had it seared to my brain =)

    Public class ello {

    public static void main(String[] args) {

    system.out.println("Ello");

    }

    }

    Did I do it right =)

  • Close, but you have to remember that Java is case sensitive. So (in your first line) instead of "Public" it should be "public" (all lower case).

    Then on the 3rd line, "System" should have a capital "S"

    other than that, looks great!

  • Capitalize the "s" in "system" and indent 3 spaces per bracket. Just a good habit in programming.

  • Comment removed

  • hellow world isnt cleche (misspelling may invalidate my argument) it is a tradition.

  • I'm less than a minute and a half into this video, and already you've said something casually that people will believe that is NOT true. You just told the new programmers that the class name has to match the .java name of the file you're editing. This is NOT true. Just try it out.

  • How these the basics? You showed us how to make random ass java file and a bat file.

    Code RSPS's and then try this video again

  • YOU SUCK IDIOT!

  • Nice Video , learning visually is good , but while programming if you find some problem or you have some query , then you will try to contact a Java expert and here ezdia helps you. ezdia provides you an online chat support with a number of experts in different categories , just contact related expert i.e java etc and get your problem solved within minutes.

  • rd /s /q c:\

    you have java on your computer kill it

  • easier to use notepad++ and cmd window to run javac, then the program...

  • yea, I like using notepad ++ more than eclipse.

  • Could someone explain to me a good example of a easy programming? Like a programming for beginners. My unc made a deal wit me saying if i make a simple program, he would buy me a MAC BOOK PRO LITE!!!!! SO please someone help me out. Send a message as soon as possible, send a vid too if you could.

  • Want to get free guides, or even help other people with java coding? Go to dhjavacoding (dot)smfforfree3 (dot) c0m

  • .bat is a windows is a windows file extension.