| |
| |
| |
|
Page: 1 2
Comments:
<0> java island? <0> or java... computer language? <1> both <1> and also coffee <0> hahah... here's the universe java then! <1> yep. right now I'm writing code for controlling indonesian coffee machines <0> koala_man great! me too write code... but i dont work with java, only with progress! :P <1> never even heard of it <0> koala_man hm.. www.progress.com ... ist a language of fouth geration. its borring! <1> I bet <2> whats happening in java <2> anyone heard about java 6? <3> hello <1> hey <3> bot.RegUseruser = new bot.RegUser(); <3> whats wrong with this?
<3> i get this error message <3> No enclosing instance of type bot is accessible. Must qualify the allocation with an enclosing instance of type bot (e.g. x.new A() where x is an instance of bot). <1> relik: what is bot.RegUser? package and cl***? <3> its a cl*** <1> in the package bot? <3> in the cl*** bot <1> is it static? <1> RegUser <3> no <3> should it be static? <1> if bot is a cl*** name and RegUser is an inner cl***, then you either do mybot.new RegUser() if it's nonstatic, or new Bot.RegUser() if it's static <4> hello <4> Is it not new Bot.RegUser() for a static inner cl***, and new Bot().new RegUser() for a non-static inner cl***? <1> that's what I said <1> substituting mybot for new Bot() <5> moo <1> oink <6> hrm, i gotta write a sorting method and prints out the array in terms of odd even odd even odd even etc.. I know how to do even odd even odd just by incrementing the counter by 2 in my loop but how can I get the method to pick up the lowest odd number first instead of even? <4> Ah, I did not know what you meant by mybot. <6> im using selection sort <1> start the counter at 1 instead of 0? <6> {0, 1, 12, 3, 6, 5, 4} prints out 0 1 3 4 5 6 12 <6> sorry <6> it printed out 0 1 4 3 6 5 12 <1> what is it you want to do? sort all the odd elements and even elements separately? <6> i want it to be 1 0 3 4 5 ... <6> odd even odd even odd.. <1> creating two arrays, one with the even numbers and one with the odd <1> how about <6> hrm <1> or sorting it and then having two pointers that point to the last odd/even number and searches ahead for the next <6> alright <4> A little quiz: http://rafb.net/p/sfg9w793.html <7> http://www.gofish.com/player.gfp?gfid=30-1067799 <4> hello <4> For my file encryption program which algorithm should I use as default? Security and performance matter. Here are the choices: http://rafb.net/p/V8sVn420.html <8> what's PBE? <8> "p***word based encryption"? <4> yes <4> I extended the list by some twofish and des options, but I am still working on it. My question is still valid, though. <8> i've always been partial to RSA, but i dont know how performance friendly it would be <9> does anyone have an e-book for Michael Scott's - Programming Language Pragmatics ? i need help urgently !! <9> damn i just cant find it on google <10> hello any from india females chathere <4> I released TigerCrypt 3.0. It is far more secure now, see website: http://kaiwitte.org/tigercrypt <4> It uses Bouncycastle now. <11> just posted some java code need help its simple im a noob <11> id be happy if someone toook a quick look <12> Someone who have a links to or have a example where show how to send data from a client ot another client by a server? <13> morning <4> hello <14> Wb <4> bye <3> hello <3> someone here? <1> maybe? <3> hello <3> i have made a jar file in eclipse <3> but <3> for some reason i get the error message that the main could not be found <3> could someone further ***ist me?
<1> you can try googling or looking through the eclipse docs for how you set the main-cl*** attribute of the jar manifest <3> koala_man i followed the instructions of three tutorials <3> i made the jar manifest <3> online there are a lot of peoople <3> with exactly the same problem as i have <3> but so far no one is able to give a proper solution <3> if i open the jar file with zip everything looks quite ok <1> I don't know how eclipse works, but I know how you do it with the standard jdk tools <3> i am an eclipse lover <3> :> <1> unzip it and see if the manifest looks fine. then try running it with java -cp myjar blah.maincl***.Moo <3> i unzipped it and the manifest looks very good <3> i'll try that <3> hmmmm <3> C:\>java -cp test2.jar Meandu <3> Exception in thread "main" java.lang.NoCl***DefFoundError: org/jibble/pi <3> rcBot <3> at java.lang.Cl***Loader.defineCl***1(Native Method) <3> if i ty this <3> i get this error message <3> but i included pircbot.jar <3> any idea how to avoid this problem? <1> included it in what, the jar manifest? <3> no <3> in the test2.jar file <3> or should i also include it in the manifest? <1> you mean the the jar file contains a jar file? <3> yes <3> this is automatically done in eclipse <1> java typically does not like that, and requires you to write a custom cl***loader <3> ahh <3> maybe this could cause the problem <3> i deleted it from the jar file <3> and put it aside the jar file <3> but still i get the NoCl***DefFoundError problem <1> does the cl*** path manifest attribute include the file name? <3> no <3> Manifest-Version: 1.0 <3> Sealed: true <3> Main-Cl***: Meandu <3> this is how my manifest looks like <3> it has been autogenerated by eclipse <1> either write a freaky cl***loader to allow jars within jars, or include all the contents of the one jar in the other (as separate files), or put the jars in the same dir and have the cl***path attribute point to it <3> like this? <3> Manifest-Version: 1.0 <3> Sealed: true <3> Main-Cl***: Meandu <3> Cl***-Path: pircbot.jar <3> ? <1> something like that <3> hmm <3> doesn't seem to be working <3> :| <1> how about java -cp pircbot.jar;yourjar.jar Meandu <3> java -cp pircbot.jar;yourjar.jar Meandu <3> this works <3> but when i double click on the jar <3> i get the error message that the main cl*** couldn't be found <3> :/ <1> what is the exact error? <3> Failed to load Main-cl*** manifest attribute from testl.jar <1> relik: can you send me the jar? <3> sure <3> what is your email address? <1> dcc send it or put it online or something <3> i'm not sure wether my firewall allowes dcc <3> let me try <3> rename it to zip <3> i also send you some p***words i see <3> :/ <3> hope i can trust you ;) <1> muahahaha <3> :'( <1> relik: the manifest used is META-INF/MANIFEST.MF
Return to
#java or Go to some related
logs:
sopp4 irc #linux #allnitecafe angliski czat #allnitecafe #java #sql BBL see you @ my cam page #india #kl
|
|