I have got it working (well i have got it working to the point that the server rejects the request) by setting $CLASSPATH with the following
CLASSPATH=.:../:/usr/share/java/mysql-jdbc/*...
Type: Posts; User: 2k.
I have got it working (well i have got it working to the point that the server rejects the request) by setting $CLASSPATH with the following
CLASSPATH=.:../:/usr/share/java/mysql-jdbc/*...
I'm using a text editor and bash rather than a full blown IDE to do this as my book doesn't cover any editors and they look a bit scary!
Thanks for everyones help so far
It seems that it is an issue with the jdbc driver not being in the classpath. Now to work out how to get around this problem, there seems to be some debate as to...
right I think i get it
I have changed the code to show the following
catch (ClassNotFoundException e)
{
System.out.println(e.getMessage());
e.printStackTrace();
...
how do I go about doing that? sorry to sound thick!
Hi there,
I'm currently teaching myself Java from a for dummies book. However I have currently got stuck on the section to connect to a mysql database, in the book it assumes that the database is...
cheers for the replies
by changing to
tdartave = 501.0f / nthrows;
I get the result 55.666668 which is perfect for the time being, having it rounding down to 55 the three dart average was...
hmm this is puzzling,
I have change the line
tdartave = (501 / nthrows);
to the following
tdartave = (501.0 / nthrows);
and i'm now getting this error
Hi there,
I have decided to learn java programming, rather than working though a book which i find very dull i have just dived in by writing (trying to write) an application.
my application is...