| |
| |
| |
|
Page: 1 2
Comments:
<0> hello people <1> hi <0> can we execute DML like insert,delete, update using .executeQuery? <0> im new to java <0> please help <2> check the API docs or java tutorial on java.sql I'd say. <2> or actually write a test case and see for yourself? <0> i tried already but it says cannot execute <0> i wonder if how will i insert records to java <2> you don't insert records into java, you insert them into an SQL database. <0> what cl*** and methods will i use? any suggestion <0> correct! <0> just guide me <2> christine_c: java.sql, as I said. GO read the tutorial on www.thejavatutorial.com <2> to be exact: http://java.sun.com/docs/books/tutorial/jdbc/index.html <0> thanks
<0> Lion-O....can i ask you for this last question...i hope you can me a little insight on this...what's the difference between .executeUpdate("insert int tbl values (1);") and .prepareStatement? <3> Righto. Off to bangkok now. <4> hello <4> anyone good at adding an already scripted note to an exisiting form? <4> where do i put an encrypted file on my design page? <4> I created a form, and everytime i go test it, its still reading that its not encrypted if this file is sent. <4> but im adding the encryption onto the my page. <1> sbluered, this is a java help channel. We do not help with Javascript issues. <1> Try asking in #javascript <1> Good night <5> I have a JComboBox.. what event happens when a new item is selected? <6> morning <7> jijiji <7> ups, sorry <8> morning guys <8> any idea why netbeans can't actually be of any use when I want to convert a project from 1.6 into 1.5 ? :| <9> SAnDAnGE: why should netbeans help you with that? that's a developer's job, not one for an IDE. <8> Clackwell I made a project inside netbeans, used matisse to make it... etc.. after that, my boss said it needs to be run on windows 98 as well... so I had to make it in java 1.5... I've set the javac arguments... and instead of getting errors... I got all ok... since GroupLayout is not in 1.5... the project was working well on my pc, but not on any other <9> missing grouplayout is the culprit? <8> netbeans is using it in matisse, so.. this was the main reason, but the worst part was that it worked on my computer, both the jar and from inside nerbeans, but on the others it gave about GroupLayout <9> missing grouplayout is the culprit? <9> is the missing grouplayout in the generated jar file the problem? <8> yea... at first sight this was the problem (dunno if others would have come) <9> after fixed that, there were no other problems? <9> you didn't fix that? why not? that's a standard problem since the netbeans version that includes matisse. it has been known from the start that you need to include the grouplayout stuff yourself, somehow. <8> didn't know how <9> http://forum.java.sun.com/thread.jspa?threadID=778001&tstart=90 <9> two minutes of thinking about the problem and searching on google. <9> my search: http://www.google.com/search?hl=en&lr=&q=missing+grouplayout+jar&btnG=Search <8> I had my boss on my head so you imagine the stress <9> your boss is seeing our conversation? <9> i hope not, for you. :) <9> you seem still stressed. <9> next time you can appear to have a better grip on such problems and your tools. :) <8> he's not now, this problem was yesterday... still annoyed me... Eclipse seems to do a better job when talking about different versions of java <10> hello, i need some java help. i am sorry to say that but i am a noob. i have a .jar file, that represents a image, i mean is like .gif file,but is .jar . how i can include this file into a .html file? what code i must use <10> anyone here? <11> woho! IDEA EAPs again.. <6> oh? finally got your intellij fix? <11> yeah, submitting a pile of bugreports as we speak ;) <6> :) <6> version 7 ? <11> yeah <6> how is it so far? <11> MbGone: So far not all that much diffrent. The JSP/HTML/XML parsing is redone, but erroring out largely for me ,) <6> i say, version 5 forever!! :) <11> they are suppsoed to have added some sort of spring integration in this build.. <11> Lion-O: I still have my wokring IDEA 6.0 ;) <2> wlfshmn: then you're not doing this properly ;) you need to upgrade and burn your ships ;) <11> nah, periodically the EAPs turn into sludge and are utterly unuseable for a week or two ;) <12> :P <11> dave-e: well. Everyone is doing it! ;) <12> lol <12> I never actually write anything... so I don't need an IDE :D <11> well, look at that.. I had managed to compeltely miss the existinace of referenced-bean in jsf.. <8> anyone playing with netbeans here ? :D <2> in a moment 8) <8> I have a small question..
<8> I had to change the platform from 1.6 to 1.5, but in the manifest file of the .jar file it says that it was built by java 1.6 <2> there we go.. Sorry for the delay, had to reboot. Now. <8> [22:53:03] <8> I have a small question.. <8> [22:53:56] <8> I had to change the platform from 1.6 to 1.5, but in the manifest file of the .jar file it says that it was built by java 1.6 <2> SAnDAnGE: yeah, I saw it ;) <8> :D <11> SAnDAnGE: It says built by ant 1.6, does it not? <2> My irc session is always being kept open, I run the irc client on my server. RIGHT. well, so you had to change the platform. Did you also change the platform in netbeans? <11> SAnDAnGE: It does not reflect the JDK level you have built against <2> I mean: did you just change (for example) /usr/java to point to 1.5 instead of 1.6 or... ? <8> I changed the project platform from java 1.6 to jdk 1.5 inside netbeans <2> SAnDAnGE: roger. Now I see where we're going. Hmm. <8> wlfshmn the manifest says both the ant and java <8> lucky me that it seems to run on jre 1.5... but.. still weird <2> 'created-by' you mean <11> SAnDAnGE: You can also build for 1.5 or 1.4 with java 1.6, using the -target parameter to javac. Supposedly that is what happens when you change the language level in netbeans <8> wlfshmn actually that ****s, cause I can't do that <2> wlfshmn: well, netbeans takes care of that normally. <2> SAnDAnGE: how did you build this project? clean and build or just build <2> (add a ? to that ;)) <8> SHIFT+F11 <2> errr, thats compile the current file or project.. I think ;) <2> SAnDAnGE: try a clean+build (if this isn't the same) :) <8> it's the same <8> Ant-Version: Apache Ant 1.6.5 <8> Created-By: 1.6.0-b105 (Sun Microsystems Inc.) <2> SAnDAnGE: thats very odd. <8> To run this application from the command line without Ant, try: <8> C:\Program Files\Java\jdk1.5.0_10/bin/java -jar "C:\Documents and Settings\Emanuel\Desktop\JAVA\InvoicePrinter\dist\InvoicePrinter.jar" <2> SAnDAnGE: this is nb 5.5 ? I'll see if I can reproduce <8> yeap, nb 5.5 <8> the prject was built in 1.6 <8> but my boss changed his mind that he wants the application to run on win 98 <2> SAnDAnGE: just to be sure: this project you're working on is set as the main project right? ;) <8> yes :) <8> so.. sincer jre 6 doesn't support win 98... I had to change it to use jdk 5 <2> weirdo... Very... I can reproduct the problem: <2> reproduce <2> Building jar: /home/peter/develop/java/netbeans/KSConvert/dist/KSConvert.jar <2> To run this application from the command line without Ant, try: <2> /opt/jdk1.6.0/bin/java -jar "/home/peter/develop/java/netbeans/KSConvert/dist/KSConvert.jar" <2> but in the manifest it says: <2> Created-By: 1.5.0_10-b03 (Sun Microsystems Inc.) <8> :| <2> lets see. The only theory I can produce right now is that the jar was initially build with 1.5. SO.. /me removes the jar <8> nope... <8> cause it's deleted each time it's created <8> both build and dist folders are deleted <2> No, this is indeed a bug.. I removed the jar, re-created it and: Created-By: 1.5.0_10-b03 (Sun Microsystems Inc.) <2> well, it looks like a bug that is. I guess that NB simply utilizes jar from its default JDK and when you use a different JDK it will only utilize the compiler. <2> so it has created the jar using (in my example) jar from se5 and build the cl***files with the compiler from se6 <2> SAnDAnGE: I'd report this as a bug. <8> ****s... cause now I'm not sure if my .jar actually works in jer 5 <8> jre* <2> SAnDAnGE: I think it will. I'm looking as we speak for this line but from what I read so far it looks to be a mere informational line. But not sure yet <8> Eclipse and nb, together... rulz <8> :))) <2> hehehe <8> I'll move all the java files into Eclipse to format and sort the code, check for redundancy... then move it back in netbeans :D <8> and make a jar with the library in the lib folder <8> :))) <2> lessee what happens if I create a se6 project <6> evening all <2> yes.. This is from a project I started as SE6: Created-By: 1.5.0_10-b03 (Sun Microsystems Inc.) <6> SAnDAnGE - or you can just install intellij ... :P <2> Howdy MbGone <6> hey Lion-O <8> MbGone the intellij doesn't import netbeans projects <2> SAnDAnGE: from what I can see so far this 'created by' line doesn't indicate usage. <8> I have it installed <8> MbGone and it didn't seem to know jdk 1.6 <6> SAnDAnGE - just start a project in intellij , use ANT to compile it, and you are all set <6> what do you mean didnt seem to know? <8> well... in the list of jdks listed there it was jdk 5 the newest...
Return to
#java or Go to some related
logs:
#chatzone hot #mirc 12WHAT MARK INDICATES BRITISH STANDARDS INSTITUTE APPROVAL?
#mirc #php #AllNiteCafe picos revenge ghost diskimage management #chatzone
|
|