First things first. Or something in that order

1 view
Skip to first unread message

y...@hotmail.com

unread,
Dec 25, 2006, 5:29:04 PM12/25/06
to javaron
Get yourself a java compiler/editor or a whole developing kit.
I recommend NetBeans IDE. It's structure is pretty close to Microsoft's
Visual Studio for C++. I think it also has some really nice features
like bracket completion (when you open a bracket it will put in the
closing one right away), quotation marks completion and some quick type
thingy's instead of writing the code for a fucntion you use very often
you can have a quick button for it
( Basic output class/function: sout + Space -> System.out.println("");
).

Plus the material that explains the language does this while explaining
how it can be done through NetBeans, so I think this will make things a
lot clearer.

You can downlaod Netbeans IDE 5.5 from
http://www.netbeans.info/downloads/index.php

As for the Java language I found some nicely explained material at
http://www.javapassion.com/javaintro1/Class.html

You then might want to have a look at the the first 5 chapters of this
Java course.
You'll find some stuff pretty easy but just have a glance at it. there
might be a tiny thing extra here or there. It really starts at Chapter
02.
(The link to Detailed class notes is always the same. One big file with
everything in it).
Also try snooping around the site. There's some nice stuff here and
there that you might like. Things like excercises, NetBeans tutorials.
Pretty neat.

Actually I think this is an online course and if you sign up for it,
you can hand in assignments and stuff and maybe even get a certificate
that you can show for. But I haven't looked to much into that.

Let me know how it goes.

y...@hotmail.com

unread,
Dec 28, 2006, 10:55:18 AM12/28/06
to javaron
So...how are you people coming along?
Is it explained well?
Are you having any trouble writing the programs on your own?
Where are you at now?
Is there anything where you're not sure you if you've grasped it?
Just curious because no one's said anything so far..

Huda Akef

unread,
Dec 28, 2006, 1:16:14 PM12/28/06
to jav...@googlegroups.com
Hello,
I'm in Chapter 3 right now, was just doing the Hello program. I'm still  downloading netbeans. When i tried doing the program in the command prompt, there was some error, which i found out from the appendix meant that i didn't have the java software installed on my computer. Does that mean Netbeans? or is there some other software to be downloaded? Otherwise so far, so good, it explained pretty well, tiny step by tiny step...

Huda Akef

unread,
Dec 28, 2006, 1:31:00 PM12/28/06
to jav...@googlegroups.com
Hello again,
When I was  starting to install netbeans, it said I didn't have a JDK (Java Development Kit)...Does anyone know what I should do?

y...@hotmail.com

unread,
Dec 28, 2006, 1:57:48 PM12/28/06
to javaron
This is strange. Does the machine you're using run applets that are
online?
Try it our. If it can't do that, then you don't have the java plugin in
your system.

Anyway, you might want to install JDK. You can get that from here:
https://sdlc2e.sun.com/ECom/EComActionServlet;jsessionid=CCBC86EA90E0F565F333A266BB88861D

I don't know the difference between the off and online installation.
I'm guessing that offline is downloading the whole thing and then
installing it and the online option is to install this small file and
you'll end up downloading the whole thing as you're nstalling it. So, I
think both lead to the same result, but in case I'm mistaken I think
you should download the offline one.

On Dec 28, 8:31 pm, "Huda Akef" <electronh.a...@gmail.com> wrote:
> Hello again,
> When I was starting to install netbeans, it said I didn't have a JDK (Java
> Development Kit)...Does anyone know what I should do?
>

Huda Akef

unread,
Dec 28, 2006, 3:22:55 PM12/28/06
to jav...@googlegroups.com
Thanks ya Youssef, I'm gonna try that. My laptop does run java applets, so that's not the problem.

Abdelrahman

unread,
Dec 28, 2006, 3:58:13 PM12/28/06
to jav...@googlegroups.com
Hello Everybody..

First, Huda...
You need to install Java Development Kit (JDK) before installing NetBeans. I think this kit is the Java classes that netbeans use for coding...
it is different than Java Runtime plug in used to run applets in different browsers (IE & Firefox ..)

You can download both together in a bundle from this URL
http://java.sun.com/javase/downloads/index.jsp (Search for JDK 6 with NetBeans 5.5)

