iReport 1.2.5 doesn't start

0
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: 15 years 5 months ago

1 Answer:

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

Giulio
giulio's picture
46892
Joined: Jan 2 2007 - 4:15pm
Last seen: 1 year 10 months ago
Feedback