Added: 2 years ago
From: TruthBeautyGoodness
Views: 19,589
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (101)

Sign In or Sign Up now to post a comment!
  • cont.

    Could not find the main class: HelloWorld.java.

  • Exception in thread "main" java.lang.NoClassDefFoundError­: HelloWorld/java

    Caused by: java.lang.ClassNotFoundExcepti­on: HelloWorld.java

    at java.net.URLClassLoader$1.run(­Unknown Source)

    at java.security.AccessController­.doPrivileged(Native Method)

    at java.net.URLClassLoader.findCl­ass(Unknown Source)

    at java.lang.ClassLoader.loadClas­s(Unknown Source)

    at sun.misc.Launcher$AppClassLoad­er.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClas­s(Unknown Source)

  • I mean dislikes.

  • Wow, no likes.

  • Hahaha, I feel so proud of myself now!

  • Been doing C++ for over a year now, how easy would it be to pick up Java?

  • Exception in thread "main" java.lang.NoClassDefFoundError­: Wtf/java

    Caused by: java.lang.ClassNotFoundExcepti­on: Wtf.java at java.net.URLClassLoader$1.run(­URLClassLoader.java:202) at java.security.AccessController­.doPrivileged(Native Method) at java.net.URLClassLoader.findCl­ass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClas­s(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoad­er.loadClass(Launcher.java:301­) at java.lang.ClassLoader.loadClas­s(ClassLoader.java:247)

  • Liiihhhhnix ;)

  • 1:09 Leeeeeenux :3

  • Help! I do not get the HelloWorld.java but I only get HelloWorld.java~

  • Please how can I download JE ?

  • @nawaryoussef1 There is something magical called Google

  • @CreeperMart WoW !!! I know that and because of it I am here watching your video, anyway I got it thanks.

  • @nawaryoussef1 This isn't My video

  • @CreeperMart Sorry, because usually who made the video answer, :) 

  • Thank you so much! :D

  • umm.. 1 thing

    I LOVE YOU! (No homo)

    You are awesome! i tried to program or write java over 10 times and I failed, until I saw your video! THANKS! Subbed and Liked

  • "Exception in thread "main" java.lang.NoSuchMethodError: main"

  • What recording Programm are you using?

  • when i di javac HelloWorld it says that it cannot find the symbol and the arrow points at the dot between out and printIn

    what should i do??

  • @jpbooster I had the same problem. My mistake was I put a capital "i" instead of a lower case "L" which look exactly the same.

  • Holy crap I just made my first java program!

  • I DID IT

  • Nice name ;)

    -J3FF

  • Thank you so much, my first computer science class was terrible at explaining how to do this but you made it clear

  • didnt work

  • how do i make rounded:

    (

    brackets on mac?

  • @memoivoila i am so dumb...

    

  • @memoivoila same on windows Shift + 9 and 0

  • @memoivoila shit + 9/0

  • Comment removed

  • @bigcasey1995 The answer to your problem is in the description...

  • @memoivoila no it wasn't i had to set the path, He never told any body about setting the path.

  • @bigcasey1995 then use jedit

  • you can change the terminal look lol

  • thank you this is a great tutorial

  • i Got Lost At Some Parts But i Did It

  • Comment removed

  • where can you download JDK for mac?

  • @fmaddict07 you dont need the JDK for Mac. It should come with it integrated with Java in the system.

    

  • @fmaddict07 JDK is probably already in your Mac. It is located in /System/Library/Frameworks/Jav­aVM.framework/Versions/1.6.0/H­ome/

  • @AppleFanTutorial alt and shift and 8

  • @AppleFanTutorial keys above and to left of the backspace

  • THANK YOU SOOOOO MUCH YOU ARE AMAZING! EASIEST TUTORIAL TO UNDERSTAND FOR A [java] NOOB!

  • after i have made it and then got it in terminal, what do i do with it?

  • after i have made it and then put it in terminal, what do i do with it?

  • Wait, does JDK come pre-installed on Mac?

  • can you put the code in the description

  • @anthropamorphic public class HelloWorld { public static void main(String[] args) { System.out.println("Holy mother poop, this is my OWN Java program!!"); }

    }

  • great tutorial!

  • lol its pronounced "java c" as in java compile

  • @gygnpsn lol dude.... u know this and ur watchin a tutorial on starting to learn java! :P

  • @CDJ445544 Yeah. That damn syntax and shit always gets me.

  • @gygnpsn lol yea :D

  • i use eclipse

  • great....but how should i compile and run AWT applets java programs via terminal.cuz it showed me a msg called "NoSuchMethodError:main"

    but i dont necesaarily have main function in applet programs.

    so do i need to install any additional plug ins to run applet programs via terminal?

  • Neeeeevermind... haha :P

  • hmm I need help, because I have downloaded JDK and still am getting the error listed in the description. Help?

  • Hey TBG, thanks for this video (and the next :3). I'm just getting into Java programming on my Mac and this has been very helpful! Keep it up.

  • nvm i worked it

  • @bad7boyzftw how?

  • @bad7boyzftw yeah me too :P

  • dude i keep getting this error: "'javac' is not a recognized as an internal or external command, batch file or operable program." i knw u said its because of not having jdk i have jdk1.6.0_21 it works but it doesnt have javac so i downloaded jdk1.6.0_23 and still no javac??!! help please and for javaw it says cant find main class :S and i have no idea how the other java programmes r working

  • I keep getting an error every minute saying.

    /Volumes/jEdit 4.3.2/#Untitled-1#:

    Cannot save: java.io.FileNotFoundException: /Volumes/jEdit 4.3.2/#Untitled-1# (Read-only file system)

    wtf?

  • @dylad Me too

  • Was using 'Java a beginners guide' but got stuck in the beginning already.

    This really helped me out big time!

  • WHAT JOKE IS THIS THIS IS NOT RIGHT U ARE WRONG !@#$%

  • Awesome video man, helped me out in my first day of class because our university somehow just overlooked the fact that some people use macs to program on lol

  • Question, I use textedit, are there any settings I will have to change to get it to work because when I use it, I can,t get the format right

  • Thanks for this... extremely helpful.

  • i downloaded jedit and it keeps saying "error read-only file"

  • you don't have to name it the same as the class is named, when you compile it it will automaticly be called "YourClassName".class

  • Comment removed

  • Hey man thanks for making these tutorials, I really appreciate it.

  • You make a lot of errors when you write your code!

    Does that program have a compiler built into it?

  • how do i reinstall it after accidentaly deleting it

  • i got this error while compiling(javac) The system cannot find message text for message number 0x2331 in the message file for Application.

    plz help

  • Thank very Much.

  • cool man! got it to print out that line successfully in like 1 minute. thanks for getting me started :)

  • i installed jdk and it still gives the error "'javac' is not a recognized as an internal or external command, batch file or operable program."

  • @beenox123 right click my computer and go to properties then advanced then enviroment variables. look for the variable Path. change the value by putting a semicolon then your path to javac(java compiler)

    example: C:\Program Files (x86)\Java\jdk1.6.0_20\bin

  • @IDOG321 10x

  • @beenox123 you're welcome? lol

  • Nice vid, this helped a lot!!!

  • When I type in cd 'Java Tutorials' it doesn't work! Please help me!!!

  • @YUPjpn is that the folder? LISTEN TO HIS WORDS

  • @ishiidawg240 to do it go into the terminal/command line

    enter the one command:

    sudo apt-get install java

    this may not work but you can also google it.

  • Hey um,can you help me how to download and install java on Linux?because im really confused and i dont really understand how to download or either install Java on Linux.

  • tnx alot

    it's pretty good... :)

    GOD Bless

  • tnx alooooot :)

    GOD Bless

  • This is so much clearer and spoken out step by step. Thank you, man.

  • nice but when I do the 'javac' bit it says:

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

    do you know what to do?

  • @mattguy1249 you need to set the path variable

  • how the hell do you do that? i got the same message.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more