This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Error in Automatic Creation of ODBC Data Source Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Error in Automatic Creation of ODBC Data Source" Watch "Error in Automatic Creation of ODBC Data Source" New topic
Author

Error in Automatic Creation of ODBC Data Source

gayathri murugesan
Ranch Hand

Joined: Dec 21, 2009
Posts: 32


i m getting ';' expected

please help
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32708
    
    4
Which line is it on? Is it the line with the + missing before System.getProperty?
gayathri murugesan
Ranch Hand

Joined: Dec 21, 2009
Posts: 32
thanks .i corrected that one. but now when i run i m getting

java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Could not find
file '(unknown)'.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Test.main(Test.java:11)

the code


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in Automatic Creation of ODBC Data Source
 
Similar Threads
how to detect the operating system in java
proxy applet
Query the Java version?
[solved]:p how to keep "next line" during append String data to StringBuilder
Determine the absolute path of a jar file in classpath