Hope it is useful...

As for me....

I always wanted to code on my linux machine and it last I have just made the first Java program to read I/O :D I am in chapter 2...


Regards,
Abdelrahman

On 12/28/06, Huda Akef <electro...@gmail.com> wrote:

Huda Akef

unread,
Dec 28, 2006, 5:37:30 PM12/28/06
to jav...@googlegroups.com
Thanks ya Abdelrahman, and congratulations on coding on linux :)

y...@hotmail.com

unread,
Dec 28, 2006, 10:37:01 PM12/28/06
to javaron
That's great, but why is the first time?
Or is it because you needed the Visual Studio soo much for c++?
Have you ever noticed J# in Studio .NET or j++ in Studio 6?
This is actually a java-like language. It uses the same syntax with a
few differences in the classes (but not quite sure what the difference
is). But before you get too excited about this (or frustrated because
you've now found out that you've had this all the time) it turns out
that this is a kind of special. The bytecode that is generated when you
compile the source code is limited only to windows based system. I
think this kind of limits the capabilities of it because what's so nice
about Java is that it can be executed so easily on any Platform,
Windows, Linux, Macintosh Solaris. I'm guessing there are advantages to
having it limited to windows otherwise it wouldn't make that much sense
other than empahsizing this mentality of "what goes on inside, stays
inside".

Here's the wikipedia page on this. don't worry it's very brief.
http://en.wikipedia.org/wiki/J_sharp

On Dec 28, 10:58 pm, Abdelrahman <aham...@gmail.com> wrote:
> Hello Everybody..
>
> First, Huda...
> You need to install Java Development Kit (JDK) before installing NetBeans. I
> think this kit is the Java classes that netbeans use for coding...
> it is different than Java Runtime plug in used to run applets in different
> browsers (IE & Firefox ..)
>

> You can download both together in a bundle from this URLhttp://java.sun.com/javase/downloads/index.jsp(Search for JDK 6 with


> NetBeans 5.5)
>
> Hope it is useful...
>
> As for me....
>
> I always wanted to code on my linux machine and it last I have just made the
> first Java program to read I/O :D I am in chapter 2...
>
> Regards,
> Abdelrahman
>

> On 12/28/06, Huda Akef <electronh.a...@gmail.com> wrote:
>
>
>
> > Thanks ya Youssef, I'm gonna try that. My laptop does run java applets, so
> > that's not the problem.
>
> > On 12/28/06, y...@hotmail.com <y...@hotmail.com> wrote:
>
> > > This is strange. Does the machine you're using run applets that are
> > > online?
> > > Try it our. If it can't do that, then you don't have the java plugin in
> > > your system.
>
> > > Anyway, you might want to install JDK. You can get that from here:
>

> > >https://sdlc2e.sun.com/ECom/EComActionServlet;jsessionid=CCBC86EA90E0...

y...@hotmail.com

unread,
Dec 29, 2006, 1:24:13 PM12/29/06
to javaron
This is just something I was just wondering about but haven't really
looked into it yet.
you know how Visual Studio creates this .exe file for you, where is
that with Java.
I found some files that were in the project but could only make
senseout of two of them, the .class and the .java one.
My guess is that the .java has to do with the execution but how do we
get to a nice executable file that you can just open to get to the
program?

Anyone got an idea?

y...@hotmail.com

unread,
Jan 1, 2007, 11:48:42 AM1/1/07
to javaron
I don't have Visual Studio 6 but I can tell you what it's like with
.NET 2005.
When you chosse to do a Project in J# (J sharp) you can chosse to do a
Console Application.
You'll find yourself writing a program in Java code (same syntax) and
then you can generate a .exe file that looks identical to the programs
we've been doing with C++. Just in case you want to do this kind of
stuff. I haven't sen any differences. The basic structire looked pretty
similar to the NetBeans environment. But I guess there's some
difference once you do more complicated stuff. but I kinda like the
little things that NetBeans has (like when you type sout and press
space).
But The visual studio does generate a .exe file and if you're writing
something to run exclusively on a windows platform it wouldn't be a bad
idea to go with visual Studio on this one.
Reply all
Reply to author
Forward
0 new messages