| |
| |
| |
|
Page: 1 2 3
Comments:
<0> Hi, is anybody here? <1> hi, I wrote a B-Tree structure, and I put it up against a HashMap. My code is about 50% slower on insertion, and as fast on searches. Can someone help me out with the insert times so i can take em down to HashMap levels ? <2> hello guys <2> i have a question for u <2> whats the reason for implemnting stacks withlinks? <3> Just wondering, how does Sun make money off of java ? <4> certification and application server sales <4> ***uming they got paid for both application server licenses. <3> certification is in having people trained and certified ? <0> hi is anybody here? <0> Does anybody know if you can define querys in the DataSource tag in the struts-config.xml file? <5> how can i make the cells from a jtable unselectable? <6> hi. i'm trying to execute my program manually from the shell: "java -jar MyServ.jar -jar lib/AbsoluteLayout.jar -jar lib/swing-layout-1.0.jar" but i'm getting Exception in thread "main" java.lang.NoSuchMethodError: method java.lang.Integer.valueOf with signature (I)Ljava.lang.Integer; was not found... but if I run the program from netbeans it works... how to fix it? <7> b0red: -jar is the wrong argument. you want to use the cl***path. <6> talios, java -cp JMonClient.jar:lib/AbsoluteLayout.jar:lib/swing-layout-1.0.jar JMonClient.NewJFrame <7> if MyServ.jar is an executable jar, you can mention those other jars in its manifest file
<6> still that complaints.. <7> mmm, valueOf() - sounds your running with the wrong jvm/jdk from the command line <6> cat manifest.mf <6> Manifest-Version: 1.0 <6> X-COMMENT: Main-Cl*** will be added automatically by build <6> oh? <6> talios, but i installed jdk1.5 before installing netbeans <6> java --version <6> java version "1.4.2" <7> b0red: whats java -version say? <7> what os? <6> fedora <6> talios, if i run the program in netbeans it works.. <7> how did you install the JD? <7> JDK? <7> if you run "update-alternatives --list java" what does it say? <7> actually - --config shows the current (and allows you to change) <6> there's no --list for that cmd <6> hmm <6> *+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java <7> using gcj :( the evil that it is <6> i don't see 1.5.0 in the list <7> the JDK 5 you installe probably doesn't use the alternatives system. <6> ./usr/java/jdk1.5.0_06/bin/java <7> what you can do is edit the PATH and put your JDK first (I tend to do it in my ~/.bashrc file, but you can do it system wide as well) <6> system wide, how so? <7> editing /etc/profile is one way <7> for Fedora I'd favour building the JDK with JPackage (www.jpackage.org) and use the alternatives system <7> they're got scripts which will build a set of RPMs for the JDK and make dealing with it quite nice. <8> hi, im trying to update eclipse <8> ver 3.1.2 should be provided on update site eclipse.org right? <8> or should I download it an update manually? <9> morning <8> mornin <7> 'lo jottinger <8> ok i downloaded eclipse and extracted it in the old folder, lets see what happens :D <8> well <8> it worked :) <10> helo <10> how do i connect to a database <10> ? <10> can anybody help me ? <11> with? <9> JDBC <9> just use JDBC <10> JDBC <11> see my lovely hostname?:) <9> it's only been documented on the web 800 billion times <10> I'we used a Conector/J to connect to JDBC <10> my database is on a server <10> and I don't know why it dosen't work <9> froggy_: well, that's kinda up to your server <10> what do you mean ? <9> connector/j is the sql server thing, isn't it? <10> yes <9> froggy_: well, "it doesn't work" is far too vague to begin analysis. Does it give you a specific error? <9> If so, what error is it? <10> i have a mysql database <10> it can't connect to the database <10> i don't know the error <9> um
<9> maybe you should find out <10> i wrote the programm <10> i can't <9> what makes you think you're not connecting, if you can't determine the error? <10> i dont know how <9> How can you not find out? <9> heh, do you get an exception? <10> yes <9> what exception would that be? <10> wait <10> onnect to any hosts due to exception: java.net.ConnectException: Connection timed out: connect <10> Unable to connect to databasejava.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection timed out: connect <11> is database started? <11> can it get through firewall? <10> the database is on a server <10> I dont know <11> wait <11> in my.cnf <11> check lines <11> # Instead of skip-networking you can listen only on <11> # localhost which is more compatible and is not less secure. bind-address = 127.0.0.1 <11> #skip-networking <11> if it's skip networking, tcp/ip connections wont work <11> skip-networking is default <10> where is my.cnf ? <11> well here on my gentoo is /etc/mysql/my.cnf <9> heh <10> i run on windows <11> well where mysql is installed <10> and i dont have that <9> froggy_: perhaps you should learn a bit about what you're doing <10> jottinger i am learning now <12> hmm, I disagree <9> Lion-O: oh, right <11> any comments on my hostname? <11> :) <9> much smarter to fumble about madly <9> wolfey: not from me, it's kinda boring <11> oh ok:) <12> learning would be skimming the MySQL docs on www.mysql.com until you found out these trivial issues. Just my .2 cents. <11> nah, best is to go to irc.freenode.net and cry on #mysql <12> lol <11> that's how i found out about this line <9> Lion-O: so what are you doing in #java anyway? <9> Crossing over to the dark side that doesn't involve MS? <12> jottinger: Picking up on Java ofcourse :) After I moved away from Linux for my servers and switched /all/ of them to Solaris it didn't take me too long to find out about Java 8) <9> yeah, sol admin is done via java <12> jottinger: and after I spend, say, 2 hours reading up on it and the next day got an exception during installation with regards to awt* and then knew it had something to do with graphics which was confirmed by a text-install going flawlessly I knew I wanted more out of this. <9> haha <12> jottinger: And thats basicly the whole story 8) I like what I've seen so far, came quite a nice way (from J2SE to minor J2ME and at the moment jsp through the use of SunONE 6.1) and thats a bit how I ended up here :) <9> *nod* <12> Heck, I even managed to setup my first project (sorta) for "the other place". A nice irc tutorial bot written in Java (with the help of PircBot) which even attracted the attention of the PircBot guy :P <9> paul's cool <12> hmmm, lessee, http://catslair.org/files/nekobot.rar for version 1.2. Its still lacking and a MySQL bug regarding connection isn't fixed there but it works(tm). <12> jottinger: *nod* <9> Well, it bored me :) <9> nah, I'm just busy with other stuff :) <9> trying to figure out what the heck the isolation API is for <12> Well, at least I get to blame you :-) <9> heh <13> doesn't seem to learn... <14> hi. <14> i'm looking for a java benchmark (suite) ... preferrably small (<1000LOC or so), and preferrably allocation-intensive. Any ideas? <11> http://www.netbeans.org <15> netbeans ****s <15> www.jcreator.com <11> isnt jcreator a toy for noobs? <11> netbeans is fully featured IDE <9> feyo: which version of netbeans? <15> i dont like nb
Return to
#java or Go to some related
logs:
ubunt2 + unix fc5 config_4kstacks What supermarkets were founded by Sir John Cohen with the slogan 'Pile it high, #AllNiteCafe #chatzone #MissKitten 3arab nek
vb.net device driver sdk
muie en gross #linux
|
|