[tor-bugs] #12881 [Onionoo]: Set Java version to 7

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 4 09:06:40 UTC 2014


#12881: Set Java version to 7
-----------------------------+-----------------
     Reporter:  iwakeh       |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------

Comment (by iwakeh):

 Using the apt-get install order above, starts tomcat using java6.
 After that java 7, becomes default; thus, you have to restart tomcat in
 order to fix things.

 I didn't verify the following (since I have a jdk7 virtual box for using
 vagrant).
 I would purge jdk6 first:
 {{{
 apt-get purge -y openjdk-6-jdk default-jre
 apt-get install -y openjdk-7-jdk ant \
     libcommons-codec-java libcommons-compress-java \
     libcommons-lang-java libgoogle-gson-java junit4  \
     libservlet3.0-java tomcat6
 }}}
 That should make jdk7 default even without the update alternatives line.
 Hope this works!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12881#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list