Package Details: energia 1.8.7E21-5

Git Clone URL: https://aur.archlinux.org/energia.git (read-only)
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: 24
Popularity: 0.011891
First Submitted: 2013-01-07 23:18
Last Updated: 2019-02-09 21:46

Pinned Comments

mpento commented on 2018-01-21 14:49

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 Next › Last »

MicroJoe commented on 2017-03-19 13:24

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

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

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

Looks like Energia 16 has come out

will.price94 commented on 2015-04-03 10:10

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

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

unlimitedbacon commented on 2014-09-05 00:33

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

THanks!

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

Done.

will.price94 commented on 2014-08-04 09:16

My apologies, fixing the URLs now. I'll upload after testing :)