you can make the pi store install openjdk-7-jre and then instruct to start the jar with java -jamvm -jar PiCon.jar for easy deployment and good performance using the openjdk version.avatar1337 wrote:Ah, I didn't know that about NOOBS, I havn't tried it. I will write a more Raspberry Pi optimized PiCon later when this is bug tested and put it up on Pi Store. Btw, you need Java 7 to run this.
Good work, all seems to be working!avatar1337 wrote:I will try that. Thank you!
Edit: I tried openjdk 7 and I can say: wow it is slow, really slow. I recommend the embedded java version
http://www.oracle.com/technetwork/artic ... 04896.html
This one is really fast. Perhaps 4 times as fast. =) Although I still don't recommend running it on Pi just yet.
This is PiCon running on RPi with JDK™ 8 Early Access Release 8 Build b102
https://dl.dropboxusercontent.com/u/496 ... enshot.png
It is much much faster. =)
There is serve license issues, you can not bundle the jdk8 ea binary release with your application:avatar1337 wrote:It seems like I am using the hotspot java virtual machine on RPi which is much faster at this. https://jdk8.java.net/download.html
It might be possible to do something about it though. It seems to be based on OpenJDK https://wiki.openjdk.java.net/display/O ... spberry+Pi
what do you think? Can I bundle this with my application or is there some license issues?
Close...Torched_ wrote:The commandline version would be SUDO NANO /BOOT/CONFIG.TXT, right?
Code: Select all
sudo nano /boot/config.txt
Hi, did you mean you wanted me to write a command line version of the program (1) or did you want to know how to edit the file in the terminal (2)?tonyhughes wrote:Very cool. What about a commandline version?
Unfortunately I haven't found a way to fix that quite yet. It seems to be embedded and out of my control.Torched_ wrote:This looks amazing! I'll do some testing on my Pi when I get up. I'm sure it's gonna be useful for a lot of people new to the Pi.
On my Windows 7 laptop running Oracle's Java 7 it works perfectly fine. I played around with the settings and sliders and thingies and it all seemed to work perfectly. I do have something to note, however.
The popup thingies that appear when you mouse over an option only appear for 4 seconds, I suggest you change this to as long as the mouse is on that item. In certain cases you'd have to read very fast to read all the text in that time. And yes, I know you can just mouse over again, but it's a bit more friendly in my opinion.
Apart from that it's an amazing application and I'm sure it's gonna be used by a lot.
Maybe it even deserves a spot on the frontpage when it's out of beta :3
I meant creating this tool as a command line app. It would be equally useful for people who don't have the ability or confidence to edit the file themselves...avatar1337 wrote:Hi, did you mean you wanted me to write a command line version of the program (1) or did you want to know how to edit the file in the terminal (2)?tonyhughes wrote:Very cool. What about a commandline version?
(1) I don't see a need to write a command line tool because it wouldn't be much different than editing the file manually. One could make profiles and so on, but I really don't see the need. The point was to make an easy yet powerful tool which guides you through the settings. I will however make a more suitable application to be run on raspberry pi itself. It can be kind of heavy to run on rpi.
(2) You can edit the config.txt file however you want. You can edit it in Windows or in Linux. In Raspberry Pi, as prior posts demonstrated you can type sudo nano /boot/config.txt or sudo vi /boot/config.txt if you like to use the vi editor instead. It just means open config.txt in nano or vi and edit it.
P.S A tip to y'all =) :
Don't forget to create presets. If you have many SD cards or different monitors, TV's etc you can create presets to easily switch between them. The presets are saved in the /boot/presets folder.
Users browsing this forum: jackandjill and 5 guests