<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Brian,<br>
I don't have a good answer. To fix this might require changing the
code in build-area/src/org/kepler/build.<br>
<br>
I'm not sure, but using ant's -lib argument might do the trick.
However, it seems unusual to need to specify the jre directory and
I'm not sure if -lib would help.<br>
See <a class="moz-txt-link-freetext" href="https://ant.apache.org/manual/running.html">https://ant.apache.org/manual/running.html</a><br>
<br>
It seems like it is a bit of a bug in the jvm if jre/lib/jfxrt.jar
is not being found. Maybe try some of the JavaFX and ant resources
on the net? Does a simple ant file outside of Kepler find the
contents of jfxrt.jar?<br>
<br>
Perhaps $JDK_HOME is not the JDK that is being used by ant? <br>
<br>
_Christopher<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/6/12 1:38 PM, Brian Schlining
wrote:<br>
</div>
<blockquote cite="mid:F4787A6ADCE44EA991C692A4EBEA1B50@mbari.org"
type="cite">
<div> Hi All, </div>
<div><br>
</div>
<div>I'm building working on a kepler module that includes code to
launch a JavaFX UI to handle some user interactions. I built the
UI outside of Kepler and dropped the jar into the usual
mymodule/lib/jar directory. However, when I try to launch Kepler
(using 'ant run' since I'm building a custom module), Kepler
can't find the JavaFX jar (located at
$JDK_HOME/jre/lib/jfxrt.jar). I can't copy jfxrt.jar into the
module as it seems to expect to be located relative to some
native libraries. The correct way to include it would just be to
leave the jar where it is and add it to kepler's classpath. </div>
<div><br>
</div>
<div>Can anyone tell me how to add something
like /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/jfxrt.jar
to kepler's classpath so it will be picked up when kepler is
launched via 'ant run'?</div>
<div><br>
</div>
<div>Thanks!!</div>
<div>
<div><br>
</div>
<div><span style="font-size: small; ">-- B<br>
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~<br>
Brian Schlining<br>
MBARI<br>
Software Engineer, Research and Development<br>
<a moz-do-not-send="true" href="mailto:brian@mbari.org"
style="color: rgb(0, 106, 227); ">brian@mbari.org</a><br>
(831) 775-1855<br>
<br>
<a moz-do-not-send="true"
href="http://www.mbari.org/staff/brian" style="color:
rgb(0, 106, 227); ">http://www.mbari.org/staff/brian</a></span></div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
</body>
</html>