Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Urgent computer help, please (Java)

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
goobergunch Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 05:57 PM
Original message
Urgent computer help, please (Java)
Edited on Thu Sep-04-03 06:09 PM by goobergunch
I just installed the J2SE 1.4.2 SDK, and I can't find the place where you actually call up the JAVA interface and start programming. I need this for AP Computer Science.

So if any of you know what I should be clicking on...:shrug:
Printer Friendly | Permalink |  | Top
goobergunch Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 06:09 PM
Response to Original message
1. kick
:kick:
Printer Friendly | Permalink |  | Top
 
htuttle Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 06:14 PM
Response to Reply #1
2. I have no idea what platform you are on
But on a Unixy-type computer (or maybe Windows via DOS), you'd use a regular text editor to create the source code file, then compile it with a command like this (very simplified example):

javac HelloWorld.java

This will generate a 'HelloWorld.class' file, which you can run with the java command (via the command line).

That's the baseline way to do it. There are various ways this is simplified on different platforms (via GUIs, IDEs, Jar packagers, etc...). But that's the basic basics.
Printer Friendly | Permalink |  | Top
 
CBGLuthier Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 06:16 PM
Response to Original message
3. Ok it has been a while
But since no others are stepping forward.

There is no IDE with the Java SDK. You write programs in a text editor.

There should be some documentation that then tells you how to "compile" and run the program.

Hopefully someone with a little more recent experience with Java will weigh in and give you some advice.

I know you can download an IDE for free even but can not remember who makes it for sure. Maybe Borland.

I always kind of hated Java so haven't touched it in years.
Printer Friendly | Permalink |  | Top
 
goobergunch Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 06:17 PM
Response to Reply #3
4. I'm bugging a friend about it...
but thanks anyway.
Printer Friendly | Permalink |  | Top
 
smaug Donating Member (146 posts) Send PM | Profile | Ignore Thu Sep-04-03 06:26 PM
Response to Reply #4
6. Take a look at this site
Hey,

take a look at this site - might help you out a bit.

www.bluej.org
Printer Friendly | Permalink |  | Top
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 06:35 PM
Response to Reply #6
8. BlueJ is cool
Nedit, Zoinks or any editor will do fine.
Printer Friendly | Permalink |  | Top
 
Waistdeep Donating Member (469 posts) Send PM | Profile | Ignore Thu Sep-04-03 06:21 PM
Response to Original message
5. The SDK is command line only, but
If you want a nice gui interface which will run on top of the SDK you just installed, install Netbeans. It's free, cross platform and works quite well. Another popular development environment is Eclipse.
Printer Friendly | Permalink |  | Top
 
Kellanved Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 06:26 PM
Response to Reply #5
7. Eclipse is excellent
And the free Edition of Borlands Jbuilder isn't bad either.
http://www.borland.com/jbuilder/personal/index.html

Have a look at the java Tutorial http://developer.java.sun.com/developer/onlineTraining/ A good ressource for learning Java.
Printer Friendly | Permalink |  | Top
 
dfong63 Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Sep-04-03 07:00 PM
Response to Original message
9. put the distrib's bin dir in your PATH,
... then call javac.

eg,
$ PATH=$PATH:/usr/java/j2sdk1.4.1_02/bin
$ javac HelloWorld.java

Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri Dec 27th 2024, 02:23 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC