[Geany] How to use multuiple JDKs

Joe G joegum at xxxxx
Mon Aug 25 02:32:16 UTC 2008


Hello,

I'm a noob on this list, so i hope it's OK to ask a few questions.

I'm currently running Geany v0.14 on Slackware 12.1 with all updates and 
patches applied.

I have found

Build>>

Set Include and Arguments>>

Java Source File Commands

Compile  javac "%f"
Execute java    "%e"


I'm sorry if this is a dumb question, but I've tried searching through 
Geany, looking over the documentation and searching the archives, but I 
don't seem to be able to find an answer.

If I have multiple versions of Sun's JDK installed,  is there a 
command(s) I can enter into Geany to select one specific  version to 
compile and execute.  Say I want to use 1.5.0 or 1.6.0 while having them 
both installed.

I'm going to be taking a Java-130  class and I'm not sure of which Java 
version I'm going to be required to use.  But, my system is happy with 
1.6.0, so I'd like to not have to change my system-wide java if I can 
just modify the commands in Geany.

Thanks,
-Joe G.





More information about the Users mailing list