473,800 Members | 2,586 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Very basic question

I went to the sun site and downloaded what I hope is the development part of
java. I downloaded JDK5 with Netbeans. I installed it and now have a
folder in my program group "Netbeans". Is that java? Would I execute that
to create a java application?

TIA, Lee
Aug 26 '05 #1
5 5715
Lee David wrote:
I went to the sun site and downloaded what I hope is the development part of
java. I downloaded JDK5 with Netbeans. I installed it and now have a
folder in my program group "Netbeans". Is that java? Would I execute that
to create a java application?

TIA, Lee

This is the Netbeans Java Developer IDE AND the JDK for developing Java
apps.

The JDK5 should also be on your system say "C:\Program
Files\jdk1.5.0_ 04". This is what you need to develop Java applications.

Netbeans is a Java developer IDE. You should see a Netbeans icon on your
desktop. Just double click on that to bring up the Netbeans IDE.

Or select Start \ NetBeans 4.1 \ NetBeans IDE

If you do not see the icon then just goto your Netbeans subdirectory and
double click on "C:\Program Files\netbeans-4.1\bin\netbean s.exe"

Now that the Netbeans is open you will need to learn this IDE. You can
play with the samples off the welcome screen.

You can use any number of Java developer IDE's out on the Internet that
are also free.

If you have never developed Java code before I would recommend a easier
IDE like JGRASP http://www.eng.auburn.edu/grasp/ or BlueJ
http://www.bluej.org/


--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
_______________ _______________ _______________ _______________ ______________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Aug 26 '05 #2
Thanks. I have the icon on the desktop, but didn't realize it was for the
developers enviroment of Java. This is all for my kid who is taking it in
high school. I do other languages, but never got into Java (at least not
yet).

I was able to open it and appreciate the pointer.

Lee
Aug 26 '05 #3
Lee David wrote:
Thanks. I have the icon on the desktop, but didn't realize it was for the
developers enviroment of Java. This is all for my kid who is taking it in
high school. I do other languages, but never got into Java (at least not
yet).

I was able to open it and appreciate the pointer.

Lee


If this is for your kid for H.S.. I would not recommend Netbeans or
Eclipse or any of the professional Java developer environments.

These environments do to much for you and expect a certain level of
expertise in learning the IDE and basic knowledge of Java. Example, it
has a GUI to build java screens that he really should learn by coding by
hand. This is recommended for even seasoned programmers from other
languages. He will get lost if some does not work because most of the
code is automatically generated. You really have to learn the Java API's
to understand this part of Java programming.

I am sure the teacher would be teaching this by coding examples.

It would be much better for him to use say 'TextPad' http://www.textpad.com/

This is an editor that will at the least color parse his code and you
can set it up to compile the code. As to running the class files he will
learn about this in class.

These are basic concepts in Java programming that MUST be exposed to
learn Java.

I think you would be doing him or her a disfavor by having them use a
professional Java IE. There is a presumption of basic Java knowledge.

At most he could use JGRASP http://www.eng.auburn.edu/grasp/

If the class is teaching an OOD\OOP Java implementation he or she could
use 'BlueJ' http://www.bluej.org/ But I think this is at a college
level. Maybe nice if you could talk to the teacher to see what they are
actually teaching.

Just for his or her own reference these may help in their H.S. class..

The Really Big Index
http://java.sun.com/docs/books/tutor...ybigindex.html

The Java Developers Almanac 1.4
http://javaalmanac.com/egs/index.html

Oh, I have been in the programming field since 1977.

--

Hope this Helps for you kid...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
_______________ _______________ _______________ _______________ ______________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Aug 26 '05 #4
In article <1M************ ********@comcas t.com>,
af************* *************@c omcast.net writes...
I went to the sun site and downloaded what I hope is the development part of
java. I downloaded JDK5 with Netbeans. I installed it and now have a
folder in my program group "Netbeans". Is that java? Would I execute that
to create a java application?


Yes.
Netbeans and the JDK provide everything you need to write and execute
Java programs. In fact the JDK alone is all you need to write and
execute Java programs, Netbeans just provides a sophisticated GUI
environment that helps with more complex projects.

Before you jump into Netbeans, however, I suggest you start with the
very basics.

Get yourself a basic book on Java or choose one of the web based
tutorials like http://www.iut-info.univ-lille1.fr/docs/tutorial/

Practice by writing some very basic Java programs using only a text
editor and the JDK. Once you understand how this works you will learn to
use Netbeans far more easily.

For example, here is how to do "Hello World" using only the JDK:

