[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to make sure a jar file is opened with correct java version?



hi,

I have packaged gnukhata (http://people.debian.org/~praveen/gnukhata)
and it is built with java 7 and it depends on java7-runtime. When you
install gnukhata, java7 is installed but on system which has a java 6
version already installed, the default java is java 6 and it fails to
start. We have to manually switch default java to java 7. How do I
handle this?

For example in python or ruby I can specify interpreter versions in
shebang line.

Thanks
Praveen

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: