kengu / update-oracle-jvm Goto Github PK
View Code? Open in Web Editor NEWScript for managing Oracle JVMs on Linux platforms
Script for managing Oracle JVMs on Linux platforms
FROM -l --link TO -l --latest
FROM -d --jdk TO -k --jdk
FROM -u --update TO -d --default
Command: import - parse update-java-alternatives -l
and forward all names to command add with switch --force.
On ubuntu, these folders are
Firefox: /usr/lib/mozilla/plugins
Chrome: /opt/google/chrome/plugins
Support for other linux distros like debian, gento should also be added (add DISTRIB_ID, browser and plugin path as comments to this issue)
For more information about enabling browser java-plugin on linux:
http://www.java.com/en/download/help/enable_browser_ubuntu.xml
http://www.java.com/en/download/help/linux_install.xml
and remove option: "-j | --jvm" from command: "install"
install: same as today
remove: undo previous install of JVM (based in *.jinfo)
display: show information about given JVM
help : show help about given command
It is possible to distinguish between jre/jdk version with the test -d "/path/to/jvm/jre"
. If it is true, it is a JDK, otherwise JRE.
The script currently only works with x86_64 architecture (all links assume /lib/amd64/*).
Add support for automatically detection of JVM architecture. Use this to insert correct paths in *jinfo files.
When installing JVM as latest JVM, jinfo file is not updated.
The script currently adds two default alternatives for java-plugin (libnpjp2.so):
plugin mozilla-javaplugin.so $R/$N/lib//libnpjp2.so
plugin xulrunner-1.9-javaplugin.so $R/$JVM/lib//libnpjp2.so
where $R is JVM root folder and $N is JVM name. In addition, the following links also occurs in posts on internet
plugin javaplugin.so $R/$N/lib/amd64/libnpjp2.so
plugin firefox-javaplugin.so $R/$N//lib/amd64/libnpjp2.so
plugin iceape-javaplugin.so $R/$N//lib/amd64/libnpjp2.so
plugin iceweasel-javaplugin.so $R/$N//lib/amd64/libnpjp2.so
plugin midbrowser-javaplugin.so $R/$N//lib/amd64/libnpjp2.so
plugin xulrunner-javaplugin.so $R/$N//lib/amd64/libnpjp2.so
These should should be added to all templates.
This script supports the following OS kernels
Add kernel support checks to install script.
Only JVMs in the same root directory as already managed JVMs should be supported. Command name: add.
This script requires
Add automatic checks to install script.
Use
> cd /path/to/named/jvm/bin/
> java -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\2/; 1q'
to detect major version of named JVM (4|5|6|7).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.