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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 5 08:59:28 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):

 The installation order makes the difference:
 {{{
 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
 }}}
 jdk7 must be there ''first'',
 otherwise junit4 draws the default jre/jdk 6 again.

 I do use the virtual box you suggested. In order to save time I updated it
 and installed java7 and now use this local vbox-image for new vagrant
 machines.
 So, only the updates are polled every time I setup a new machine.
 Other than that it is fixed, which might resemble the production
 environment even closer?

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


More information about the tor-bugs mailing list