How to check ranges of java versions in javascript? -


i stuck: how check if user has specified java requirement? need find ranges (for instance java versions between 1.5.0_10 , 1.6.0_10). using javadeploy.js oracle , using versioncheck method can't figure need pass inside versioncheck method ranges such example provided.

try this:

var lower = deployjava.versioncheck("1.5.0_10+"),     higher = deployjava.versioncheck("1.6.0_10+") if (lower && !higher) {     // between 1.5.0_10 && 1.6.0_10 } 

reference:


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -