From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: ditaa set-up on windows box Date: Wed, 29 Sep 2010 13:15:05 -0700 Message-ID: <0veicc71di.fsf@gmail.com> 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> <8739ssct43.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=35034 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P133Y-00085Y-VB for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 16:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P133X-0006hz-HK for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 16:15:12 -0400 Received: from lo.gmane.org ([80.91.229.12]:35734) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P133X-0006fe-Br for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 16:15:11 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P133W-0005VH-Hm for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 22:15:10 +0200 Received: from mail.cdrd.ca ([142.103.191.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 22:15:10 +0200 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Sep 2010 22:15:10 +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 Achim Gratz writes: > 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. Actually, I did change the system %PATH% through the control panel and environment variables, but I did not re-start emacs. After doing that, everything works fine :) Oh, and I'd *love* to remove the old JRE, but that's part of another software installation (I'm working in a company), and unfortunately, I can't just wipe that thing off my hard drive. Anyway, issue solved :) Thanks to all and Cheers!! Markus