From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: ditaa set-up on windows box Date: Wed, 29 Sep 2010 20:17:00 +0200 Message-ID: <8739ssct43.fsf@Rainer.invalid> References: <0vhbher9pp.fsf@gmail.com> <87r5gi6i8m.fsf@gmx.de> <0vr5gfceil.fsf@gmail.com> <87eicfdscx.fsf@gmx.de> <0vmxr3cd0b.fsf@gmail.com> <87y6alvm4g.fsf@Rainer.invalid> <0vvd5ofoju.fsf@gmail.com> <877hi4cufq.fsf@Rainer.invalid> <0vr5gcfmyi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=38896 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P11DU-0000FS-6z for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 14:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P11DS-0003zs-Tw for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 14:17:20 -0400 Received: from lo.gmane.org ([80.91.229.12]:49172) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P11DS-0003zd-MS for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 14:17:18 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P11DQ-0007t3-JR for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 20:17:16 +0200 Received: from p57aadd88.dip.t-dialin.net ([87.170.221.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 20:17:16 +0200 Received: from Stromeko by p57aadd88.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 20:17:16 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Markus Heller writes: > I removed the old Java version from %PATH%, and now java -version gives > the correct version (1.6.0_21). Good. > But when I try to run the same ditaa code from within org-mode using > babel, I get error messages: Sure, you've only changed the %PATH% in the cmd window, all other processes still see the old value. You need to remove it from the %PATH% on system level, then it should also work from Emacs. If you customize exec-path in Emacs you might be able to remove the wrong path there (if you try, just save it "for this session only"), but you should really remove the old JRE completely if only for security reasons. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html