[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    LuaJava LoadLib question
From:       eridanus () bellsouth ! net
Date:       2009-01-28 4:14:31
Message-ID: 012820090414.18647.497FDBA7000A796B000048D722230680329B0A02D2089B9A019C04040A0DBF9C9A020E0B079D0A () att ! net
[Download RAW message or body]

Hello Everyone,


I've been using LuaJava and I wanted to start writing some libraries of my =
own. However, I've been trying to run the loadLib example in the LuaJava co=
nsole but I always get the same error:


> luajava.loadLib("org.keplerproject.luajava.test.LoadLibExample", "open")
Error on line:=C2=A0luajava.loadLib("org.keplerproject.luajava.test.LoadLib=
Example",=C2=A0
"open")
java.lang.CalssNotFoundException:=C2=A0org.keplerproject.luajava.test.LoadL=
ibExample


I've tried to set the path to=C2=A0LoadLibExample.java in different ways bu=
t with the same result. Does anyone know how to call this function properly=
?


Thanks in advance!
[Attachment #3 (multipart/related)]

[Attachment #5 (text/html)]

<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY notheme -->
Hello Everyone,<div><br></div><div>I've been using LuaJava and I wanted to =
start writing some libraries of my own. However, I've been trying to run th=
e loadLib example in the LuaJava console but I always get the same error:</=
div><div><br></div><div>> luajava.loadLib("org.keplerproject.luajava.test.L=
oadLibExample", "open")</div><div>Error on line:=C2=A0luajava.loadLib("org.=
keplerproject.luajava.test.LoadLibExample",=C2=A0</div><div>"open")</div><d=
iv>java.lang.CalssNotFoundException:=C2=A0org.keplerproject.luajava.test.Lo=
adLibExample</div><div><br></div><div>I've tried to set the path to=C2=A0Lo=
adLibExample.java in different ways but with the same result. Does anyone k=
now how to call this function properly?</div><div><br></div><div>Thanks in =
advance!</div>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic