3 ms·
How may I get this JVM you speak of? $ java -version openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~14.04
by paulddraper 10y ago
How may I get this JVM you speak of?
$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
$ java -Xmx999k
Error occurred during initialization of VM
Too small initial heap
- pjmlp 10y agoAhah,what about using an actual JVM for embedded hardware, instead of trolling? If you don't know better I can gladly provide you some links to embedded Java vendors.
- paulddraper 10y agoMy point was that Java uses a lot of memory and < 5MB for code cache was an unrealistic expectation. I welcome concrete counterexamples of why this expectation would be realistic.
- pjmlp 10y agoAonix PERC Ultra and Pico are into a few KB. Sorry documentation is no longer available since PTC bought Aonix http://www.ptc.com/developer-tools/perc http://www.ptc.com/developer-tools/perc JamaicaVM requires 1 MB https://www.aicas.com/cms/en/JamaicaVM https://www.aicas.com/cms/en/JamaicaVM MicroEJ can target Cortex-M processors with 128 KB flash and 32 KB RAM. http://www.microej.com/products/device-software-development/microej-os/ http://www.microej.com/products/device-software-development/... Oracle's offerings, Java ME Embedded reference implementation requires 128 KB RAM and 1 MB ROM http://www.oracle.com/technetwork/java/embedded/javame/index.html http://www.oracle.com/technetwork/java/embedded/javame/index... Java ME might not seem relevant in 2016, but it is running on the majority of Ricoh copiers https://www.ricoh.com/esa/features.html#01 https://www.ricoh.com/esa/features.html#01 And smart devices produced by Gemalto like Cinterion, EHS6 digital phone or smart meters. http://www.gemalto.com/m2m/development/innovation-technology/java http://www.gemalto.com/m2m/development/innovation-technology... http://www.gemalto.com/m2m/solutions/modules-terminals/industrial/ehs6 http://www.gemalto.com/m2m/solutions/modules-terminals/indus... Cisco phones, http://www.cisco.com/c/en/us/products/collateral/collaboration-endpoints/unified-ip-phone-7900-series/product_data_sheet09186a00800925a8.html http://www.cisco.com/c/en/us/products/collateral/collaborati... And many other embedded manufactures, that are jumping into IoT.