Helpful Information
 
 
Category: Java
Java Resources

Hi,

I have no idea how to code in Java. Could you provide some tutorials for Java. I think it's similar to JavaScript, but I have no idea.

Please help, and thanks :)

I think it's similar to JavaScript, but I have no idea.Wrong. Very, very wrong. :p

It's a lot simpler, in my opinion. It's certainly more intuitive. Once you get The Java Way of Doing Things® you'll have no trouble.

The definitive resource is, of course, Sun's official tutorial (http://java.sun.com/docs/books/tutorial/).

Thanks, Twey. I looked it up on Google once, but couldn't find a final answer :)

Another question:

Does Java have the same make-up as JavaScript, semantics and syntax?

Only on the same sort of level that PHP does, in that they both have a superficially C-like layout.

Mike- nope, Java is a compiled language, more similar to C than JavaScript, which is a scripting language. The similarities between Java and JavaScript end at their names. Here's an introduction to Java (http://www.cafeaulait.org/course/week1/).

Yes, I noticed it was alot like C.

i suppose this forum include JSP, JSF, NetBeans, Forte, Java Studio Creator and other technology that involves Java. :cool:

<edit>
almost forgot Eclipse.

Hi,

I have no idea how to code in Java. Could you provide some tutorials for Java. I think it's similar to JavaScript, but I have no idea.

Please help, and thanks :)
try this site (http://programmingtutorials.com/) too.

i suppose this forum include JSP, JSF, NetBeans, Forte, Java Studio Creator and other technology that involves Java.I presume it's the Java platform rather than the Java language to which it refers, which includes languages like Groovy as well.

Is there a way to compile Java without downloading the programs? (I tried the Sun program, but it was 50mb+, and I'm on a dial-up connection -_-)

You need to have an SDK (aka JDK), yes. I'm a dial-up user as well, so I understand your apprehension, but you'll just have to start the download and do something else for a few hours.

If you have a download manager (like GetRight), be sure to use it. If you already have the Java Run-time Environment (JRE) installed, you could use the Sun Download Manager instead (see the Notes at the bottom of the JDK download page).

Mike


By the way, the latest JDK is 49.52MB. There's also an on-line installer (33.70MB), which should allow you to omit some of the optional components (don't know personally: I've never used it).

Also.. my internet is limited :)

I'm downloading it now, and it's been downloading for 7 minutes, and it's only at 5%..

Then it'll take you another 122 minutes to finish :)

Don't remind me..

Lol, that's nothing -- the longest download I've done was three weeks...

And then, of course, the phone needs to be used for some reason, so I have to disconnect, and the download goes... well.... ka-poof!!

Hence the recommendation of using a download manager :)

Good idea :) I need it.

Doesn't it seem weird that the "GetRight" download manager program, is only 364kb?

http://www.getright.com/get.html

I think I may have clicked the wrong link..

Nevermind. It downloads the rest, inside the download manager... That's clever :)

Lol, it's not unusual ;)

lol, I switched away from dialup about a month ago and I love it:cool: Also in a week my plan is getting changed to be even faster with a lot more bandwidth.
It's strange that you use dialup with bandwidth limits though, every ISP I can think of has no limit for dialup. When I had dialup it has this very annoying feature to auto disconnect me if I idle too long, making it impossible to download large files even if I felt like starting the download and sleeping for half the day:mad:
Oh and if you're using FireFox I remember there being a very good download accelerator but I can't remember the link :(

The download manager I have now has an acceleration patch in it :)

When I had dialup it has this very annoying feature to auto disconnect me if I idle too long, making it impossible to download large files even if I felt like starting the download and sleeping for half the dayThere are "finger" utilities that exist to "prod" the ISP every so often to keep your connection active.

The download manager I have now has an acceleration patch in it :)

It won't benefit dial-up. Segmented downloading is a means of breaking up a file into parts (segments), and requesting each part from a mirror. The idea is that by spreading the load across multiple servers, especially if those servers are busy, the user can achieve faster download speeds: a heavily taxed server may not be able to upload to the full capacity of a broadband connection. However, dial-up users aren't going to strain servers in the same sense. The overall download speed isn't likely to increase unless the server is running exceptionally poorly.

There is another issue: each new connection will have its own overhead. You don't just recieve 250KB, for example, when downloading a file that's listed as that size. The file is broken up into packets, each of which has extra data attached. Moreover, due to the nature of TCP as a reliable transport protocol, there's extra network traffic as the protocol notifies the sender of errors and acknowledges successful receipt.

Mike

I presume it's the Java platform rather than the Java language to which it refers, which includes languages like Groovy as well.
what's the difference between Java platform and Java language? doesnt they refer to the same thing?

"doesn't they"

I think that's grammatically incorrect :)

okies...my mistake :cool:
don't they refer to the same thing?

don't they refer to the same thing?

No. See Java Platform (http://en.wikipedia.org/wiki/Java_Platform) and Java programming language (http://en.wikipedia.org/wiki/Java_programming_language) at Wikipedia, though for comparing the two, Programming language (http://en.wikipedia.org/wiki/Programming_language) might be a better overview.

You should only need to read the introductory paragraphs to get your answer.

Mike

not much of a technie guy myself :cool: could somebody else explain it in layman's (layperson's) terms? tnx.

what's the difference between Java platform and Java language? doesnt they refer to the same thing?Not at all. The standard Java compiler (javac) and most others compile Java down into bytecode; that is, a binary interpreted language. This is what gives Java its platform independance. The Java "virtual machine" then runs the bytecode as if it were a CPU, translating it into native code appropriate for the real platform. This doesn't have to be true, however; it is theoretically possible to write a compiler for the Java language that compiled directly native code.

On the other hand, we have languages like Groovy that compile down into Java bytecode (which can interoperate fully with Java bytecode compiled from the Java language). These languages aren't Java, but their output will run on the Java platform.

tnx. :cool:

<edit>
if others wont mind, i beg the question. can others post questions relating to JSP, JSF and other stuff like how to connect to Tomcat or how to use Ant, ANTLR, maven and jikes.

Of course, it's all Java related.

which is all m really trying to say :cool:

[edit]
trying is the keyword.










privacy (GDPR)