#125 closed defect (invalid)
JCad version 1.1 doesn't run on Java versions higher than 1.4.2
Reported by: | Joop | Owned by: | |
---|---|---|---|
Priority: | Feedback Pending | Milestone: | |
Component: | general | Version: | 1.6.0-b22 WSE |
Severity: | high | Keywords: | |
Cc: |
Description
Tried to run JCad version 1.1.
Both with Java 1.5009 and with Java 1.6.0-b22 WSE I get this message;
Exception in thread "main" java.lang.ClassCastException: java.awt.image.DataBuff
erByte cannot be cast to java.awt.image.DataBufferInt
at VirtualScreen.resetVirtualScreen(VirtualScreen.java:141)
at VirtualScreen.<init>(VirtualScreen.java:112)
at Reference.<init>(Reference.java:34)
at JCad.<init>(JCad.java:28)
at JCad.main(JCad.java:87)
I did use this command file for starting up;
@echo off
rem Java 1.4.2
SET JAVA_HOME=i:\JAVA\JAVA142
set BEGINLIBPATH=i:\JAVA\JAVA142\bin
set path=i:\JAVA\JAVA142\bin
rem @echo off
rem Java 1.5.009
rem SET JAVA_HOME=i:\JAVA\JAVA150
rem set BEGINLIBPATH=i:\JAVA\JAVA150\bin
rem @echo off
rem Java 1.6.0
rem set BEGINLIBPATH=i:\JAVA\JAVA160\bin
rem set path=i:\JAVA\JAVA160\bin
I:
cd I:\CAD\Jcad
java.exe -jar jcad.jar
Just by putting in rem I can activate different versions of Java for testing.
Own system eCS 1.2 Dutch memory 1Gb.
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
are you sure it works on other os with java6? as i see the app is rather old it could be a incompatibility with newer java
comment:3 by , 14 years ago
Priority: | blocker → Feedback Pending |
---|
follow-up: 5 comment:4 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This application is not compatible with OpenJDK 6 (checked on Linux). We are unable to fix that on our side. The application needs to be fixed instead.
Joop, we appreciate your efforts to find and report problems, but you keep reporting the same issue with old applications again and again which slows us down (as we need to check what you say). So, I kindly ask you, please test your application on a Windows or Linux machine with OpenJDK 6 first and only report here if it works fine there. Thank you.
comment:5 by , 14 years ago
Replying to dmik:
This application is not compatible with OpenJDK 6 (checked on Linux). We are unable to fix that on our side. The application needs to be fixed instead.
Joop, we appreciate your efforts to find and report problems, but you keep reporting the same issue with old applications again and again which slows us down (as we need to check what you say). So, I kindly ask you, please test your application on a Windows or Linux machine with OpenJDK 6 first and only report here if it works fine there. Thank you.
That will be a problem, kicked out Windows, don't have Linux. Seems Java program's are not running everywhere and OpenJDK not downwards compatible. Just testing applications what's going and what not.
JCad can be downloaded from http://www.cnet.com/1770-5_1-0.html?query=JCad+for+Java.