Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13414
| Path | csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Steven Simpson <ss@domain.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: java runtime |
| Date | Thu, 05 Apr 2012 14:07:42 +0100 |
| Organization | Aioe.org NNTP Server |
| Lines | 37 |
| Message-ID | <u1i059-sss.ln1@s.simpson148.btinternet.com> (permalink) |
| References | <d69b7455-2056-4cde-977f-556a45e53c92@f37g2000yqc.googlegroups.com> |
| NNTP-Posting-Host | Ha4tFBGJ050IW4mo4A//kQ.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com comp.lang.java.programmer:13414 |
Show key headers only | View raw
On 05/04/12 12:43, TK wrote: > Hab unter UBuntu openjdj1.7 und 1.6 installiert. Wenn ich ein Programm > starte dann läuft es immer mit 1.6 (auf der Konsole). ES soll aber > mit 1.7 laufen. Wie mache ich das? Google translation: > 'm On Ubuntu openjdj1.7 and 1.6 installed. If I have a program > then start it always runs at 1.6 (on the console). However, it should > run with 1.7. How do I do that? I've had the same problem - javac is bound to 1.7, while java is bound to 1.6. I tried removing the 1.6 packages, but 1.7 depends on them, and that got me into a terrible mess. IIRC, this worked for me: sudo update-alternatives --config java ...and then choosing the 1.7 version. I found I had to do this for all the commands in java-7-openjdk-*/bin that are symlinks: * java * keytool * orbd * pack200 * policytool * rmid * rmiregistry * servertool * tnameserv * unpack200 Hmm, can't seem to find a javaws for 1.7. -- ss at comp dot lancs dot ac dot uk
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
java runtime TK <tokauf@googlemail.com> - 2012-04-05 04:43 -0700
Re: java runtime Steven Simpson <ss@domain.invalid> - 2012-04-05 14:07 +0100
Re: java runtime Volker Mueller <vm.arag@flinux.de> - 2012-04-05 17:13 +0200
Re: java runtime Roedy Green <see_website@mindprod.com.invalid> - 2012-04-05 17:57 -0700
Re: java runtime Roedy Green <see_website@mindprod.com.invalid> - 2012-04-05 19:43 -0700
csiph-web