Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Arduino (java program) does not run [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Yczo
Apprentice
Apprentice


Joined: 09 Jul 2011
Posts: 208

PostPosted: Mon Jan 09, 2012 4:04 pm    Post subject: Arduino (java program) does not run [Solved] Reply with quote

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
View user's profile Send private message
Yczo
Apprentice
Apprentice


Joined: 09 Jul 2011
Posts: 208

PostPosted: Mon Jan 09, 2012 6:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
finarfin
n00b
n00b


Joined: 20 Sep 2011
Posts: 62

PostPosted: Tue Apr 03, 2012 9:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Tue Apr 03, 2012 9:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
finarfin
n00b
n00b


Joined: 20 Sep 2011
Posts: 62

PostPosted: Wed Apr 04, 2012 7:25 am    Post subject: Reply with quote

mmm,
strange today i clicked the link and it worked.

Probably was my fault :D

Thanks,
ivan
_________________
printf("hello world")
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum