/srv/irclogs.ubuntu.com/2010/04/18/#ubuntu-java.txt

persiaAnyone use visualvm?18:55
ksemeksHi19:28
persiaHey19:29
ksemeksi have a question. how could i run my code from a folder, say i want to run 'java /path/to/file/file', how could i do it?20:11
persiaThat doesn't just work?20:12
ksemeksno, it gets me an error, that it cannot find the main method20:12
ksemeksthere are 3 files in the folder, but i only call 120:12
persiaAdn the code is known to work?20:12
ksemeksyes, the code works normally when i run it from the folder20:13
persiaWhat's different about "normally"?20:13
ksemeksdifferent is when i try to run it from without the folder, then i get the errror20:13
persiaSounds like an issue with CLASSPATH to me.20:16
ksemeksmight be, but does this mean that every time i want to run a file from out the folder, i have to include the path to the folder ini the classpath?20:20
nthykierksemeks: you have to use "java -cp $dir classname" rather than java $dir/classname20:20
ksemeksty nthykier, it works fine now :)20:22
persianthykier: You don't happen to know where I might found the source download for visualvm, do you?  There's a new upstream bugfix, but I'm only finding binary downloads :(20:22
nthykierpersia: nope sorry - never heard of it20:23
persianthykier: OK.  Thanks.  ( https://visualvm.dev.java.net/ )20:23
doko_nthykier, persia: are there any eclipse plugins/extensions already packaged?21:29
nthykierdoko_: We got eclipse-emf and eclipse-rse nearly ready21:30
persianthykier and you had some eclipse-helper scripts, right?21:30
nthykierpersia: yes21:30
doko_nthykier: any guide how to do extension/plugin packaging? looking at pydev21:31
persiadoko_: IF you have time, could you give me some guidance on how to build the tarballs for visualvm?  I'd like to push the new upstream to lucid.21:31
nthykierdoko_: My helpers are geared towards buildless features21:31
nthykierdoko_: Not sure they are useful if upstream ships their own build21:32
doko_persia: hahaha ... bulding the tarballs is the problem21:32
doko_nthykier: I thought you did include the build bits from fedora?21:33
persiaI see :)  Do you happen to know where one might find the extra bit?  http://icedtea.classpath.org/visualvm/ seems stuck at 6.521:33
nthykierdoko_: I do - my helpers wraps those21:33
nthykierThe Fedora helper is in /usr/lib/eclipse/buildscripts/pde-build21:34
doko_persia: yes, look at the 500gb netbeans 6.8 checkout. it's on my radar, no need to do the work twice21:34
persiaOh, if you7re doing it, I'll skip it.  Juli appears to have already uploaded NB6.8, so that's in place.21:35
persiaThanks :)21:35
ksemeksis stack in C the same stack of java?21:42
nthykierksemeks: The datatype ? They bear similarities - the call/value stack? No21:44
ksemeksi meant the call/value one.. al right.. ty21:45
nthykierksemeks: You cannot access the call/value stack in java21:45
ksemeksok. and the constructor 'lives' in the stack too? or?21:47
persiaksemeks: You may want to ask some of these questions in ##java : we tend to focus on packaging stuff in this channel.21:48
ksemeksoh, ok. :)21:48

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!