Skip to main content

alphaWorks  >  Forums  >  Hyperj  >  developerWorks

Hyper/J and JDK 1.5    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Apr 23, 2006 1:16 PM Last Post By: Jaimito Threads: [ Previous | Next ]
Alex Lohfink
Hyper/J and JDK 1.5
Posted: May 08, 2005 02:19:13 PM
Click to report abuse...   Click to reply to this thread Reply
I am trying to evaluate HyperJ, by running the demo, I am using the latest JDK 1.5 update 3. I'm getting the NoSuchMethodError mentioned elsewhere in this forum. Of the jar files that shoud be added to the classpath to rectify this, jaws.jar and i18n.jar do not appear to exist in this JDK. Does this mean HyperJ is not compatible with this JDK?
Jaimito

Posts: 65
Registered: May 03, 2005 04:57:23 PM
Re: Hyper/J and JDK 1.5
Posted: Apr 23, 2006 01:16:34 PM   in response to: Alex Lohfink in response to: Alex Lohfink 's post
Click to report abuse...   Click to reply to this thread Reply
Those jars are not needed; I was able to build the example by adding \jre\lib\rt.jar and \lib\tools.jar in the Java install directory to the classpath. Here is a sample batch file for Windows:

code
set HYPERJ_DIR=c:\hyperj
set JAVA_DIR=C:\Program Files\Java\jdk1.5.0_06
java -cp "%JAVA_DIR%\jre\lib\rt.jar";"%JAVA_DIR%\lib\tools.jar";%HYPERJ_DIR%;%HYPERJ_DIR%\bin\hyperj.jar com.ibm.hyperj.hyperj -hyperspace %HYPERJ_DIR%/demo/ObjectDimension.hs -concerns %HYPERJ_DIR%/demo/ObjectDimension/concerns.cm -hypermodules %HYPERJ_DIR%/demo/CheckDisplay.hm -verbose
[/code]

To run the example, you just need a classpath containing .\DemoSEE;%HYPERJ_DIR%\bin\hyperj.jar.

Point your RSS reader here for a feed of the latest messages in all forums