1) Using your favourite text editor (Notepad, Emacs, vi etc) create a
file called "hello.java ".

2) Enter the following in the file:

class hello {
public static void main(String [] args){
System.out.prin tln("Hello World");
}
}

3) Save the file

4) At a console command line type:
javac hello.java

5) Step 4 caused the Java compiler to create a file called "hello.clas s"

6) At the command line type:
java hello

7) Step 6 caused the Java Runtime to load java.class and execute it.
Note that you did not type "java hello.class" or "java hello.java" to
run the program. You just typed "java hello".

8) If you are lucky you should see the words "Hello World" appear on the
console.

The Java compiler (javac) and the Java Runtime (java) are both included
in the Java Developers Kit (JDK). While you can use only the JDK for
Java programming, for any serious development you need a GUI based
development environment, like Netbeans.

Trying to use Netbeans without learning a few simple things with the JDK
first is like trying to solve a Integral Calculus problem without
learning arithmetic first.

BTW I use Netbeans as my development environment.
I'm very happy with it.

Oh yes, you will be much happier if you download the documentation that
goes with the JDK too. Last time I looked it was a separate download.
Once downloaded and installed it the documentation becomes available to
Netbeans and this helps immensely. Netbeans will prompt you with
function parameters and descriptions if it has access to the
documentation.

--
DM
personal opinion only
Aug 26 '05 #5
I agree with the others - leave off the IDE untill after you/(your son)
have Java in the bag.
There's quite a learning curve just learning the IDE - whether its Netbeans
or Eclipse - or some other.
"Lee David" <af************ **************@ comcast.net> wrote in message
news:1M******** ************@co mcast.com...
I went to the sun site and downloaded what I hope is the development part of java. I downloaded JDK5 with Netbeans. I installed it and now have a
folder in my program group "Netbeans". Is that java? Would I execute that to create a java application?

TIA, Lee

Aug 27 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3285
by: Tom | last post by:
Hey all, I've been planning to get myself started with DocBook for quite some time now, so when I unexpectedly encountered a task for which DocBook might actually be very useful, I thought I'd no longer wait. Some Googling pointed me to several beginner tutorials, and I chose to get myself going with the guide at http://rzserv2.fhnon.de/%7Elg002556/docbuch/
30
2733
by: Vla | last post by:
why did the designers of c++ think it would be more useful than it turned out to be?
3
6811
by: FC | last post by:
Hello all: I have a very basic question about oracle database structures. I am coming from MS SQLServer where I have three "databases", each database has three "tables". I can access any table from any database from a SQL connection where each database has its own connection. Once connected I access each table from a SQL statement. OK, now I want to recreate the same database structure in oracle. What I do not understand is the concept...
10
1870
by: Jason Curl | last post by:
Greetings, I have an array of 32 values. This makes it extremely fast to access elements in this array based on an index provided by a separate enum. This array is defined of type "unsigned long int". I have a typedef for this: typedef unsigned long int Uint32; typedef float Float32; Uint32 myArray;
6
1761
by: msnews.microsoft.com | last post by:
Hello All, I am very new to ASP.NET and I have a basic question. Can somebody please explain? I have an .aspx Web Page with a textbox control. When the Page initially loads I am calling a Javascript function to write a text information in the text box.
8
1645
by: pamelafluente | last post by:
Hi, I would like to get some advice. I know enough vb.net on win apps, but I have never worked on web applications and asp.net. I would appreciate if you could indicate the most basic tutorials where to start my journey with ASp net.
17
2419
by: blueapricot416 | last post by:
This is a very basic question -- but I can't find the answer after looking for 20 minutes. If you code something like: function set_It() { setTimeout('Request_Complete("apple", -72)',5000) } and call it 50 times, will it cause problems because you are not
7
1291
by: Bruno43 | last post by:
Hi I am trying to learn Visual Basic and I am getting everything for the most part, mainly because of my ability to read code like a book, but my question is what is the best way to Navigate through a Visual Basic program. For example lets say I have a big Visual Basic Form1.vb and on Form1.vb there are buttons and I click on this button, now the only thing I want to change would be a "content" area, I want the navigation to be the same. ...
56
2668
by: mdh | last post by:
As I begin to write more little programs without the help of the exercises, little things pop up that I need to understand more fully. Thus, below, and although this is not the exact code, the principle of the question is the same, ( I hope :-) ) #include <stdio.h> int i = 0; int main () { return 0; } /* no errors or warnings*/
0
9691
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10507
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10279
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10036
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7582
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5607
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2948
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.