| View previous topic :: View next topic |
| Author |
Message |
Yczo Tux's lil' helper


Joined: 09 Jul 2011 Posts: 94
|
Posted: Mon Jan 09, 2012 4:04 pm Post subject: Arduino (java program) does not run [Solved] |
|
|
Hello everybody. I emerged the next program: arduino, but ican't run it.
I ran #arduino from a terminal
and i obtained
Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
./arduino: línea 20: 11596 `trap' para punto de parada/seguimiento java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base
for fix (fix that brings me to another error) i installed the java oficial virtual machine "oracle-jre-bin-1.7", and next i did
#eselect java-vm list
Available Java Virtual Machines:
[1] icedtea6-bin system-vm user-vm
[2] oracle-jre-bin-1.7
#eselect java-vm set user 2
and run again
#arduino
And after this nothing happen, except that the console left blocked, hanging, and the program, don't start... and i don't know what to do yet xddd, and i can't program arduino from linux xdd
--- i dont know if it is realted, but on my make.conf, i have USE="-gnome -gtk kde qt4 -qt3" ---
Please, Can anyone help me? Any help will be grateful.
Salutes
Last edited by Yczo on Mon Jan 09, 2012 6:27 pm; edited 2 times in total |
|
| Back to top |
|
 |
Yczo Tux's lil' helper


Joined: 09 Jul 2011 Posts: 94
|
Posted: Mon Jan 09, 2012 6:23 pm Post subject: |
|
|
Solutioned.
Incompatibility with oracle-jre-bin-1.7
Solved installing sun-jre-bin-1.6
and
#eselect java-vm list
Available Java Virtual Machines:
[1] icedtea6-bin system-vm
[2] oracle-jre-bin-1.7 user-vm
[3] sun-jre-bin-1.6
#eselect java-vm set user 3 (for my case)
Salutes! |
|
| Back to top |
|
 |
finarfin n00b

Joined: 20 Sep 2011 Posts: 57
|
Posted: Tue Apr 03, 2012 9:20 pm Post subject: |
|
|
I have the same problem, but when i try to emerge sun-jre-bin i have the following error:
| Quote: | * '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.31/temp/build.log'
* Package: dev-java/sun-jre-bin-1.6.0.31
* Repository: gentoo
* Maintainer: java@gentoo.org
* USE: X alsa amd64 elibc_glibc kernel_linux multilib userland_GNU
* FEATURES: sandbox
* Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again.
* Alternatives are switching to dev-java/icedtea-bin or the source-based dev-java/icedtea:6
*
* Please download jre-6u31-linux-x64.bin from:
* http://www.oracle.com/technetwork/java/javase/downloads/jre-6u31-download-1501637.html
* and move it to /usr/portage/distfiles
* Messages for package dev-java/sun-jre-bin-1.6.0.31:
|
I tried to download jre from the url above without success.
Any idea? _________________ printf("hello world") |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
Posted: Tue Apr 03, 2012 9:23 pm Post subject: |
|
|
| finarfin wrote: |
I tried to download jre from the url above without success.
Any idea? |
Have you accepted the license? I have no problems downloading. _________________ BTW, TWM FTW! |
|
| Back to top |
|
 |
finarfin n00b

Joined: 20 Sep 2011 Posts: 57
|
Posted: Wed Apr 04, 2012 7:25 am Post subject: |
|
|
mmm,
strange today i clicked the link and it worked.
Probably was my fault
Thanks,
ivan _________________ printf("hello world") |
|
| Back to top |
|
 |
|