Heinz-Dieter Conradi writes: > hi paul, > > > Heinz-Dieter Conradi writes: > > > hi all, > > > > > > while tracking down some problems with regard to using the IBM VM i > > > noticed some oddities with regard to the jdk-registry. > > > > > > - specifying the Jde-Run-Executable > > > resulted in calling this executable without arguments > > in particular without any class to be executed. >
You've misunderstood the purpose of this variable. The purpose is to facilitate development of Java code intended to run in a vm embedded in an application writting primarily in another language. Some Java applications consist of an executable program written in C or some other language that invokes a vm to run Java classes. Setting this variable causes the JDE to invoke the specified executable instead of the vm associated with the current JDK. The companion variable allows you to specify command-line arguments to pass to the executable. For example, I use these two variables to cause the JDE to execute matlab -jdb when I invoke Run Application from the JDE menu. This causes emacs to start MATLAB and pass the argument -jdb to MATLAB. This in turn causes MATLAB to start the vm that it uses to run Java code in debug mode. I then attach JDEbug to MATLAB to debug Java code running in MATLAB. Without this facility, I would have to start a command shell and enter the command to start MATLAB manually in the shell. - Paul > > > > > > > Did you set jde-run-executable-args? > > no :-( > however, i wouldn't know how to specify the currently displayed class file > as an argument. > i guess, i just haven't understood what this variable is good for in the > presence of 'jde-vm-path'. > > > > > Furthermore, using the registry in order to automatically get the right > > > javadoc is a great idea. However, the javadoc is localized on some > > > centralized server - i.e. when switching the jde-jdk i do have to change > > > this entry in for the jde-help-docset. > > > perhaps, one could add that as yet another optional variable to the > > > registry entry? > > > > I will add a version field that will allow you to specify the JDK > > version to which a JDK API doc set applies. > > > > - Paul > > > this would be great. > > thanks for all your work. > > heinz-dieter conradi > >
