@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> don't worry
<0> has anyone worked with the Page Replacement Algorithms (like FIFO for example)
<1> nope
<2> FIFO is stack
<0> stack...hm...
<0> I was thinking more of a queue
<3> hi all
<3> i have a problem..
<3> i'm trying to create a simple http server but i get an error :
<3> java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
<3> ServerSocket ser = new ServerSocket( 80 ); <- this is the line where i get the error
<3> if the port were busy i should get 'Address already in use' or something
<3> i have tomcat installed but it's shut down.. could that cause the error ?
<4> moin
<5> hi Clackwell
<6> lo.



<7> Hi
<7> Litle strange question i guess, has anyone worked with openreports?
<1> hmmm
<1> you're not the only one with socket issues, though it seems I resolved my own problem
<1> try opening a different port
<1> try 8081
<1> I have a strange recollection that you can't open sockets below the 1024 mark... but I might be wrong
<1> something about the ports being reserved
<1> it would seem I'm talking to myself
<1> : /
<4> DarkJedi2: yeah, the usual on unix...
<7> DarkJedi2: my problem is not with ports if you were talking about that
<1> no no, was referring to a question by faty
<7> ok
<1> someone tried opening port 80 and was wondering why it didn't work
<7> well what error he got??
<1> java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
<1> not that it matters, he's not in the channel anymore
<7> is there other channel about j2ee ?
<1> no idea
<7> ok thx
<1> np
<6> j11 this channel covers J2EE.
<6> albeit we don't seem to have any idea about this problem heh
<6> have u tried a higher port?
<7> well is not about ports in fact but with parameters and working with it
<8> hi
<8> how to check if the java installed has the 64bits supplement?
<6> dodgy old net connection at work again :-/
<8> does a program have to be compiled with 64bit javac in order to run in 64bits?
<4> daYZman: no. say hello to the power of bytecote.
<4> erh, bytecode
<6> hello bytecote ;)
<8> great.
<8> :)
<8> may i ask how to check if the java installed is of 32bits or 64bits? -version doesn't seem to say.
<4> daYZman: no clue.
<8> oh ok.
<9> 'lo Bryin
<10> howdy
<11> hmm, I keep making newbie mistakes from time to time... "String a = "this"; a = "is" + a;". Nice in Pascal, not handy in Java :P 'a = new StringBuilder("this"); a.insert(0, "is ");" :-)
<12> ?
<11> You don't modify String's since their unmutable; all Java will do is create more objects. For that you need either a StringBuilder or StringBuffer.
<12> oh yes
<11> However; I need to "unlearn" such things 8)
<13> Lion-O: Don't forget the printf-style formatting in Java5 :)
<11> rhowe: hmm :-)
<11> I just think its funny, I released 1.2 of my JavaBot yesterday and when going over it again (I took a day off, don't feel like working now) I spot these newbie issues :P
<2> an ojbect can have access to its private attributes right?
<2> like for eg
<11> the private parts of an object are better not discussed in public where minors maybe straulling about :)
<2> Boat b(); and Boat cl*** got a private variable named cat of type Category
<2> b.cat.getCategoryName();
<2> would that be valid Lion-O?
<2> b.cat.getCategorySize();
<2> i forgot my Java now
<11> javaq_: I don't think I quite follow you... Private cl*** variables can only be accessed from within the cl*** itself.
<2> thanks
<14> Lion-O: Every time you return to your code after a period of time you are going ot think things like "wtf? what was the coder writing this -smoking- at the time? Oh. Hang on. -I- wrote this code..."
<14> Lion-O: no matter the langauge or project, it's a law of nature
<11> wlfshmn: hehe, yeah :)



<11> wlfshmn: but a timespan of 1 day is a bit short. But then again, I am still a bit green here and there :)
<4> customer using the "to the power of 3" character in their windows computer names...
<14> goog grief..
<14> is that even legal?
<11> eeew
<4> the company name is like xy so...;>
<15> hey guys, anyone know how i can do setBackground and set a gradient colour?
<15> in an applet for example
<16> hello
<16> Can anyone give me help on installing j2re 1.5 on linux ?
<6> sure
<6> but it should be easy, if u use the binary installation package
<16> no problem unpacking. The problem is that the manual says to make a link on the mozilla plugin folder to the libjavaplugin_oji.so , but thhis file doesnt existst
<17> The_Base: jre/plugin/i386/ns7/libjavaplugin_oji.so
<16> yes
<16> there is no plugin folder
<6> or do a find / -name 'libjavaplugin_oji.so'
<17> yes what? :)
<16> I tryed
<16> didnt find anything
<17> what file did you install?
<16> the binary packet just unpacked a bin/ lib/ man/ folders
<16> jre-1_5_0_06-linux-amd64.bin
<17> ok, how's the file named?
<17> oh, 64-bit
<17> I'm not sure if there's a plugin in that version
<17> sorry, can't help you
<16> What im trying to run is the limewire
<17> you don't need plugin to run standalone apps
<16> dont think I need to run as a plugin anyway
<17> just type /path/to/java -jar application.jar and that's it (unless app provides its own startup script of course)
<16> should I add the jre/bin dir to the path ?
<17> or link it to /usr/local/bin
<17> *it's contents
<16> what about the lib/ ?
<17> *its :P
<17> /bin/* is enough
<16> it created a lib/ folder. should I copy it ?
<17> no, just link binaries
<16> also, the limewire rpm doesnt find the jre instalation
<16> let me try
<17> screw rpms, download regular archive :)
<5> well when you 're at it - screw the whole and do a format hda
<5> whole thing that was
<17> I have some doubts it'd help him run LimeWire :P
<16> im quite unhappy with fedora for x86_64 nothing works in it
<5> lol
<5> lovely linux
<16> got it :D
<16> thanks
<16> any one here is running a linux on x86_64?
<17> I have plans to
<16> is your machine running on a x86_64 ?
<17> we've got one at work but it's used for something else atm, I'll take over it when they're done, hopefully next month :)
<16> what distro is it running with ?
<17> used to be RH but it was total disaster and now it's Debian
<17> I'm totally amazed that after this many years RedHat *still* doesn't have any sensible update/networked software installation tool bundled in the standard distro
<18> They have something similar to Debian's apt now, I think
<18> Though I can't recall the name of it
<19> yum?
<18> That may be it
<19> yum is the bomb
<17> yum isn't in the standard distro, and requires numerous dependencies to be installed by hand
<19> it's in fedora and CentOS :)
<17> maybe, but not in RedHat, which is strange and stupid but well... :)
<18> RPM has bitten me in the *** a few too many times.
<19> yeah rpm sux
<18> gilead: ^5!
<19> that's wy i use yum :)
<17> hi blacky!
<19> i've never had anything but problems with Debian
<4> hi :)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#asm
par2 centos
jsGraphics make Area
12How many instruments accompany someone singing a cappella ?
#networking
#javascript
#php
#linux
#MissKitten
#AllNiteCafe



Home  |  disclaimer  |  contact  |  submit quotes