debugging

hi, heres a code i've been trying to write to connect to an sql database from oracle, i keep getting an incompatibility error on line 25, column 49. can anybody help? thanks

package Trial_Package; import java.sql.*;

public class Trial{ public Trial() {

public static void main(String[] args)

Trialconnection = null; try {-

String driverName = "com.jnetdirect.jsql.JSQLDriver";// NetDirect JDBC driver

String serverName = "192.168.0.8";

String portNumber = "80";

String mydatabase = serverName + ":" + portNumber;

String url= "jdbc:JSQLConnect://" + mydatabase;// a JDBC url

String username = "sysadmin";

String password = "";

// Load the JDBC driver Class.forName(driverName);

// Create a connection to the database

connection = DriverManager.getconnection("jdbc:3SQLConnect://", "sysadmin",

} catch (ClassNotFoundException e) {

// Could not find the database driver catch (SQLException e) {// Could not connect to the database

[1031 byte] By [Butterball] at [2007-9-30 21:50:20]
# 1
where is this >> error on line 25, column 49 >> in ur code. format ur code using .
sienfield at 2007-7-7 3:19:01 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2
...using [ code ] and [ /code ] tags.The line that gets the connection is only half there, it's chopped off just past the username, no password, no closing parenthesis, no semi-colon.
EdenMonaro at 2007-7-7 3:19:01 > top of Java-index,Archived Forums,Debugging Tools and Techniques...