As the title mentions. This blog post refers to an issue it Netbeans where you are using Codename One, trying to implement some kind of google maps UI. However the simulator crashes when you run it! :( Hopefully if you come to this post this will save you many hours (I spent an entire day on this problem) Straight to the fix! Uninstalled Netbeans (Originally I had it in 'my documents') Uninstall all java. Everything! Reinstall Apache NetBeans 10.0 in Programs files - https://netbeans.apache.org/download/nb100/nb100.html (I think its better to have it running in a 'admin' environment) Reinstall Java -https://www.java.com/en/download/ Reinstall JDK Java SE Development Kit 8 - https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Once this is done. Proceed and install Codename one. Extra information about this 'fix' Basically I think the issue stems from a windows fault and NVidia Graphics. Prior to fixing the java result: "-1073741819" issue my netbeans console would output 'Retina Scale: 2.0' ( I think because I have a 4k screen) Now that my netbeans in running in Program files my UI is smaller and the console outputs 'Retina Scale: 1.0' The proof is in the puddin public void start() { if(current != null){ current.show(); return; } Form hi = new Form("Hi World", BoxLayout.y()); hi.add(new MapContainer(" ENTER YOUR JAVASCRIPT GOOGLE API KEY HERE ")); hi.show(); } This blog post was very rushed ( I've got lots to get back to.) If you need additional help feel free to give me a message!
0 Comments
To quickly run over what we'll be doing.
We will be using Amazon's S3 services to create a 'Bucket' in which we will store our .json files. 1 - Get the creds asdasd |