lovetide Posted July 18, 2006 Share Posted July 18, 2006 I've installed jdk1.5.0_07 to C:jdk1.5.0_07, and installed public JRE of it, and then set JAVA_HOME =C:jdk1.5.0_07, and then add %JAVA_HOME%bin to PATH environment variable. Then I installed jdk1.6.0 to C:jdk1.6.0, no public JRE installed of it. Open any DOS console and type java -version, it report the right version I wanted: java version "1.5.0_07". But when I started iReport from iReport.exe, click "Help"->"About iReport" -> "System properties", it shows me that all properties related JRE/JDK is 1.6.0, not 1.5.0_07, how can iReport so "intelligent" and how to manual choose JRE to startup it ? By the way: If i startup iReport from %IREPORT_HOME%binstartup.bat, the JRE/JDK information is 1.5.0_07, that's what I wanted. Thanks ! Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted July 18, 2006 Share Posted July 18, 2006 The exe was created using JSmooth. http://jsmooth.sourceforge.net/ you can modify the file ireport/etc/ireport.jsmooth using JSmooth to force the use of a particular JVM. to create the new exe simply: ant exe Giulio Link to comment Share on other sites More sharing options...
jbuberel Posted July 31, 2009 Share Posted July 31, 2009 Hmm - in newer versions - iReport-nb-3.5.2 - has this procedure changed? I need to make sure iReport is running on a very recent JRE (1.6.0_14) in order to ensure OpenType font compatibility. I was not able to find a .jsmooth project file in the source distribution. -jason Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted July 31, 2009 Share Posted July 31, 2009 Edit the file <ireport install dir>/etc/ireport.confthere is a line to set a specific jre to use (jdkhome="/path/to/jdk")Uncomment it (removing the #) and set your favorite jdk. I assume you can use a jre too instead of a jdk.Giulio Link to comment Share on other sites More sharing options...
jbuberel Posted July 31, 2009 Share Posted July 31, 2009 Perfect, thanks! Link to comment Share on other sites More sharing options...
cyril.marut Posted April 26, 2013 Share Posted April 26, 2013 thanks... Link to comment Share on other sites More sharing options...
ikziko Posted July 28, 2015 Share Posted July 28, 2015 Thanks #Giulio !! Thanks for your kind help. Link to comment Share on other sites More sharing options...
alexeysheleg22 Posted September 18, 2020 Share Posted September 18, 2020 awesome. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now