Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1197206

Summary: Arduino dont start by java error
Product: [Fedora] Fedora Reporter: miguel rodriguez <bokerones.fritos>
Component: arduinoAssignee: Dennis Chen <barracks510>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: giallu, mavit, tchollingsworth, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-07 10:26:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description miguel rodriguez 2015-02-27 19:30:25 UTC
Description of problem:
No starts by java error 

Version-Release number of selected component (if applicable):


How reproducible:
If you click on App icon Gnome Shell desktop, no works. In terminal typying "arduino" no works.

Steps to Reproduce:
1.always 
2.
3.

Actual results:
App no opens.
Error: no se ha encontrado o cargado la clase principal '-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
ABRT problem creation: 'failure'

Expected results:
works fine

Additional info:

Comment 1 miguel rodriguez 2015-02-27 19:31:43 UTC
Java is 1.8 actual in F22 branched.

Comment 2 miguel rodriguez 2015-03-02 11:02:05 UTC
Sorry for not having risen more data. First, abrt not report the failure when it occurs, it may be because the program is not java and c ++ (not know). Arduino version that is currently in the repositories for Fedora rawhide 22, is the 1.0.5-8 fedora 21 fedora worked fine in 21. The version of java is the repository java-1.8.0-openjdk version 1.8. 0.40-19.b12. With this configuration does not work.
For now the only way that works is getting off from the Arduino page vesion 1.6 ide http://arduino.cc/en/Main/Software and getting off the Linux version 64.
Once downloaded, unzip it and put it in the home folder. Then I add a dash of gnome launcher to add a new file called arduino.desktop edited by me with the following content:
[Desktop Entry]
Encoding = UTF-8
Name = Arduino 1.6
Exec = / home / michael / arduino-1.6.0 / arduino
Icon = / home / michael / arduino-1.6.0 / lib / arduino_icon.ico
Type = Application
Categories = Electronics;

Works fine.

Comment 3 Fedora Admin XMLRPC Client 2015-11-19 21:00:12 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2015-11-24 19:59:59 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Update System 2015-12-25 21:23:28 UTC
arduino-1.6.4-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-f52087759e

Comment 6 Fedora Update System 2015-12-29 00:56:18 UTC
arduino-1.6.4-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-f52087759e

Comment 7 Fedora Update System 2015-12-31 08:15:22 UTC
arduino-1.6.4-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-f7e72969b8

Comment 8 Fedora Update System 2016-01-03 03:24:00 UTC
arduino-1.6.4-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-f7e72969b8

Comment 9 miguel rodriguez 2016-01-11 22:06:26 UTC
[miguel@localhost ~]$ arduino
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Error executing /usr/libexec/arduino-add-groups: Permission denied
Loading configuration...
Initializing packages...
java.io.FileNotFoundException: /usr/share/arduino/dist/package_index.json (No existe el fichero o el directorio)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at processing.app.helpers.FileUtils.copyFile(FileUtils.java:44)
	at processing.app.BaseNoGui.initPackages(BaseNoGui.java:578)
	at processing.app.Base.<init>(Base.java:266)
	at processing.app.Base.guardedMain(Base.java:210)
	at processing.app.Base.main(Base.java:123)

I dont know if the same error... Version is 1.6.4.3

Comment 10 Dennis Chen 2016-01-11 22:39:38 UTC
Hi Miguel, 

It is not the same error and is fixed in 1.6.4-4. See BZ#1296002