dcsimg
how set classpath in TextPad(win2000)
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   malcolm_chua
Posted On:   Thursday, April 11, 2002 06:57 AM

i want to use mail.jar!! how i can set classpath using TextPad4.!! pls help me!! when i set classpath, i had error like below:
An exception has occurred in the compiler
java.lang.InternalError: jzentry == 0

Re: how set classpath in TextPad(win2000)

Posted By:   Eric_Getchell  
Posted On:   Thursday, April 11, 2002 07:37 AM

I've been using Textpad for all of my Java development when working on a Win32 platform. What I do is create a batch file (see below) that will add all the jar files required for development and then invoke Textpad. The reason that this works is that any process (Textpad) invoked from a shell will assume all environment variables (classpath settings) set for that shell. Just save the sample below as a text file with a .bat extention and then execute the file.



Hope that helps.

Eric Getchell

Distributed Logic Corporation



Oh, and remember to include activation.jar as well!



-- Sample batch file to invoke Textpad --



set CLASSPATH=%CLASSPATH%;c:jdk1.3.1libmail.jar;

set CLASSPATH=%CLASSPATH%;c:jdk1.3.1libactivation.jar;

call "c:program files extpad 4 extpad.exe"



-- End sample batch file --

Re: how set classpath in TextPad(win2000)

Posted By:   Srini_Tarinikanti  
Posted On:   Thursday, April 11, 2002 07:25 AM

You cannot set classpath specific to textpad like in other ide's . You will have to set it in the system environment classpath/variables.
About | Sitemap | Contact