[CCC DEV] JNI - Native Calls to WinSparkle.dll

Dave Gilmore gilmorenator at gmail.com
Tue Jul 13 11:49:48 BST 2010


On 9 July 2010 14:37, Matt Jadud <matt at jadud.com> wrote:
> Aye. And, like Christian said, feel free to commit your stuffs
> somewhere into the Windows build directory if you want us to look at
> it. However, it might be simpler to... try and make it as simple as
> possible. That would imply a very simple Ant script, very small Java
> program, and to see if you can get the paths for JINI right.

Hi Guys,

So I've stripped everything right back to the bare bones and made it
as simple as possible,

I have followed the folder and package conventions as outlined earlier
in this thread and as used by Christian,

I now have something that builds using the very simple ant build
script - so a step in the right direction,

You can grab the source code from [1]

I still have a (different) JNI issue though :-(

When I run the javah -jni -classpath from the command prompt I get the
message "No classes were specified on the command line. Try -help"

I googled the problem and found i needed to use the fully qualified
class name which I did
i.e. org.transterpreter.jeditsparkleplugin.JEditSparklePlugin but that
also returns the same message.

If i attempt to run the command without the -classpath option I get a
similar error:
"javadoc: error - Class org.transterpreter. etc etc not found....No
classes were specified on the command line"

I've checked and they are there - I can see them and my eyes work perfectly,

I'm not sure what's going on here - could be my inexperience or I've
missed something mega obvious!

Anyway I would like to get it resolved asap as once it is everything
should work just nicely,

Please let me know where I've went wrong or what I need to do to
resolve the issue,

Cheers,

Dave

[1]http://projects.cs.kent.ac.uk/projects/kroc/trac/browser/kroc/trunk/tools/winupdater




More information about the developers mailing list