tag:blogger.com,1999:blog-7140511265745270164.post3679520100352875674..comments2023-09-27T01:44:40.207-07:00Comments on Kate Tsoukalas: JRuby & Java CommunicationKatehttp://www.blogger.com/profile/12013607810852509475noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7140511265745270164.post-86828934367712162542009-01-03T11:33:00.000-08:002009-01-03T11:33:00.000-08:00I must be doing something wrong - I tried setting ...I must be doing something wrong - I tried setting the CLASSPATH environment variable but it didn't work. <BR/><BR/>I tryed using -J and that didn't work either. -J-cp=""? It didn't recognize it. Maybe I have the part that follows -J wrong?<BR/><BR/>Thanks so much for your help!Katehttps://www.blogger.com/profile/12013607810852509475noreply@blogger.comtag:blogger.com,1999:blog-7140511265745270164.post-38218750515903514742009-01-03T11:23:00.000-08:002009-01-03T11:23:00.000-08:00If you set the CLASSPATH environment variable befo...If you set the CLASSPATH environment variable before launching JRuby, JRuby will honor it, adding its own classes/jars to those that are already in the classpath. That's probably the easiest way to avoid hard-coding paths in your script.<BR/><BR/>You can also use the "-J" argument prefix to pass arguments to the JVM.Unknownhttps://www.blogger.com/profile/09683565159634707760noreply@blogger.com