| |
| |
| |
|
Page: 1 2
Comments:
<0> Y tried googling, but i didn't find anything <1> could be just about anything. <1> Xamar_: first, are you sure you're using Java and not some gnu variant? <0> Lion-O: Yes, i tried both 1.4 and 5 versions <0> Same result <0> Even tried with 127.0.0.1 and it gives the same error: java.net.SocketException: Network is unreachable <1> Xamar_: well, rather impossible to answer without more context. <0> It's using JDBC, maybe i should try with a simple program <2> who can help me? <3> nobody <3> we don't know what your problem is, and honestly, we don't really care <0> Lion-O: Now i tried a simple program, just open socket with 127.0.0.1 and then close and i got same error.... i'm starting to think that maybe is a IPv6 related error.... <4> ****ing so many pricks in java channels <3> img|cai`a: yeah, we ****
<5> the attitude surely helps you get ***istance <4> rofl what ***istance <4> u do **** all <4> Just idle in these channels to be total cocks to people <5> I wasn't under the impression we were required to do anything <4> Why do u idle here ? :) <5> At the end of the day, if someone wants help, it's encumbent upon them to optimise their chances of getting it <3> I don't idle here, I just hang out here saying nothing <5> because occasionally, I have spare time/knowledge to help people, and get help myself <3> I never get help :( <3> Not in #java, at least <1> oh, I think I understand whats going on; Clackwell pointed him to the documentation to read up. That takes effort and I guess thats too hard on him. <3> nobody here seems to know what I run into <1> jottinger: I foresee... danger... I see... <3> img|cai`a: and since you can't help me when I run into four-page stack traces in standard spec implementations, **** you <3> you do NOTHING <1> jottinger: yes, you need System.exit(1) in the near future ;) <4> No jottinger <4> How hard is it to say sorry m8 Ive not come across that <4> instead you act like a complete cunt <3> img|cai`a: so you expect everyone to say that every question? <4> with your "we really dont care" <3> roll call: who's done synthetic methods in a JPA entity bean? <3> if you don't answer, you should be kicked <3> if you haven't, well, you're a wanker who should be kicked <3> if you have, WHY THE **** HAVEN'T YOU HELPED ME YET <1> jottinger: because I don't give a ****! :P <3> Lion-O: well **** you and the horse's *** your lips are attached to <3> img|cai`a: besides, I have bigger fish to fry: a pissed off spec lead, who didn't understand that I'm not a real journalist and I really do know what I'm talking about <3> "You're not supposed to editorialize, waaaaah" "But I didn't: he said X, I went through and corrected the problem to Y, filed a bug, showed you the source code, here's the url, wanker." <3> so img|cai`a: you're not really very important in the grand scheme of things, shut the **** up <1> Xamar_: Anyway, just checked up on java.net myself but Java keeps a strict seperation between ipv4 and ipv6 so unless you've done something totally out of the ordinary I rather doubt that. <4> I dont try to pretend to be though <4> ****ing arrogant cock <3> my cock deserves to be arrogant <6> oi ! <3> bwahaha <0> Lion-O: Thanks a lot for your help, i will continue investigating this error <6> img|cai`a: if you have a problem about a free service, and cant figure out how to read a book, i suggest you leave now <1> Xamar_: hmm, unless you paste your code somewhere its about all there is to comment on. <0> I've pasted source code in http://cl1p.net/networkunreachable <0> But that is not the problem, it's a really simple example that should not give the error i said <0> It must be something about the network configuration in Linux... <1> Xamar_: hmm, still.. its odd indeed, especially if you're using 127.0.0.1. if "/sbin/ifconfig | grep 127.0.0.1" works in Linux then something is odd. <0> Lion-O: Yes, local interface works perfectly. I can also do 'telnet 127.0.0.1 80' and the web server answers <0> I'm a puzzled by this weird error.... <1> Xamar_: but the moment you try to create a Socket() like that it errors? very odd indeed. <0> Yup, the error occurs when opening the socket, must be something of the java environment... maybe not properly installed. <0> df -h <0> (sorry) <7> Greetings, #Java! <8> re
<9> tera <10> hi Rob_uknow <9> ws up? <10> not much. I have to move :S <9> move to where? <10> just to something cheaper <9> that's a shame <10> a shame ? <9> yes <9> if you need to move to something cheaper <11> hi <11> can someone tell me how to read stuff from the command line, without having to press enter <11> i currently use System.in <11> but it blocks until data is available <9> not possible <9> find a native solution <11> right <11> i take it that this question has been asked before <9> yes <11> hmmm <11> okay thanks <9> yw <11> i guess ppl were trying to make the "linux type" spinner from the characters /-\|/ <11> but none of that in java <9> none <11> that sux bigtime <9> you might be able to use ansi <9> if your terminal supports it <11> yeah <11> its not that important <9> you can build complete gui like apps for the console <11> i mean, i could either use jni <11> yeah <11> like ncurses <9> yes <11> or i could communicate with c-code using Runtime.exec <11> but its too much work, for too little gain <11> and as i said, not that important <9> oh well <9> calchas <12> hi <9> hows life? <12> good <12> with you? <9> same here <13> Hello. I'm using PixelGrabber to get a pixel's color from a given Image. However, whenever I try to use a GIF as Image, when I do ((IndexColorModel)pixelGrabber.getColorModel()).getRGB(pixelPos) it throws IndexOutOfBound***ception. Any idea why this happens? Thanks. <13> I set pixelPos = y * image.getWidth() + x <9> did you check if grabbing was successfull? <9> the int array is how long? <9> I always forget how to obtain a pixel <13> I'll check if grabbing was done, maybe JPEGs are loaded faster and this is why it works on them <12> are you using the media tracker? <13> no <9> you should <9> or load image using ImageIcon <13> I used Toolkit to load image <13> any idea on how to check if pixels were grabbed? <9> try { MediaTracker mt = new MediaTracker(this); mt.addImage(image, 0); mt.waitForId(0); } catch(InterruptedException e){ System.err.println(e); } <9> this way you make sure the image is loaded <13> doesn't grabPixels throw exception if image is not fully loaded? <9> it only throws exception if grabbing went wrong I guess <9> but the image needs to be fully loaded before grabbing <13> I set a Thread.sleep(10,000) before calling grabPixels. It still throws arrayindexoutofbounds <9> are you using have you used MediaTracker yet? <13> I never used it, but if you suggest that it is better than my current approach I can try it
Return to
#java or Go to some related
logs:
#linuxhelp sendmail smarthost redhat deferred refused etc/x11/xfree86.config #c++ running irc as root #apache #javascript #mysql #c Msn8FrForCam.exe
|
|