If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > I've fallen at the first hurdle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-17-09, 15:08
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
I've fallen at the first hurdle

I thought I'd try and learn a bit of Java and installed the Sun JDK. I copied the hello world program. I was kind of hoping for a nice tool with windows to edit your program in and a window to see the output etc but it appears I'm stuck with DOS. Can't get past the following error:
Code:
 Directory of C:\Java
17/06/2009  11:38             1,910 HelloWorldApp.java

C:\Java>javac HelloWorldApp.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\Java>C:\Program*Files\Java\jdk1.6.0_14\bin\javac  HelloWorldApp.java
The filename, directory name, or volume label syntax is incorrect.

C:\Java>echo %CLASSPATH%
.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
Any clues?

Is it the path variable ( javac.exe seems to be in C:\Program Files\Java\jdk1.6.0_14\bin)?

Is there a reasonably fast grid class available - I want to create an application a bit like an extended calendar (for hotel booking) where you can drag bookings around etc.

Thanks for reading. I assume I've missed something down the line as this appears quite a tough way of writing code.

Mike
Reply With Quote
  #2 (permalink)  
Old 06-17-09, 15:48
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
try the netbeans of Eclipse IDE's I found they made the Java world a little less alien
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 06-17-09, 16:14
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
That was a lot easier!

Cheers Mark

Now to find a decent grid class ...

Mike
Reply With Quote
  #4 (permalink)  
Old 06-19-09, 01:06
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
have you tried looking at a table in swing? jTable springs to mind
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On