I downloaded smslib-v3.4.2.zip and extracted it to C:\smslib
After copying all instructed *.jar files and *.dll files to the right
directory as instructed in SMSLib installation guide,
we have to do the >>ant compile-smslib and then the >>ant build-smslib
right?
it compiles successfuly, but what is the output of it? is the output in
*.jar file? if so i can't find it anywhere..
what i did is to set CLASSPATH to C:\smslib\src\java\org

i googled a bit to see the right way to import libraries to netbeans and
most of the instruction says to copy the *.jar file to the lib/ext dir.

I am still unable to compile SendMessage.java T_T
please show me the right way..

cheers.


On Thu, Jul 23, 2009 at 10:56 AM, safiyya rusli <[email protected]>wrote:

> Yeah..it is org.smslib.. i just shortened it like that.
>
>
> should i put the directory C:\smslib\src\java\org in classpath or path in
> the environment variables?
> how did others import that library into say..eclipse?
> i even tried to put the org folder into lib/ext for jdk and jre directory
> but it still won't work.
>
> entering desperate mode now (T_T)
>
>
> On Thu, Jul 23, 2009 at 6:20 AM, Thanasis <[email protected]> wrote:
>
>>
>> There must be something wrong with your directories (maybe). Package
>> "org.sms" is incorrect - the correct package is "org.smslib". I don't
>> work much with Netbeans, so I can't give much help...
>>
>> On Jul 23, 3:32 am, vash1282 <[email protected]> wrote:
>> > Hi,
>> > I've tried cleaning and re-installing ev'thing but still got the same
>> > error message. Please help.
>> >
>> > my environtment variables now are as follows;
>> > path : C:\Program Files\PC Connectivity Solution\;%SystemRoot%
>> > \system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%ANT_HOME%\bin;C:
>> > \Program Files\Java\jdk1.6.0_14\bin;
>> > CLASSPATH: .;C:\Program Files\QuickTime\QTSystem\QTJava.zip
>> > JAVA_HOME : C:\Program Files\Java\jdk1.6.0_14
>> >
>> > compiling , rebuilding SMSLib were successful, but running the
>> > SendMessage.java sample in Netbeans still returns
>> >
>> > SendMessage.java:21: package org.smslib does not exist
>> >
>> > Any pointers are welcomed.
>> > cheers.
>> >
>> > On 22 July, 12:49, vash1282 <[email protected]> wrote:
>> >
>> > > Hi ya,
>> > > I have just finished installing SMSLib, ant build and compile is
>> > > successful for SMSLIb, but when I tried to compile SendMessage.java in
>> > > netbeans I received a lenghty list of errors like these.
>> > > ---
>> > > Created dir: C:\smsLib\src\java\examples\modem\sms\build\classes
>> > > Compiling 1 source file to C:\smsLib\src\java\examples\modem\sms\build
>> > > \classes
>> > >
>> C:\smsLib\src\java\examples\modem\sms\src\sms\SendMessage.java:16:packageorg.smslibdoesnotexist
>> > > importorg.smslib.IOutboundMessageNotification;
>> > >
>> C:\smsLib\src\java\examples\modem\sms\src\sms\SendMessage.java:17:packageorg.smslibdoesnotexist
>> > > importorg.smslib.Library;
>> > > -----
>> >
>> > > I figured it must be because of a directory problem,
>> > > 1) I checked all the necessary *.jar files are in the correct jre/jdk
>> > > directory following SMSLib documentation
>> > > 2) when i clicked on the library folder inside thepackagefolder in
>> > > netbeans project directory, I can see that comm.jar, rxtxcomm.jar,
>> > > slf4j-api.1.5.8.jar, slf4j-14.1.5.8.jar is all listed inside the
>> JDK1.6
>> > > (Default) dropdown node.
>> > > 3) I am using netbeans IDE 6.5.1
>> > > 4) This is some of the contents of my PATH: setting in the environment
>> > > variables
>> > >    C:\Program Files\Java\jdk1.6.0_14\bin; C:\Documents and Settings
>> > > \sr00081\apache-ant-1.6.5\bines\MiKTeX 2.5\miktex\bin;c:\program files
>> > > \common files\gtk\2.0\bin;C:\Program Files\Java\jdk1.6.0_14\bin; C:
>> > > \Documents and Settings\sr00081\apache-ant-1.6.5\bin;%ANT_HOME%\bins
>> > > \MiKTeX 2.5\miktex\bin;
>> >
>> > > where might I go wrong? are there more paths that should be set in the
>> > > path variable?
>> >
>> > > thank you in advance for your answers.
>> > > Cheers.
>> > > vash
>> > > Surrey,Uk
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to