6 messages in net.java.dev.jna.usersRe: [jna-users] How to use jna.jar
FromSent OnAttachments
Jeff SadowskiAug 1, 2007 11:59 am 
Timothy WallAug 1, 2007 12:50 pm 
Jeff SadowskiAug 1, 2007 1:39 pm 
Timothy WallAug 1, 2007 3:18 pm 
Jeff SadowskiAug 1, 2007 3:28 pm 
Jeff SadowskiAug 1, 2007 4:03 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] How to use jna.jarActions...
From:Timothy Wall (twal@dev.java.net)
Date:Aug 1, 2007 3:18:25 pm
List:net.java.dev.jna.users

On Aug 1, 2007, at 4:39 PM, Jeff Sadowski wrote:

Ok I can start with an even simpler example I still get all the errors trying to compile. I know my main problem at this time is trying to load the jna class. I don't understand using anything other than standard function calls in java. I've never used a class located in a jar file before.(I think the standard function calls are in jar files somewhere but thats besides the point)

You should consider doing a few basic Java tutorials.

javac -classpath .:jna.jar <sources> java -cp .:jna.jar -Djna.library.path=<path-to-libhello.so> <main- class-name>

And you need to name your library "libhello.so", not "hello.so".