OzGrant 22 Posted January 20, 2015 Share Posted January 20, 2015 G'day Trying to update a customer of mine from E8 to E14 and get the Launch4J error message. Have deleted preferences.txt in ..\roaming\energia Still got error. Copied over preferences.txt from my PC , and after an edit regarding sketch dir , it failed. Turned off my WIFI in case Energia was getting trapped there. It still failed. Will try E13 and see if that makes any inroads. One suspect fact is that the customers PC has only 1G memory and cpu is an atom. But as E8 ran ok on think that eliminates the netbook. Quote Link to post Share on other sites
OzGrant 22 Posted January 20, 2015 Author Share Posted January 20, 2015 Plot thickens... E13 launched ok, and ran the sketch without errors. Will download E14 zip file again and see is that is the problem, even if the E14 download works ok on my main PC. Quote Link to post Share on other sites
OzGrant 22 Posted January 21, 2015 Author Share Posted January 21, 2015 Downloading a new E14 didn Quote Link to post Share on other sites
OzGrant 22 Posted January 21, 2015 Author Share Posted January 21, 2015 Got rid of the Launch4J error message, by moving all my libs from "My Documents/Energia/libraries" to ".. EnergiaE14/hardware/lm4f/libraries" This means I will also have to move 430 libs into ../msp430 and also have to stuff around when E15 is released. This solution is only a work-around and would like to find the root cause of the problem. I have no Launch4J error with my HP Envy, only on the netbook and feel that is where the actual problem is. Quote Link to post Share on other sites
spirilis 1,265 Posted January 21, 2015 Share Posted January 21, 2015 I am not familiar w/ launch4j. Is it possible the execution environment has the home dir set wrong? @@energia how does Energia determine which "My Documents" folder to look to find the Energia (local) folder? Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
OzGrant 22 Posted January 21, 2015 Author Share Posted January 21, 2015 @@spirilis Looks like menu File/Preferences 'sketch location' sets the path to 'My Documents' in preferences.txt it. But to find preferences,txt it defaults to ...roaming/Energia and if it does not find this file, then creates it. Quote Link to post Share on other sites
Eddie 2 Posted May 11, 2015 Share Posted May 11, 2015 Hi to all, I have the same problem on Windows 7 64 bit, E13 work weel, but when I download E14, and E15 when I started it only de error message apear (Launch4j An error occurred while starting the application). I try to delete libraries from "My Documents/Energia/libraries" and the aplication started, I tried to copy the lbraries one by one and I found when in library folder exist exaple file ( *.ino) the aplications does not start. In consecquence the solution is to delete/move all *.ino file from "My Documents/Energia/libraries" subdirectories. So worked for me. I hope I helped. OzGrant and bluehash 2 Quote Link to post Share on other sites
OzGrant 22 Posted May 19, 2015 Author Share Posted May 19, 2015 @@Eddie, Heaps of thanks for your solution, as it worked 100%. I also copied (before deleting all the example dir's), Energia\libraries into Energia\librariesXX so that I could still launch the example ino's' Grant Quote Link to post Share on other sites
OzGrant 22 Posted May 19, 2015 Author Share Posted May 19, 2015 @@Eddie, Thanks for your fix, after deleting all the Example Dirs. in library everything OK. Before deleting the Example Dir's, I also copied the libraries Dir into librariesXX so that I could still use those ino sketches Grant Quote Link to post Share on other sites
amirchaudhary 0 Posted August 15, 2015 Share Posted August 15, 2015 @@Eddie, This is a fix but does it have a permanent solution. I also get the same error (Launch4j An error occurred while starting the application). when i start energia14,15,16 but it starts fine with energia13. Anyone with any proper solution.!!!! Quote Link to post Share on other sites
amirchaudhary 0 Posted August 15, 2015 Share Posted August 15, 2015 Aaaaah!!!! Finally found a better solution rather than deleting the ino's from the folders. Trick: I have window 7 32bit Windows 7 Theme, Just change it to window classice theme and it will work fine. Atleast it is working fine for me. Enjoy Engineering!!!!! Quote Link to post Share on other sites
gerbs 1 Posted August 19, 2015 Share Posted August 19, 2015 Help!! - Getting the Launch4J error message too Running Windows 10 and cannot get Energia to run... no spaces on the folder name java updated disabled the signed driver feature disabled Bluetooth installed the DPinst64.exe as administrator Still nothing... I had this issue with release 14 on Windows 7 also.... I can run release 13 without any problems I'm on a DELL I5-3 Quad Core Laptop with enough RAM and HD space PLEASE HELP ME... I'm a teacher and need to be able to use Energia for my classes Thanks! Quote Link to post Share on other sites
Rei Vilo 695 Posted August 19, 2015 Share Posted August 19, 2015 With Energia 16 on Windows 8.1, the default C:\Users\myName\Documents\Energia works but C:\Users\myName\Documents\Projects\Energia fails. Even if the sketchbook folder if defined through the Preferences menu, a new launch of Energia fails. Is the sketchbook path limited in size? Quote Link to post Share on other sites
gerbs 1 Posted August 28, 2015 Share Posted August 28, 2015 I'm still getting the Launch4j error message. I'm running windows 10 and have tried all the suggestions listed above. Does anyone have energia 16 running on windows 10? Does a Launchpad meed to be connected to the USB port prior to launching Energia??? btw, I can run Energia ver 13 with no problem. I've read that this is a Java related issue. I have the the latest update of Java installed. Any suggestions??? Quote Link to post Share on other sites
gerbs 1 Posted August 28, 2015 Share Posted August 28, 2015 yeah!! success!! simple find the preferences.txt file in >>>> c:\Users\MyComputerName\AppData\Roaming\Energia\preferences.txt I renamed the Energia folder in this directory as OLDEnergia Then I relaunched Energia V16 from a shortcut I made to the desktop. No need to run as Admin. Once Energia 16 runs it makes a new preferneces.txt file in a new Energia Folder in the c:users\MyComputerName\AppData\Roaming directory That's all OzGrant 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.