shouso / gmote

Automatically exported from code.google.com/p/gmote
0 stars 0 forks source link

com.sun.jna.Native.pointerSize() #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Ubuntu 10.10 64x
2. Try to start Gmote Server
3. It open, but got the message with this: com.sun.jna.Native.pointerSize()

Please provide any additional information below.

I use dual-boot and tested on Windows7, worked perfectly. But in Ubuntu 10.10 
64x it show and "connection error" when trying to make anything and I realized 
that when I open the gmote server, it show that message: 
com.sun.jna.Native.pointerSize()

I don't have sure, but maybe is some kind of problem with java?

Original issue reported on code.google.com by dennisal...@gmail.com on 8 Apr 2011 at 11:59

GoogleCodeExporter commented 9 years ago
I have exactly the same error on Ubuntu 10.10 x64.

The log is as follows:

16-Apr-2011 22:46:23 org.gmote.server.GmoteServerUi sharedMain
WARNING: Gmote Version: 2.0.0
16-Apr-2011 22:46:23 org.gmote.server.GmoteServerUi sharedMain
WARNING: OperatingSystem: Linux
16-Apr-2011 22:46:24 org.gmote.server.GmoteServerUi sharedMain
SEVERE: com.sun.jna.Native.pointerSize()I
java.lang.UnsatisfiedLinkError: com.sun.jna.Native.pointerSize()I
    at com.sun.jna.Native.pointerSize(Native Method)
    at com.sun.jna.Native.<clinit>(Native.java:93)
    at org.videolan.jvlc.internal.LibVlc.<clinit>(LibVlc.java:41)
    at org.videolan.jvlc.JVLC.<init>(JVLC.java:45)
    at org.gmote.server.media.vlc.VlcMediaPlayer.initialise(VlcMediaPlayer.java:70)
    at org.gmote.server.media.MediaPlayerManager.createNewMediaPlayerInstance(MediaPlayerManager.java:102)
    at org.gmote.server.media.MediaPlayerManager.getMediaPlayerInstance(MediaPlayerManager.java:91)
    at org.gmote.server.media.MediaPlayerManager.getMediaPlayer(MediaPlayerManager.java:58)
    at org.gmote.server.media.MediaPlayerManager.initialize(MediaPlayerManager.java:47)
    at org.gmote.server.GmoteServer.startServer(GmoteServer.java:94)
    at org.gmote.server.GmoteServerUi.sharedMain(GmoteServerUi.java:334)
    at org.gmote.server.GmoteServerUiLinux.main(GmoteServerUiLinux.java:36)

Any ideas?

Original comment by TheBe...@gmail.com on 16 Apr 2011 at 9:52

GoogleCodeExporter commented 9 years ago
I had to install Sun Java and made it as the primary java program, here is some 
more information about it:
http://ubuntuforums.org/showthread.php?t=1604740

It works for me

Original comment by dennisal...@gmail.com on 17 Apr 2011 at 1:07

GoogleCodeExporter commented 9 years ago
Same error for me

WARNING: Gmote Version: 2.0.0
Jan 15, 2012 10:31:02 PM org.gmote.server.GmoteServerUi sharedMain
WARNING: OperatingSystem: Linux
Jan 15, 2012 10:31:03 PM org.gmote.server.settings.SupportedFiletypeSettings 
<init>
INFO: Initializing supported file types settings.
Jan 15, 2012 10:31:03 PM org.gmote.server.settings.SupportedFiletypeSettings 
<init>
INFO: Done initializing supported file types settings.
Jan 15, 2012 10:31:03 PM org.gmote.server.media.MediaPlayerManager 
createNewMediaPlayerInstance
INFO: Creating media player with name: org.gmote.server.media.vlc.VlcMediaPlayer
Jan 15, 2012 10:31:03 PM org.gmote.server.MulticastServerThread run
INFO: Listening for udp packets on 9901
Jan 15, 2012 10:31:03 PM org.gmote.server.GmoteServerUi sharedMain
SEVERE: com.sun.jna.Native.pointerSize()I
java.lang.UnsatisfiedLinkError: com.sun.jna.Native.pointerSize()I
    at com.sun.jna.Native.pointerSize(Native Method)
    at com.sun.jna.Native.<clinit>(Native.java:93)
    at org.videolan.jvlc.internal.LibVlc.<clinit>(LibVlc.java:41)
    at org.videolan.jvlc.JVLC.<init>(JVLC.java:45)
    at org.gmote.server.media.vlc.VlcMediaPlayer.initialise(VlcMediaPlayer.java:70)
    at org.gmote.server.media.MediaPlayerManager.createNewMediaPlayerInstance(MediaPlayerManager.java:102)
    at org.gmote.server.media.MediaPlayerManager.getMediaPlayerInstance(MediaPlayerManager.java:91)
    at org.gmote.server.media.MediaPlayerManager.getMediaPlayer(MediaPlayerManager.java:58)
    at org.gmote.server.media.MediaPlayerManager.initialize(MediaPlayerManager.java:47)
    at org.gmote.server.GmoteServer.startServer(GmoteServer.java:94)
    at org.gmote.server.GmoteServerUi.sharedMain(GmoteServerUi.java:334)
    at org.gmote.server.GmoteServerUiLinux.main(GmoteServerUiLinux.java:36)

Original comment by tm1...@gmail.com on 15 Jan 2012 at 5:07

GoogleCodeExporter commented 9 years ago
The problem is with Open Jeve SDK I think, you have to use the Sun Java.

Original comment by dennisal...@gmail.com on 15 Jan 2012 at 5:24

GoogleCodeExporter commented 9 years ago
Sun Java is no longer available from ubuntu repositories. Problem persists with 
both OpenJDK 6 and 7.

Original comment by rene.m...@gmail.com on 30 Aug 2012 at 8:37