| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> why is the site in the topic not working ? <1> because the server hosting it is down <0> why so ? <1> only god nows <0> btw i got a java test on wednesday :S <2> anybody help me with this problem: package javax.jms doesnt exist <1> you need the jms library <1> its mostly bundled with a j2ee server <2> my cl***path looks like this c:\sun\AppServer\ <2> my cl***path looks like this c:\sun\AppServer\imq\lib\jms.jar <2> twas set in environment variable <1> check if the path is valid <1> you never should set the cl***path enviroment variable <1> only gives problems <2> coz i tried fnding sol on some forum <2> how will i do it anyway
<1> just specify the cl***path when calling javac <1> javac -cp c:\sun\Appserver\img\lib\jms.jar;. MyWebApp <1> .java <2> i can use javac Myprog.java anywhere <2> and it runs <1> thats because javac is on the PATH enviroment variable <2> problem is when i used "import javax.jms.*" <1> cl***path is something else <2> dats d time i got dat problem <2> so how can i set the cl***path or to fix dat? <1> javac -cp c:\sun\Appserver\img\lib\jms.jar;. MyWebApp <1> told you already <1> or open the command prompt and set CL***PATH=.;c:\....\jms.jar <1> then only during that session the cl***path enviroment variable is set <2> ic <2> i'll try <1> I use eclipse to write webapps <1> and just configure the jars I need in my project <1> eclipse will also tell me to import the needed packages <2> am just a newbie actually <1> and if the jar is not on the cl***path, it even adds them occasionally <2> ic <2> i tried to set CL***PATH=,;c:\suAppServer\img\lib\jms.jar <2> and tried compiling that .java prog <1> the first , should be a . <1> means the current directory <2> yes it is..i checked <3> appropriate nickname <4> hello <4> how can i call the supercl*** constructor ? <5> Call super(); <4> the error is The method client() is undefined for the type vip <4> client is the supercl*** <4> vip extends form client <4> i've called : client() in the vip constructor <4> thanks it's running <5> np :) <6> salam <7> Given a HashMap in which all keys are unique, will using keySet() and values() give me sets/collections which correspond to each other? ie. Will the first key in my extracted set correspond to the first element in my value collection, and so on? <8> kkaisare: no idea, but i would not rely on that. <8> kkaisare: the api docs do not seem to suggest that a map or its elements or keys (even when retrieved via keySet() and values() have any specific order. <8> hi LLyric <9> Morning <7> Clackwell: ( I am new to this, I'm afraid. ) So, If I have a HashMap, but without any idea of what is inside, save that all keys are unique, I'll have to first extract the set of keys, and then draw the value corresponding to each key? <8> kkaisare: i'd say so. <7> Hmm <7> Clackwell: Thanks. <8> you are welcome <10> Hi people!, i have a little question, I am writting an file sharing little program, i have most of the protocol done, The problem, is... i don't know if it'd be a better idea a common instance of the protocol or one instace for each connection, any advise? <8> g32k1: why do you even think about this in a way of object orientation? <8> maybe consider an http server. it handles requests with a specific protocol. <10> Clackwell: well yes, the point is, i am trying to do my own protocol for some specific needs <8> in a simple design you may have a HTTPRequestThread, which processes http requests. the httprequestthread would probably implement the http protocol. <8> given that, where and why would you introduce a more object orientated design to this relatively simplistic scenario? <10> Clackwell: The filesharing protocol would also spread file request to othe pears with Multicast, and that kind of stuff <8> pears and peaches? <10> Clackwell: the program share multifle file, so i created a Virtual file system, so you can choose waht you want to download <10> peers :P <8> maybe explain how that is different from the http server scenario in a relevant way? <10> Clackwell: You can download file chunks from multiple sources at one time <8> g32k1: i don't see how that is relevant. you still have request, be they for complete files or only chunks of files.
<8> requests, rather <10> Clackwell: I don't really get you, i'll think it deeper, thanks :) <8> g32k1: "client1, send me part #3 or file xyz" <8> is that a request, yes or? <8> or=of <8> grrr <8> g32k1: "client1, send me part #3 of file xyz", is that a request, yes or no? <10> yes <8> so you have something like an (http) server which handles requests? <10> but they would be rather like, who has part three of file xyz <8> looking up/finding sources of chunks is a task different from requesting the chunks, isn't it? <10> yes <10> that would be done with multicast <8> i would try to keep such tasks separate, on a logical level (when thinking about what needs to be done) as well as in code (one method to get a list of sources, another method to try to download the chunk from any of the sources in that list) <8> what tcp/ip protocols would be used is not relevant, i'd think. <10> Clackwell: it shoudln't <10> Clackwell: well i have one last question <10> Clackwell: What would be a better aproach, an independant socket for each transfer, or add more header info like, destination file md5, number of part and the content? <8> g32k1: i cannot tell, since i don't know what you are talking about. you are asking question which have a lot of context which you did not share yet, it seems. <10> Clackwell: Sorry, sometimes i am pretty lame at telling my mind <8> g32k1: don't worry, it's the norm on irc, not the exception. :) <10> Clackwell: by the way, we have talked before, i don't know when, but i know we did. <8> haha, ok, might be. :) <10> Clackwell: I am very rare, Sometime i remember nicknames better than names, maybe mecause they are shorter <10> Clackwell: I recall that i talked with you, bot last week , came a guy, ehhhhy, how're you doing, bla bla bla <10> Clackwell: even worst, then came his girlfriend, he said, hey , look who is here, and she said, wow... how're you doing, I talked to them, but i have no idea who they are :P <11> :p windaws <12> does anyone know of a good source for cell phone development? <12> or a guide or something... <10> "cell phone development java", at google an lycos <6> salam <10> may be if you try in emule you may find some docs <13> hey do you guys know of any free java chat clients that allow you to integrate with an existing mysql p***word schema? <13> or any that are fairly cheap but very well made :) <12> anyone know of a good program for decompiling a JAVA app? <14> jad <12> is it free to d/l? <14> what am I you're mother, go look <12> just a question dude, either you now the answer or not <12> and of course I am going to look, but it doesn't hurt to gain additional information from other's experiences <15> please #batepapo <15> vv <15> please #batepapo <12> does anyone one know of a good J2ME developing app? <16> w'slm <17> what translator would produce executable code which is stored in a seperate file? <8> huh? <17> im correcting a paper for my neighbour <17> and one of the questions is <17> for which type of high level language are the following statements true <17> and one of the statements is <17> produces executable code which is stored in a seperate file <18> umm...gcc (i.e. c++) creates an a.out file which is executable <17> might it be compiler because its not line by line but chunks which ar then called up? <8> "executable" is a loaded term there, i guess. <8> (you can execute anything, depending on the definition of that term. you "execute" java applications/.cl*** files, afterall...) <17> because its not line by line? <18> Clackwell: yea, but they aren't natively created in a separate file...compiler sounds about right, or just mention C++...there's probally others I don't know about <8> barF|y: line by line? are you thinking about scripts now? <8> "executable by the cpu" is meant, i guess. <19> hi all, do we have a Java ssh client in mobile phones? <18> check out: http://www.myspace.com/akari <18> i mean http://www.xk72.com/midpssh/ <8> i like the "we" part. <18> all in the family :) <8> smart move, but so easy to see through. ;) <17> will a computer attempt to divide by 0? <17> and end up in a run time error? <18> yes and throw an exception <17> or will it not attempt it at all? <17> whats an exception?
Return to
#java or Go to some related
logs:
#linuxhelp #AllNiteCafe #windows #teens internet explorer htmlelement is undefined #linux taryl jasper
#linux #skype #AllNiteCafe
|
|