<P>Hii,</P>
<P>I am trying to connect Oracle 8i database using Kaffe on OpenBSD 3.2 operating system.My Kaffe version is 1.0.6.I am using jdbc thin Driver for database connection (classes111.zip from oracle).</P>
<P>I am using following code for testing :</P>
<P>********************************************************************************************************</P>
<P>import java.sql.*;<BR>import javax.sql.*;</P>
<P>public class ConnectDBOracle {</P>
<P> Connection conn;<BR> Statement st;<BR> ResultSet rs;<BR> public void connect(){<BR> try{<BR> <BR> Class.forName("oracle.jdbc.driver.OracleDriver");<BR> conn = DriverManager.getConnection("jdbc:oracle:thin:@192.168.10.100:1521:oracl","scott","tiger");<BR> System.out.println("connected"); <BR> st = conn.createStatement();<BR> rs = st.executeQuery("select * from emp");<BR> System.out.println("rs created....");</P>
<P> while(rs.next()) { <BR> System.out.println("in while looooop");</P>
<P> System.out.println(rs.getString(1));<BR> }<BR>System.out.println("okayyyyyyyyyy"); <BR> st.close();<BR> conn.close();</P>
<P> }catch(Exception e){<BR> System.out.println("Error : " +e);<BR> }<BR> }</P>
<P> public static void main(String ares[]){</P>
<P> ConnectDBOracle db = new ConnectDBOracle();<BR> db.connect();<BR> }<BR>}</P>
<P>********************************************************************************************************</P>
<P>When I run the following code ...</P>
<P>I get the following error message ...</P>
<P>java.lang.ExceptionInInitializer Error : [exception was kaffe.util.SupportDisabled</P>
<P>: GNU gmp was not found by kaffe configure Script]</P>
<P>at oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java : line unknown , pc 0x60f2d6)</P>
<P> </P>
<P>Can any body guide me what should I need to do to make this code work or any other way to connect Oracle using Kaffe on OpenBSD 3.2</P>
<P>Thanks and Regards</P>
<P>Swapnil Joshi</P>
<hr><font face="Arial" size="2"><b>Get Your Private, Free E-mail from Indiatimes at </font><a href="http://email.indiatimes.com"><font face="Arial" size="2">http://email.indiatimes.com</a></b><br>Buy The Best In <b>BOOKS</b> at <A href="http://www.bestsellers.indiatimes.com">http://www.bestsellers.indiatimes.com</A><br>Bid for <b>Air Tickets @ Re.1</b> on Air Sahara Flights. Just log on to <a href="http://airsahara.indiatimes.com">http://airsahara.indiatimes.com</a> and Bid Now !</font>