aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Jacl2jython help" Watch "Jacl2jython help" New topic
Author

Jacl2jython help

George Peter
Greenhorn

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

thanks
Peter
George Peter
Greenhorn

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 ..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 !
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jacl2jython help
 
Similar Threads
Tomcat Error - Win 2K Bug?
Compiling servlets
WAP Emulator (Urgent Pls)
Cannot run program from another directory other than c:\Sun\SDK\jdk\bin
JBoss