Hello this is probably my first post since I normally only look and never react, but I've been searching for an answer for some time now and haven't found it yet...
I know you can program in Java without an IDE, but I don't know how...
I think for what I've read you have to first compile it and then you get a file you can execute with Java? Of course I also still don't get how I get to compile a Java source code...
I would really appreciate some help :)
(I don't need much explanation I already now the information it's just that I'm confused).
9 replies to this topic
#1
Posted 14 October 2011 - 02:00 PM
|
|
|
#2
Posted 14 October 2011 - 02:19 PM
check out his tutorial series: http://www.youtube.c...h?v=****5VkNrCg
-- Stuart, Currently: Messing with LibGDX (Java)
aspiring video game programmer and college student. (follow @mastrgamr)
Programming on and off since 2008 in C++, and C# (XNA).
#3
Posted 14 October 2011 - 02:20 PM
check out his tutorial series: http://bit.ly/c4OMov (YouTube)
Edited by mastrgamr, 14 October 2011 - 02:23 PM.
edited video link
-- Stuart, Currently: Messing with LibGDX (Java)
aspiring video game programmer and college student. (follow @mastrgamr)
Programming on and off since 2008 in C++, and C# (XNA).
#4
Posted 14 October 2011 - 03:25 PM
"Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)
There are also instructions in the navigation panel if you're running linux.
There are also instructions in the navigation panel if you're running linux.
#5
Posted 14 October 2011 - 03:59 PM
Just write your code in a text editor (I'm fond of jEdit), and then use the command-line compiler.
#6
Posted 15 October 2011 - 02:51 AM
But it's not generally very good idea, imo IDE gives you about ~30% more efficiency. It instantly notices, if you mistype something, compiling your code real time, helps you refactor, provides solutions, etc.
#7
Posted 15 October 2011 - 04:15 AM
In my view programming without an IDE is only useful it the projects are very small. As they grow in lines, objects, classes etc they usually grow in complexity to manage. To remember every instance of a variable name over ten classes could be awkward too.
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused:
#8
Posted 15 October 2011 - 09:01 AM
When I started programming my teacher made us use Notepad++ there you can add both the javac command to compile and the java command to run your program. I find it very useful for learning, as my teacher told us if the IDE fails most people don't know how to react. I agree with some other people, it is good for learning or small projects but for big ones it may be difficult.
#9
Posted 15 October 2011 - 10:26 AM
The way I think is best to learn is without the IDE. Learn how to install java and set your classpath variables etc. Then write your programs in notepad, notepad++, etc and learn to save them as the correct file type. Once this is done you'll learn to navigate to files using a DOS prompt and successfully compile, learn to read errors, and run your programs.
Of course, like fread has stated, we'll eventually need to move out of this phase as projects grow in complexity. Hopefully by the time we're using an IDE, any error that an IDE has we can learn how to successfully deal with it. And any simple errors that the IDE automagically fixes, we know WHY it fixes them.
Once you start nesting packages, dealing with sounds and images, and managing multiple java files, an IDE can make the process much smoother.
Another good thing about an IDE, for instance eclipse, is it offers many plugins to aid with big software projects. For example, plugins that let you draw UML diagrams, data flow diagrams, etc.
Of course, like fread has stated, we'll eventually need to move out of this phase as projects grow in complexity. Hopefully by the time we're using an IDE, any error that an IDE has we can learn how to successfully deal with it. And any simple errors that the IDE automagically fixes, we know WHY it fixes them.
Once you start nesting packages, dealing with sounds and images, and managing multiple java files, an IDE can make the process much smoother.
Another good thing about an IDE, for instance eclipse, is it offers many plugins to aid with big software projects. For example, plugins that let you draw UML diagrams, data flow diagrams, etc.
#10
Posted 21 November 2011 - 09:07 AM
oo man I lost were I posted this xD so I didn't get my answer till know...
but thanks for all the info...
yeah I use notepad++ and I just don't want to start using managing software before I learn Java itself...
thank you (guess I'm not going to sleep this night :P xD)
but thanks for all the info...
yeah I use notepad++ and I just don't want to start using managing software before I learn Java itself...
thank you (guess I'm not going to sleep this night :P xD)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









