LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-12-2004, 10:35 AM   #1
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
JNI / jawt


Hi, I 've recently upgraded to Java 1.5 RC (build 63) and I can't get my test C++ program which uses JNI to open a JFrame and use OpenGL to draw to it to work neither on Windows or Linux. On both platforms, the window opens, but there is no rotating triangle. On Linux, when I try to do anything to the window, it locks up with the message Xlib async error (which also happened alot with java 1.4.2 depending on what window manager was used). Any ideas on what the problem is (I think this is a bug java)? You can get a copy of the program at

www.tjhsst.edu/~yzhang1/jni_example.zip


Thanks for any help
Yale
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
print problem with Java and C JNI trutnev Programming 0 06-20-2005 11:28 AM
Regarding interfacing of C with JAVA thru JNI nedian123 Programming 3 07-28-2004 02:39 PM
how to get the *.dll or *.so by applying JNI under the java, c++ and fortran stiphon Programming 3 06-04-2004 05:32 AM
UnsatisfiedLinkError on JNI access to Shared Library Kavinjka Linux - Software 1 08-25-2003 06:08 AM
core dump while executing a c function from java using JNI kaustubh Linux - Newbie 0 05-25-2002 02:11 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration