elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Recuerda que debes registrarte en el foro para poder participar (preguntar y responder)


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  Java
| | | |-+  ayuda a correr codigo en java
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: ayuda a correr codigo en java  (Leído 1,829 veces)
General Dmitry Vergadoski


Desconectado Desconectado

Mensajes: 881


General de División.


Ver Perfil
ayuda a correr codigo en java
« en: 4 Julio 2018, 14:11 pm »

hola amigos necesito correr un codigo pero me marca error a la hora de ejecutarlo en eclipse:

esta es la url del proyecto https://github.com/caprica/vlcj

este es el log del error:

Código:
The required native libraries are named "libvlc.dll" and "libvlccore.dll".

In the text below <libvlc-path> represents the name of the directory containing "libvlc.dll" and "libvlccore.dll"...

There are a number of different ways to specify where to find the native libraries:
 1. Include NativeLibrary.addSearchPath("libvlc", "<libvlc-path>"); at the start of your application code.
 2. Include System.setProperty("jna.library.path", "<libvlc-path>"); at the start of your application code.
 3. Specify -Djna.library.path=<libvlc-path> on the command-line when starting your application.
 4. Add <libvlc-path> to the system search path (and reboot).

If this still does not work, then it may be necessary to explicitly add the native library directory to the operating
system configuration - e.g. on Linux this might mean setting the LD_LIBRARY_PATH environment variable, or adding
configuration to the "/etc/ld.so.conf" file or the "/etc/ld.so.conf.d" directory. Of these options, setting
LD_LIBRARY_PATH is the only one that would not require root privileges.

Finally, it is not possible to mix CPU architectures - it is not possible for a 64-bit Java Virtual Machine to load
32-bit native libraries.

More information may be available in the log.

at uk.co.caprica.vlcj.binding.LibVlcFactory.create(LibVlcFactory.java:198)
at uk.co.caprica.vlcj.player.MediaPlayerFactory.<init>(MediaPlayerFactory.java:259)
at uk.co.caprica.vlcj.player.MediaPlayerFactory.<init>(MediaPlayerFactory.java:239)
at uk.co.caprica.vlcj.test.youtube.YouTubePlayer.<init>(YouTubePlayer.java:148)
at uk.co.caprica.vlcj.test.youtube.YouTubePlayer$1.run(YouTubePlayer.java:88)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

PD: tengo windows 10 64 bits con VLC player 64 bits


En línea

Primero mártir que arrodillado frente una dictadura.
ThunderCls


Desconectado Desconectado

Mensajes: 455


Coder | Reverser | Gamer


Ver Perfil WWW
Re: ayuda a correr codigo en java
« Respuesta #1 en: 6 Julio 2018, 16:20 pm »

Citar
Finally, it is not possible to mix CPU architectures - it is not possible for a 64-bit Java Virtual Machine to load 32-bit native libraries.

Deberías leer los mensajes de error, quizás estén ahí para dar información de dicho error   :silbar:
Saludos


En línea

-[ "…I can only show you the door. You're the one that has to walk through it." – Morpheus (The Matrix) ]-
http://reversec0de.wordpress.com
https://github.com/ThunderCls/
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
COrrer **.java desde linea de comandos
Java
mapers 5 4,774 Último mensaje 24 Octubre 2011, 11:00 am
por adastra
Correr codigo C++ (creado en linux) en windows
Programación C/C++
caladze 2 2,900 Último mensaje 17 Diciembre 2012, 08:31 am
por Foxy Rider
Ayuda con código Java
Java
alvarodecadiz9 1 1,763 Último mensaje 10 Septiembre 2016, 12:48 pm
por alvarodecadiz9
¿Cómo eliminar un elemento de un vector y correr los espacios en java?
Java
ShadowA7X 2 16,018 Último mensaje 25 Agosto 2016, 16:32 pm
por ShadowA7X
GitHub-Python-Correr y ver codigo fuente
Scripting
santiagoyepes 0 1,918 Último mensaje 2 Mayo 2019, 02:58 am
por santiagoyepes
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines