• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jacl2jython help

 
George Peter
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
When i tried to run Jacl2jython from ibm

by double clicking Jacl2Jython.jar i get the following error

Failed to load main class mainifest attribute from C:\Sun\sdk\jdk\bin\jacl2jython.jar



when i tried to run Jacl2Jython.jar by copying all the files related to 'jacl2 jython' from
C:\Sun\SDK\jdk\jre\bin or C:\Sun\SDK\jdk\bin i get the error

ERROR: JAVA_HOME must point to Java installation containing jre\bin


In the environment variable JAVA_HOME is set to C:\Sun\SDK\jdk\jre\bin and C:\Sun\SDK\jdk\bin

thanks
Peter
 
George Peter
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
help really appreciated
 
Rahuul Dravid
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey buddy,

All that you have to do is just edit your JAVA_HOME path by cutshorting it till just the javafolder ..like JDK
and that should do ... and eliminate your error !
I had the same error when is tried frist ... and then i figured that .. it was this mistake i was making ....!
I figuerd it out by opening the jacl2jython.sh script in text editor and then it was as simple ... so hope that help you too !

Gudluck mate !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic