iReport 1.2.5 doesn't start

HI,
I just downloaded a new ver. 1.2.5 in zip file. Unpacked it and modyfied startup.bat but can not start it properly:
Exception in thread "main" java.lang.IllegalAccessError: tried to access class it.businesslogic.ireport.plugin.checkupdate.CheckUpdate$1 from class it.business
logic.ireport.plugin.checkupdate.CheckUpdate
at it.businesslogic.ireport.plugin.checkupdate.CheckUpdate.call(CheckUpdate.java:31)

below is my startup.bat file:

@echo off
set TMP_CLASSPATH=%CLASSPATH%
set JAVA_HOME=c:\j2sdk1.4.2_09\
set JAVA_BIN=%JAVA_HOME%\bin\java

for %%i in (%0) do cd /d %%~dpi\..


set CLASSPATH=%CLASSPATH%;.\classes\;.\fonts\;
rem Add all jars....
for %%i in (".\lib\*.jar") do call ".\bin\cpappend.bat" %%i
for %%i in (".\lib\*.zip") do call ".\bin\cpappend.bat" %%i

set IREPORT_CLASSPATH=%CLASSPATH%
set CLASSPATH=%TMP_CLASSPATH%

%JAVA_BIN% -cp "%IREPORT_CLASSPATH%" -Xms24m -Xmx512m it.businesslogic.ireport.gui.MainFrame %*


Have idea what is wrong. My friend can work this version and configuration without any problem...

Thanks for any suggestion
Mariusz
brucem's picture
1
Joined: Aug 2 2006 - 11:33pm
Last seen: 16 years 7 months ago

1 Answer:

Be sure you have unpacked the zip file in a brand new directory (and not over the old one).

Giulio
giulio's picture
70388
Joined: Jan 2 2007 - 4:15pm
Last seen: 2 weeks 3 days ago
Feedback