[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs