Package Details: energia 1.8.10E23-1

Git Clone URL: https://aur.archlinux.org/energia.git (read-only, click to copy)
Package Base: energia
Description: Energia is a Arduino IDE clone for use with the MSP430 launchpad
Upstream URL: http://energia.nu/
Licenses: GPL
Provides: energia
Submitter: will.price94
Maintainer: mpento
Last Packager: mpento
Votes: 23
Popularity: 0.000000
First Submitted: 2013-01-07 23:18 (UTC)
Last Updated: 2020-03-08 13:47 (UTC)

Dependencies (4)

Required by (1)

Sources (3)

Pinned Comments

mpento commented on 2018-01-21 14:49 (UTC) (edited on 2018-01-21 14:50 (UTC) by mpento)

GTKLookAndFeel Issue

In reference to the following error:

java.lang.Error: Cannot load com.sun.java.swing.plaf.gtk.GTKLookAndFeel
    at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1351)
    at javax.swing.UIManager.initialize(UIManager.java:1459)
    at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
    at javax.swing.UIManager.getLookAndFeel(UIManager.java:492)
    at processing.app.linux.GTKLookAndFeelFixer.installGtkPopupBugWorkaround(GTKLookAndFeelFixer.java:79)
    at processing.app.linux.Platform.setLookAndFeel(Platform.java:40)
    at processing.app.Base.guardedMain(Base.java:214)
    at processing.app.Base.main(Base.java:136)

After some research, this appears to be a problem in energia itself that was fixed in the arduino ide, which energia is derived from. For reasons unknown to me, that fix has not been propagated. The energia issue for this is still open and not assigned on github (https://github.com/energia/Energia/issues/980).

To work around this problem, as root, edit the 'energia' script located in /opt/energia/, change line 28 from this:

JAVA_OPTIONS=("-DAPP_DIR=$APPDIR" "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel")

To this:

JAVA_OPTIONS=("-DAPP_DIR=$APPDIR")

Once a fix is available, I will incorporate it here.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

wiltonsr commented on 2017-08-16 22:10 (UTC)

The program doesn't open for me. I get this erro when try open it in terminal: $ energia Picked up JAVA_TOOL_OPTIONS: java.lang.Error: Cannot load com.sun.java.swing.plaf.gtk.GTKLookAndFeel at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1351) at javax.swing.UIManager.initialize(UIManager.java:1459) at javax.swing.UIManager.maybeInitialize(UIManager.java:1426) at javax.swing.UIManager.getLookAndFeel(UIManager.java:492) at processing.app.linux.GTKLookAndFeelFixer.installGtkPopupBugWorkaround(GTKLookAndFeelFixer.java:79) at processing.app.linux.Platform.setLookAndFeel(Platform.java:40) at processing.app.Base.guardedMain(Base.java:214) at processing.app.Base.main(Base.java:136) What I need to do? Thanks

<deleted-account> commented on 2017-03-19 13:24 (UTC)

When installing I get the following warning: xdg-icon-resource: file '/usr/share/pixmaps/energia_16.png' does not exist But no incidence on running the software. The .desktop file has the correct icon once installed.

baronleonardo commented on 2016-01-29 19:25 (UTC) (edited on 2016-01-29 19:38 (UTC) by baronleonardo)

you need to change line number 50 from ln -sf /usr/lib/librxtxSerial.so "$pkgdir/opt/energia/lib/librxtxSerial32.so" to ln -sf /usr/lib/librxtxSerial.so "$pkgdir/opt/energia/lib/librxtxSerial.so"

will.price94 commented on 2015-08-10 07:06 (UTC)

Thanks @potatoe, few issues with the new build so I'll try and work them out and get them pushed by the end of today.

potatoe commented on 2015-08-10 00:26 (UTC)

Looks like Energia 16 has come out

will.price94 commented on 2015-04-03 10:10 (UTC)

Thanks for the heads up. New package up now! Only tested on x64 though (as per usual).

uberben commented on 2015-03-27 23:32 (UTC)

Energia 15 has been released: http://energia.nu/download/

unlimitedbacon commented on 2014-09-05 00:33 (UTC)

error: failed to commit transaction (conflicting files) energia: /etc/tmpfiles.d/legacy.conf exists in filesystem pacman -Qo says no package owns this file, but the file itself claims it is part of systemd. Why is Energia trying to overwrite this file?

kyak commented on 2014-08-04 09:59 (UTC)

THanks!

will.price94 commented on 2014-08-04 09:32 (UTC)

Done.