File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Jacl2jython help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Jacl2jython help" Watch "Jacl2jython help" New topic

Jacl2jython help

George Peter

Joined: Oct 31, 2007
Posts: 26
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

George Peter

Joined: Oct 31, 2007
Posts: 26
help really appreciated
Rahuul Dravid
Ranch Hand

Joined: Feb 17, 2009
Posts: 42
Hey buddy,

All that you have to do is just edit your JAVA_HOME path by cutshorting it till just the javafolder 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 script in text editor and then it was as simple ... so hope that help you too !

Gudluck mate !
Consider Paul's rocket mass heater.
subject: Jacl2jython help
It's not a secret anymore!