| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> lol <0> system.out.print("title price", (title), (price)); <1> lol <1> ok tks <2> java is case sensitive <3> wahahaha <0> ruds, you know whats up with my problem? <3> ruds, any site show me the ant that you said or cl***loader? <2> Xevious: so its MS Access? <1> Xevious ruds ->cannot resolve symbol - cl*** string :S, on the declaration of the varaibles string title; <0> yeah <1> java is very complicated :S <1> lol <2> not at all <2> String
<2> not string <2> i have already told you that java is case sensitive <3> better heck back your typing error <3> check <0> so whats my solution? :p <1> ruds packege system does not exist on -> system.out.println("Enter the Game Title"); <1> sorry about that <3> ... <2> Xevious: thats not how you connect from java to MS Access <1> yah case sensetive, thats another reason that I dont like JAVA, and its complicated, when you start programing 1st time <4> * http://java.sun.com/docs/books/tutorial/reallybigindex.html * :P. btw hello all. <1> packege system does not exist on -> system.out.println("Enter the Game Title"); <5> java is very simple, things like vb are very complicated <0> hey? <0> really? :P what hve I done wrong? <1> vb I think is more easy <5> no, vb is extremely hard <1> on vb u dont have 2 code much <5> java vs vb is like math vs history <3> hey koala_man any idea for me? <4> Xevious: code please ? jdbc is sth I did long time back. :P <5> in java, you learn a few formulas and you can do everything. in vb, you have to sit down and memorize dates forever <5> since the entire language is built up from special cases <2> Xevious: Connection conn = DriverManager.getConnection("jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb); <2> DBQ=D:\\path_to_db\db.mdb;PWD=myp***","login","p***word"); <2> dont you need to add the file path also <0> yeah <2> i cant see that in your code <0> I think you do <0> thats the 'url' <0> here's the code <2> yeah <5> hunterfighter: for what exactly? <0> http://rafb.net/paste/results/gtbKGi94.html <3> koala_man, so i have use the netbean to compile my code <3> then i copy the jar file that i need to import in my code to the cl***path <3> so now i wish to use the jar file to execute in my friend pc with JVM <3> but his pc does not have any preompile of the jar that i included in my pc <2> Xevious: arenyou printing out the stack trace error <2> arent <4> yeah. try e.printStackTrace() and report it here. <0> hmmm you know <0> how would I enter the the URL of the file? <0> Cannot connect to the database.java.sql.SQLException: No data found <0> the file path. <0> hey? <4> Xevious: if I remember correctly you have to setup DSN for Jet db. <0> DSN? <2> url="jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb); <2> <2> DBQ=D:\\path_to_db\db.mdb;PWD=myp***" <4> yeah the jet db requires DSN in windows. <4> atleast I think so. <2> url="jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=D:\\path_to_db\db.mdb;: <2> it should be there by default <2> i have never encountered a problem <2> dunno if it was there by default <4> ok. :P ruds. <0> ruds <0> where are you putting that url?
<2> the value of your url dude <0> isn't that the Connection con = <2> public void initConn () <2> the url value is wrong <2> String url = "jdbc:odbc:PersonDB"; <0> con = DriverManager.getConnection("jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb)" ); <0> is that still right? <2> you need to change ut <2> no <0> lol <0> what must I change that to then? <2> url="jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=D:\\path_to_db\db.mdb;: <2> what is your .mdb file called <5> hunterfighter: did you specifiy the extra jar in your jar's manifest? <0> c:\address book\address book\personDB.mdb <3> nop <3> i have no idea about the manifest <3> i jsut set the main cl*** in my manifest <2> Xevious: remove the spaces from the path <3> thats all <5> hunterfighter: set the cl***path too and distribute the jars together <2> or just put your personDB.mdb on your c: drive <0> ok <3> cou;d you show me? <0> its on c:\ now <2> and change the url to value to url="jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=C:/db.mdb"; <0> ok <0> what do I change con to? <2> and change the url to value to url="jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=C:/personDB.mdb"; <0> con = DriverManager.getConnection("jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb)" ) <2> NO <0> Okay <0> what must it be? <2> you set the url String <2> url = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=D:\\path_to_db\db.mdb"; <0> oh, then I use the other way? <2> then you do con = DriverManager.getConnection (url, userID, p***word); <2> url = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=C:/personDB.mdb"; <0> thanks man <0> it works now <0> :)) <2> you're welcome <3> Main-Cl***: Forex.Forex <3> Cl***-Path: /home/hunterfighter/Forex-1.0.0 <3> like this? <5> hunterfighter: make it the filename of the jar you want to include <3> okie with the correct? full path? <5> probably better to make it relative <5> java could really use a standard way of adding libs <3> Main-Cl***: Forex.Forex <3> Cl***-Path: /home/hunterfighter/Forex-1.0.0/jcalendar-1.3.2.jar /home/hunterfighter/Forex-1.0.0/AbsoluteLayout.jar /home/hunterfighter/Forex-1.0.0/mysql-connector-java-5.0.0-beta-bin.jar <3> i make it like this <3> just worry in my friend pc it might not work <5> if you do it like that, he has to have a /home/etc/Forex-etc/ dir too, with the jars in it <3> yeah <3> so just worry about that <5> do you know what a relative path is? <3> koala_man, I think i get you :) <3> thanks for your guide <3> i testing on it <3> it hsould be working fine <3> another question <3> make it become exe feel better under windows <5> but it doesn't feel so good under linux <4> koala_man: what's your problem ? <3> yeah <3> haha all of my friend is use in windows <3> so i wish to test in windows <5> sanobabu: my problem with what? <4> koala_man: don't worry abt it. :) <4> Is everyone here trying to get their homework done ?
Return to
#java or Go to some related
logs:
how to handle taurus man
konhi india bandaid dio #linux #india #allnitecafe #allnitecafe #chat-world Gay garls #linux
|
|