Hi everybody, it's my first post and i'm sorry that it's a question.
So..i'm a student, and i've to "play" with jvlc (to enjoy my teachers ;D)..
I've downloaded the win32 binaries from jvlc web site, and i've tried to execute some examples. But i've the following problem:
when i try to execute SwingClient.java i receive the following message:
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10012ebb, pid=3912, tid=3452
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C [jvlc.dll+0x12ebb]
i saw someone else post it on the forum, but noone answer :/!
There's something strange..yesterday it worked, in the first time, after few tries it didn't work anymore. Then i update my jre to 1.6.0, and it worked again! Today, it doesn't work anymore (again). I tried it in another computer and it works...:/
There something else strange: i have tried to execute another example, the following:
public class JVLCStreamingSrv {
public static void main(String[] args) {
JVLC jvlc = new JVLC();
}
}
i know, it's really stupid, and it works. If i execute the SwingClient.java reduced to the minimum (as following) it DOESN'T WORKS!!! I'm gonna crazy
class VLCPlayerFrame extends Frame {
public VLCPlayerFrame() {
initComponents();
}
private void initComponents() {
jvlc = new JVLC();
}
public JVLC jvlc;
}
public class SwingClient {
public static void main(String[] args) {
Frame f = new VLCPlayerFrame();
f.setBounds(0, 0, 500, 500);
f.addWindowListener( new WindowAdapter() {
public void windowClosing(WindowEvent ev) {
System.exit(0);
}
} );
f.setVisible(true);
}
}
I accept any idea (except format c: )
Thank you
Luca