• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 09:51
CET 15:51
KST 23:51
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation4Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
[TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t Weekly Cups (Nov 3-9): Clem Conquers in Canada Craziest Micro Moments Of All Time? SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle Terran 1:35 12 Gas Optimization BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET [ASL20] Grand Finals [Megathread] Daily Proleagues
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
EVE Corporation Nintendo Switch Thread Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1276 users

[Help] Learning Java

Blogs > Coagulation
Post a Reply
1 2 Next All
Coagulation
Profile Blog Joined July 2006
United States9633 Posts
Last Edited: 2011-01-29 23:13:38
January 29 2011 23:12 GMT
#1
I have been wanting to get into learning coding (simple stuff )and from what i understand java is a good start point. So i did some research and went and downloaded the Java Developer Kit from here after I get everything downloaded and installed nothing seems to work so I did a little more reading and find out that i have to
Set up environmental variables for JDK before i can launch the program. however im having an extremely hard time figuring out exactly what im supposed to do.

I have a guide that gives this as first step
Under Windows, you set environmental variables by modifying the autoexec.bat file, located in the root directory of your hard-drive. This batch file is executed on startup; modifications to this file will not take effect until you run it, or reboot.


I have looked but..
I have no idea where to find this autoexec.bat file.
is it in the java instillation destination folder?
is it in my c root drive?
is it in my windows folder?
Im sorry if this is extremely dumb or simple and im being an ignorant newbie here
however..
I would appreciate any wisdom TL can shed on this frustrating road block

open to any and all suggestions if anyone has any good guides/sites etc to help


*
2Pacalypse-
Profile Joined October 2006
Croatia9517 Posts
Last Edited: 2011-01-29 23:24:37
January 29 2011 23:17 GMT
#2
You can set an Environment Variables by clicking right click on My Computer -> Properties -> Advanced.

Let me get back to you on exactly how to set up Java variables, because I did it like a year ago and kinda forgot now ^^.

EDIT: oh yeah, you need to set path to the Java executables. Under those Environment Variables, find Path variable under System Variables and click edit. Add semi colon at the end and type the path to your Java folder where the executables are.
Example: If you installed your Java to "c:\Program Files\Java", then you add to the path variable ";c:\program files\java\bin"
(note: I think executables are in bin folder, but you should check just to be sure)
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Qzy
Profile Blog Joined July 2010
Denmark1121 Posts
Last Edited: 2011-01-29 23:21:35
January 29 2011 23:21 GMT
#3
Hi

You should get an IDE. Like Netbeans or Eclipse - They control everything for you and makes it simple. . From there, try an online tutorial for java?

http://www.tutorialspoint.com/java/index.htm
TG Sambo... Intel classic! Life of lively to live to life of full life thx to shield battery
2Pacalypse-
Profile Joined October 2006
Croatia9517 Posts
January 29 2011 23:26 GMT
#4
And yeah, you should install some IDE (jGrasp is pretty simple).

You only need to edit your environment variables if you're gonna compile from command prompt, but with IDE there's no need for this.
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Random()
Profile Blog Joined August 2004
Kyrgyz Republic1462 Posts
January 29 2011 23:30 GMT
#5
On January 30 2011 08:21 Qzy wrote:
Hi

You should get an IDE. Like Netbeans or Eclipse - They control everything for you and makes it simple. . From there, try an online tutorial for java?

http://www.tutorialspoint.com/java/index.htm


I would not recommend jumping into an IDE straight away though. I think it is quite helpful to understand how the whole chain of Java development process works, especially things like setting up the class path. An IDE would do that for you and that's cool, but then you will have a hard time trying to run your program without one, and that makes you feel quite stupid
Disregard
Profile Blog Joined March 2007
China10252 Posts
Last Edited: 2011-01-29 23:39:02
January 29 2011 23:35 GMT
#6
You should just use a very simple IDE like JCreator LE. This way everything can be compiled, easily checked for syntax errors and such. After that you should use Eclipse, which I find has better functionality but JCreator is very newbie friendly. Never tried Netbeans though, but its a whole package IDE.

Im not very experienced since Ive only been doing this for a year, both C++/Java. D:

edit: Try using MS-DOS then, I would probably be stumped without a IDE.
"If I had to take a drug in order to be free, I'm screwed. Freedom exists in the mind, otherwise it doesn't exist."
Coagulation
Profile Blog Joined July 2006
United States9633 Posts
January 29 2011 23:55 GMT
#7
ok im downloading netbeans at the moment
apparently it is a pretty complete package.

i will check out JCreator LE

Count9
Profile Blog Joined May 2009
China10928 Posts
January 29 2011 23:58 GMT
#8
NONONONO NOT NETBEANS!!!

No, just kidding, it's not bad at all, but eclipse is so nice. It's very beginner friendly: has a red x mark if your code is wrong, green check if its right, auto suggests correction etc.

I use netbeans mostly for GUI stuff, the coding environment is worse.
fanta[Rn]
Profile Blog Joined October 2004
Japan2465 Posts
January 30 2011 00:08 GMT
#9
netbeans is nice but it's buggy as fuck.
I still prefer it over eclipse though.
jacen
Profile Blog Joined April 2004
Austria3644 Posts
January 30 2011 00:11 GMT
#10
On January 30 2011 09:08 fanta[Rn] wrote:
netbeans is nice but it's buggy as fuck.
I still prefer it over eclipse though.

hi fanta
sup?
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
Disregard
Profile Blog Joined March 2007
China10252 Posts
January 30 2011 00:13 GMT
#11
Everyone uses Eclipse, hop on the bandwagon. Haha :D
"If I had to take a drug in order to be free, I'm screwed. Freedom exists in the mind, otherwise it doesn't exist."
tofucake
Profile Blog Joined October 2009
Hyrule19151 Posts
January 30 2011 00:17 GMT
#12
I actually recommend learning C# instead. Java is bloated, and is up for some hard times.
Liquipediaasante sana squash banana
iGrok
Profile Blog Joined October 2010
United States5142 Posts
January 30 2011 00:25 GMT
#13
If you want to start by learning, check out Blue Pelican Java - its a free java textbook
MOTM | Stim.tv | TL Mafia | Fantasy Fighting! | SNSD
Cambium
Profile Blog Joined June 2004
United States16368 Posts
Last Edited: 2011-01-30 00:32:13
January 30 2011 00:30 GMT
#14
If you choose to use an IDE (you should), use IntelliJ. IntelliJ blows Eclipse out of the water in terms of usability and integration with other tools.

I use IntelliJ at home, and IDE at work because the corporate version is ridiculously expensive.
When you want something, all the universe conspires in helping you to achieve it.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 30 2011 00:52 GMT
#15
On January 30 2011 08:55 Coagulation wrote:
ok im downloading netbeans at the moment
apparently it is a pretty complete package.

i will check out JCreator LE



Nooooooooooooooo!!!!

If you are starting, do not use an IDE. You have to learn how to set things up.

Besides that, if you are just gonna code simple programs, there is no need to fire up a whole IDE and start coding when you could just open a terminal and notepad.

When you have the need to develop a GUI that demand too much repetitive coding, then use an IDE.
"When the geyser died, a probe came out" - SirJolt
NevilleS
Profile Blog Joined July 2009
Canada266 Posts
January 30 2011 01:02 GMT
#16
Don't listen to these guys saying not to use an ide. If you've never programmed before, your goal isn't to become a ninja yet, you just want to learn the basics... There can be done arcane wizardry required to compile and run programs for any language, and it's better to have a solid understanding of programming fundamentals before you start trying to figure that out too...
jacen
Profile Blog Joined April 2004
Austria3644 Posts
January 30 2011 01:10 GMT
#17
On January 30 2011 09:52 fabiano wrote:
Show nested quote +
On January 30 2011 08:55 Coagulation wrote:
ok im downloading netbeans at the moment
apparently it is a pretty complete package.

i will check out JCreator LE



Nooooooooooooooo!!!!

If you are starting, do not use an IDE. You have to learn how to set things up.

Besides that, if you are just gonna code simple programs, there is no need to fire up a whole IDE and start coding when you could just open a terminal and notepad.


If he is learning java for education he should learn the basics, yes.
If he is learning java to learn an additional language or just start to learn programing, there is no need to code in notepad and compile it via command line.

An IDE is a good tool to keep track on what is working and what is not.
Not to mention step by step debugging which made learning to program a lot easier.
Why should he sacrifice this for some command line skills he won't need if he will never implement complex systems?
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 30 2011 02:00 GMT
#18
The error tracking is a good point, but here are my reasons for not using an IDE:

1. He would be using a bazooka to kill a fly (complete netbeans package will install so much stuff that he probably will never use)
2. Opening a terminal+notepad is way faster than Netbeans
3. He has everything he needs installed (the JDK), just need to set the Path, which was explained step-by-step above
"When the geyser died, a probe came out" - SirJolt
jacen
Profile Blog Joined April 2004
Austria3644 Posts
January 30 2011 03:03 GMT
#19
On January 30 2011 11:00 fabiano wrote:
1. He would be using a bazooka to kill a fly (complete netbeans package will install so much stuff that he probably will never use)

Is that really an issue?
Most computers can handle it, right?
So what's bad about installing much stuff you'll never use?

On January 30 2011 11:00 fabiano wrote:
2. Opening a terminal+notepad is way faster than Netbeans

If i read the OP correct, he cannot code yet.
He WILL make plenty of mistakes some of which are hard to figure out on the command line (java compiling errors and exceptions sometimes really suck ...). A step by step debugger will save him more time than opening all those netbeans sessions will cost.

On January 30 2011 11:00 fabiano wrote:
3. He has everything he needs installed (the JDK), just need to set the Path, which was explained step-by-step above

See 2.
It's not about being able to code with the current setup, it's about learning efficiently.


One things why java is so easy to learn is because of it's easy to setup IDEs that let you look into how and why the program works. Not to mention that most of the IDEs are free. If it weren't for that, c# would be just as good as a first programing language.
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
January 30 2011 04:02 GMT
#20
Ok, go with IDE then.

Hopefully you will see how much fun programming is!

Remember that many times you will find yourself stuck at something, like with the problem with Path you posted here, but by experience I can assure you these are the times you learn the most. This was a good time to learn what classpaths are, even if still don't know how to code

But if you are rushing to learn how to code, just go with IDE.

"When the geyser died, a probe came out" - SirJolt
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Kung Fu Cup
12:00
2025 Monthly #3: Day 1
ByuN vs ShoWTimELIVE!
RotterdaM788
TKL 219
Rex135
SteadfastSC125
IntoTheiNu 81
Liquipedia
OSC
11:30
Mid Season Playoffs
Cure vs SpiritLIVE!
Krystianer vs Percival
WardiTV593
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 788
TKL 219
Rex 135
SteadfastSC 125
StarCraft: Brood War
Calm 3804
Bisu 2991
Rain 2671
Hyuk 1652
Horang2 1159
Flash 580
Soma 534
Stork 372
Rush 295
Backho 172
[ Show more ]
Soulkey 115
Barracks 61
hero 41
sas.Sziky 35
Aegong 29
sSak 26
zelot 21
Rock 18
Killer 18
Terrorterran 14
Noble 5
Dota 2
Gorgc2900
qojqva1750
Dendi1067
BananaSlamJamma117
XcaliburYe115
Counter-Strike
olofmeister1061
Super Smash Bros
Mew2King131
Other Games
B2W.Neo995
hiko588
DeMusliM421
Hui .254
Pyrionflax214
Sick174
Fuzer 168
QueenE49
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Adnapsc2 8
• poizon28 3
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2831
• WagamamaTV414
League of Legends
• Nemesis3439
• TFBlade706
Upcoming Events
Tenacious Turtle Tussle
8h 9m
The PondCast
19h 9m
RSL Revival
19h 9m
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
21h 9m
WardiTV Korean Royale
21h 9m
PiGosaur Monday
1d 10h
RSL Revival
1d 19h
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
1d 21h
CranKy Ducklings
2 days
RSL Revival
2 days
herO vs Gerald
ByuN vs SHIN
[ Show More ]
Kung Fu Cup
2 days
IPSL
3 days
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
3 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
3 days
RSL Revival
3 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
3 days
WardiTV Korean Royale
3 days
BSL 21
4 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
4 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Wardi Open
4 days
Monday Night Weeklies
5 days
WardiTV Korean Royale
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.