LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 08-06-2017, 10:53 AM   #1
marco.hahn
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu 14.04
Posts: 23

Rep: Reputation: 0
Java environment on Raspberry Pi


I have a Raspberry Pi 3 and have a Java application that I want to call from command line. All works fine, except that I have to wait about 15 seconds for the Java virtual machine to start up before my application is being executed. Is there a way to keep the JVM up and running all the time and let it know that it shall process my application from time to time?
 
Old 08-07-2017, 03:59 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052
hello, your post is missing some additional information (commands issued, distro and softweare versions etc), but i think i get the gist.

is this some sort of server?

why can't you just keep the application running? start it once (as a service maybe, or manually) and just keep it running?

i also use a java application on my server (libresonic) and it takes minutes to come up, but once it's running i don't need to exit it anymore (and it doesn't take too many resources).
 
  


Reply

Tags
background, java, jvm, raspberry


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 11:04 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 04:04 AM
Java runtime environment WayneS Linux - Software 2 09-07-2006 05:47 PM
Which Java Runtime Environment to use? r_jensen11 Linux - Software 4 09-13-2003 07:43 PM
environment variables with java lilrowdy18 Linux - Software 1 08-20-2003 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration