#jython IRC Log (v0.9)

Index

IRC Log for 2015-05-02

Timestamps are in GMT/BST.

[0:04] * trigoman (~trigoman@75-161-67-24.albq.qwest.net) has joined #jython
[1:27] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[2:22] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Read error: Connection timed out)
[2:24] * srcerer (~chatzilla@dns2.klsairexpress.com) has joined #jython
[3:42] * lopex (uid4272@gateway/web/irccloud.com/x-rtxflkzusfsgwokb) Quit (Quit: Connection closed for inactivity)
[4:20] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Remote host closed the connection)
[4:38] * eatkin (~eatkin@166.70.212.121) Quit (Ping timeout: 272 seconds)
[4:38] * eatkin (~eatkin@166.70.212.121) has joined #jython
[5:17] * trigoman (~trigoman@75-161-67-24.albq.qwest.net) Quit (Quit: Leaving)
[12:42] * lopex (uid4272@gateway/web/irccloud.com/x-jepzwvdbchiceexm) has joined #jython
[13:14] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[13:48] * clajo04 (~clajo04@pool-108-54-80-65.nycmny.fios.verizon.net) has joined #jython
[14:44] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[16:30] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 252 seconds)
[16:40] * lordneon (4d63e742@gateway/web/freenode/ip.77.99.231.66) has joined #jython
[16:42] <lordneon> Hello, I've just installed jython, I am attempting to import a library from the java sdk but I am getting an import error, is there some sort of path I need to set so jython can find the library? or is there somewhere I can put the library so its picked up automatically?
[16:42] <agronholm> lordneon: did you put it on the class path?
[16:42] <agronholm> oh
[16:42] <agronholm> java sdk?
[16:43] <agronholm> so a standard library class?
[16:43] <agronholm> show me the code and the error please
[16:44] <lordneon> sorry jdk* so path is: "C:\Program Files\Java\jdk1.8.0_45\lib" and the library I am after is tools.jar "ImportError: No module named tools" when doing from com.sun import tools
[16:45] <lordneon> I installed the jdk after I installed python, but I have no idea if it does any auto detection during installation.
[16:45] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[16:47] <lordneon> http://paste2.org/XPBwmpdc (heres the actual copy paste)
[16:49] <lordneon> but as I have never used jython before I am guessing I am doing something stupid...
[16:53] <agronholm> lordneon: have you used java before?
[16:53] <agronholm> putting a library on the class path doesn't add the jars inside
[16:53] <agronholm> err
[16:53] <agronholm> *putting a directory
[16:54] <lordneon> Ah and no not really, only ever basic stuff.
[16:55] <agronholm> so yeah, put tools.jar on the class path and try again
[16:55] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[16:56] <lordneon> yep works perfectly :) knew it was a noob question, thank you very much.
[16:56] <agronholm> np
[16:57] <agronholm> just a hint, don't use the com.sun.* stuff if you can avoid it
[16:57] <agronholm> I remember reading that sun/oracle recommends against using it
[17:00] <lordneon> As in use something higher level?
[17:00] <agronholm> yeah
[17:00] <agronholm> may I ask what you're doing with tools.jar?
[17:02] <lordneon> essentially playing around with https://docs.oracle.com/javase/7/docs/jdk/api/attach/spec/index.html
[17:03] <lordneon> wrong jdk link but some thing...
[18:08] * qba73 (~qba73@31-187-63-37.dynamic.upc.ie) has joined #jython
[18:50] * lordneon (4d63e742@gateway/web/freenode/ip.77.99.231.66) Quit (Quit: Page closed)
[19:52] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[19:55] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Client Quit)
[19:55] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[20:03] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[20:03] * robbyoconnor (~wakawaka@207.41.179.38) has joined #jython
[20:03] * robbyoconnor (~wakawaka@207.41.179.38) Quit (Changing host)
[20:03] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[21:17] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[21:17] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[21:25] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 250 seconds)
[21:32] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[22:01] * qba73 (~qba73@31-187-63-37.dynamic.upc.ie) Quit (Ping timeout: 246 seconds)
[23:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[23:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[23:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[23:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[23:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[23:16] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython

Index

These logs were automatically created by JythonLogBot_ on irc.freenode.net using a slightly modified version of the Java IRC LogBot (github).