Hi Friends this is my code to connect to database oracle10g but i am gettin error when java command the error is invalid oracle url specified can anybody solve this problem
import java.sql.*;
import java.lang.*;
import java.io.*;
public class condb
{
public static void main (String args[]) throws SQLException
{
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc

racle:thin@//localhost:1521:XE","SYSTEM","tiger");
System.out.println("connected");
}
catch(Exception e)
{
System.out.println(e);
}
}
}