Ok. I have literally followed you steps exactly. i even used your name as the variable! no matter what i do the class is greyed out and when i build and run NOTHING HAPPENS.I have xcode 3.1.4 my code bellow the default comments is...
import java.util.*;
public class Testing_Java { public static void main (String args[]) { // insert code here... String Name = "Alex"; String Phrase = "Hello"; System.out.println(Phrase + " " + Name + "."); }
@youR3tard just not really a good way to do it. its like screwing a philips screw with a flat head...its possible but not proper. Instead it should be "System.out.printf( "%d" res); which would show the "res" variable, if you dont specify, "res", it would print the first integer or "int" variable.
@macheads101 i am not saying anything about "ACCEPTABLE" or "NON-ACCEPTABLE" on whatever platform , i am saying this because these IDEs are having HIGHEST RANKING
@farooqmss yes that's true they do have higher rankings and I do like both of them very much. I am just saying that on Mac OS X people expected to see Xcode. This is no longer the case considering apple dropped Xcode java support recently.
Pfffft. Hahahahahahaha! This 'Java'. Java is a professional tool used for designing applications. Most of the apps on your IPhone, PDA, and some web forms run under Java. The movie menus in a lot of movies run under Java. Some games are Java coded, etc. Its really a cool language although is fraught with some criticism because when you run a java web app, you have to have the java libraries installed on your computer.
@stopthrm that's simply not true. Every single iPhone application is written in Objective-C using Xcode. I think you might confuse it with javascript, which is something completely different. Games in java are very uncommon since java requires an interpreter which makes it very slow.
Also, Java is not a tool, but a programming language. Any "developer tools" are part of the IDE you use.
yes they do. All of the code that I do in this will work the same in eclipse. I use eclipse too. In my opinion it's nicer than Xcode for java, but Xcode's what people have.
I have two PC machines in my room, both connected to a power strip along with the monitor. I turn the power strip off when they're not on to save energy, but is that affecting the power supply or computer in any way? Just wondering if you have any idea.
I think you computer has Parkinsons...
Stormrage32 1 month ago
Ok. I have literally followed you steps exactly. i even used your name as the variable! no matter what i do the class is greyed out and when i build and run NOTHING HAPPENS.I have xcode 3.1.4 my code bellow the default comments is...
import java.util.*;
public class Testing_Java { public static void main (String args[]) { // insert code here... String Name = "Alex"; String Phrase = "Hello"; System.out.println(Phrase + " " + Name + "."); }
}
allenph79 9 months ago
I fucking hate that you are twelve.
iMaDeMoN2012 1 year ago
Comment removed
GeDmEn87 1 year ago
why i don't have the possibility to select a new project in java language???
i had download xcode a week ago
help me
GeDmEn87 1 year ago
@GeDmEn87 Xcode no longer supports java. In previous versions it did, but unfortunately it no longer does. I suggest using Eclipse instead.
macheads101 1 year ago
@macheads101 Hey macheads101 i want to import a java program that already exists so i can modify it to my liking how can i do this please help!
MrGustav99 8 months ago
Comment removed
GeDmEn87 1 year ago
I know you probably are aware of it, but please don't use Xcode for Java, it really wasn't made for that. Use Netbeans or Eclipse for Java.
Also, PLEASE don't do println(myint + "") !!!!!!
this is very bad style, use ToString.
guywithcurlyhair 1 year ago
@guywithcurlyhair
Why does it matter?
youR3tard 1 year ago
@youR3tard just not really a good way to do it. its like screwing a philips screw with a flat head...its possible but not proper. Instead it should be "System.out.printf( "%d" res); which would show the "res" variable, if you dont specify, "res", it would print the first integer or "int" variable.
240powered 1 year ago
so after he finishes with java he will teach us C? shouldn't he be doing the other way around ?
thecomputerist 1 year ago
Best IDEs are ECLIPSE and NET BEANS
farooqmss 1 year ago
@farooqmss Xcode is more accepted on mac.
macheads101 1 year ago
@macheads101 i am not saying anything about "ACCEPTABLE" or "NON-ACCEPTABLE" on whatever platform , i am saying this because these IDEs are having HIGHEST RANKING
farooqmss 1 year ago
@farooqmss yes that's true they do have higher rankings and I do like both of them very much. I am just saying that on Mac OS X people expected to see Xcode. This is no longer the case considering apple dropped Xcode java support recently.
macheads101 1 year ago
i dont have the "Java" templates or whatever in XCode. do you have any suggestions?
MacApple10256 1 year ago
i don't have a java option on mine
benderbrunit22 1 year ago
this is so frustrating no matter what code i put in, and i copied yours EXACTLY it always just returns "Hello World" in the console
zooyork159753 2 years ago
That is what it is supposed to do.
stopthrm 2 years ago
Where do I get this Java -_- Mine's being a bitch
DefenceGame 2 years ago
Pfffft. Hahahahahahaha! This 'Java'. Java is a professional tool used for designing applications. Most of the apps on your IPhone, PDA, and some web forms run under Java. The movie menus in a lot of movies run under Java. Some games are Java coded, etc. Its really a cool language although is fraught with some criticism because when you run a java web app, you have to have the java libraries installed on your computer.
stopthrm 2 years ago
@stopthrm that's simply not true. Every single iPhone application is written in Objective-C using Xcode. I think you might confuse it with javascript, which is something completely different. Games in java are very uncommon since java requires an interpreter which makes it very slow.
Also, Java is not a tool, but a programming language. Any "developer tools" are part of the IDE you use.
guywithcurlyhair 1 year ago
If you need a full Integrated Development Environment (IDE) for JAVA try Netbeans!
AbsurdBrane 2 years ago
Help!!! I am running snow leopard and i cant find java option in xcode please respond. thanks
Blakerules1206 2 years ago
i love Java
thetechroom 2 years ago
Cool, java lesson 5 is coming soon, if statements!
macheads101 2 years ago
in your opinion, what's the best all-around programming language?
parkertruesdell 2 years ago
Almost definitely java. HTML and JavaScript as well, but you can't do much with them. But java can and will run on PCs, Macs, and Linux.
macheads101 2 years ago
thanks, i checked out a few programming books from the library today. now, i'll definitely focus on java. can i write iphone apps with java?
parkertruesdell 2 years ago
Unfortunately no, but i will be getting to iPhone programming later in the summer.
macheads101 2 years ago
i want to write mac applications and iphone apps. does that mean i have to learn both java and objective-c?
parkertruesdell 2 years ago
You would do fine writing Mac applications and iPhone apps with learning Objective-C only.
Imaginativeone 2 years ago
do these same codes work for eclipse?
if so, thanks!
allmasteraa 2 years ago
yes they do. All of the code that I do in this will work the same in eclipse. I use eclipse too. In my opinion it's nicer than Xcode for java, but Xcode's what people have.
macheads101 2 years ago
what's your opinion on python?
parkertruesdell 2 years ago
it`s not so popular
thetechroom 2 years ago
I agree, python is very strange to me, and it's not really supported on windows, although you can get it on windows. I would rather use perl.
macheads101 2 years ago
does perl run on windows?
thetechroom 2 years ago
If you install it, yes.
macheads101 2 years ago
Perl is kinda dated...
stopthrm 2 years ago
INCREDIBLE!!!
Thank you!!!! This will help me alot at highschool!
Crisdorya2 2 years ago
Cool haha your welcome!
macheads101 2 years ago
That's what most people think.
macheads101 2 years ago
do you know a good java programing program for windows xp?
rocktheworld2k6 2 years ago
uuuhhh... i hate camp
rocktheworld2k6 2 years ago
why? Lol
macheads101 2 years ago
Comment removed
rocktheworld2k6 2 years ago
i dont know why. i just dont like camp
rocktheworld2k6 2 years ago
i really hate summer camp! and boy scouts.
rocktheworld2k6 2 years ago
is there a way to do this on windows?
programs similar, different ways,etc...?
allmasteraa 2 years ago
In fact there is. A good program for this would be Eclipse. I am sure that you can find some other online tutorials for it.
macheads101 2 years ago
Thanks for making such easy tutorials!
I have a non related question though.
I have two PC machines in my room, both connected to a power strip along with the monitor. I turn the power strip off when they're not on to save energy, but is that affecting the power supply or computer in any way? Just wondering if you have any idea.
kamprath445 2 years ago
No it should have no effect.
macheads101 2 years ago
I can't read it so it is hard to follow the tutorial :(
Can you subtitle it?
cheerler 2 years ago
I can read it, try HQ.
macheads101 2 years ago
Till 5:50 i can read it, but the rest not
cheerler 2 years ago
Even fullscreen
cheerler 2 years ago
I don't know what to say I can read it fine.
macheads101 2 years ago
nice video alex it was easy to do
TheComputerPerson101 2 years ago
Your welcome.
macheads101 2 years ago
you look like you've aged a couple of years
Vajacases 2 years ago
Haha!
macheads101 2 years ago
Woot!!! I always wanted to program Java!
gamehero77 2 years ago
Yeah glad you like it!
macheads101 2 years ago