• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 03:00
CET 09:00
KST 17:00
  • 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
Behind the Blue - Team Liquid History Book15Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8herO wins SC2 All-Star Invitational14
Community News
ACS replaced by "ASL Season Open" - Starts 21/0218LiuLi Cup: 2025 Grand Finals (Feb 10-16)23Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker10PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)13
StarCraft 2
General
How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker Terran Scanner Sweep Behind the Blue - Team Liquid History Book Weekly Cups (Jan 12-18): herO, MaxPax, Solar win
Tourneys
RSL Season 4 announced for March-April LiuLi Cup: 2025 Grand Finals (Feb 10-16) PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) RSL Revival: Season 4 Korea Qualifier (Feb 14) Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
The PondCast: SC2 News & Results Mutation # 512 Overclocked Mutation # 511 Temple of Rebirth Mutation # 510 Safety Violation
Brood War
General
[ASL21] Potential Map Candidates Gypsy to Korea Which units you wish saw more use in the game? ACS replaced by "ASL Season Open" - Starts 21/02 Liquipedia.net NEEDS editors for Brood War
Tourneys
Escore Tournament StarCraft Season 1 [Megathread] Daily Proleagues Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Fighting Spirit mining rates Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta
Other Games
General Games
Path of Exile Diablo 2 thread Nintendo Switch Thread Battle Aces/David Kim RTS Megathread ZeroSpace Megathread
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
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Ask and answer stupid questions here! European Politico-economics QA Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
ADHD And Gaming Addiction…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2058 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
Croatia9529 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
Croatia9529 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
Hyrule19192 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
RSL Revival
08:00
S4 Korea Server Qualifier
CranKy Ducklings7
Gemini_195
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft605
SortOf 142
ProTech37
StarCraft: Brood War
Hyuk 1656
Leta 99
Aegong 59
Free 34
910 19
IntoTheRainbow 13
ivOry 8
Dota 2
LuMiX1
League of Legends
JimRising 683
Super Smash Bros
Mew2King106
Other Games
gofns19253
summit1g10576
tarik_tv10314
C9.Mang0393
Organizations
Other Games
gamesdonequick639
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH132
• Adnapsc2 7
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos333
Upcoming Events
LiuLi Cup
3h
Cure vs Reynor
Clem vs Maru
Rogue vs TriGGeR
ByuN vs Serral
uThermal 2v2 Circuit
4h
PSISTORM Gaming Misc
8h 55m
RSL Revival
10h
AI Arena Tournament
12h
Replay Cast
16h
Sparkling Tuna Cup
1d 2h
LiuLi Cup
1d 3h
Ladder Legends
1d 10h
Replay Cast
1d 16h
[ Show More ]
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
2 days
OSC
2 days
WardiTV Winter Champion…
3 days
Replay Cast
4 days
WardiTV Winter Champion…
4 days
Replay Cast
4 days
PiG Sty Festival
5 days
The PondCast
5 days
KCM Race Survival
5 days
WardiTV Winter Champion…
5 days
Replay Cast
5 days
PiG Sty Festival
6 days
Epic.LAN
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Escore Tournament S1: W8
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
LiuLi Cup: 2025 Grand Finals
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025

Upcoming

Escore Tournament S1: King of Kings
[S:21] ASL SEASON OPEN 1st Round
[S:21] ASL SEASON OPEN 1st Round Qualifier
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
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 © 2026 TLnet. All Rights Reserved.