Compiling a programme with third party package help

Hello all,
I am writing a programme with a third party package (freetts.jar). The jar is is the classpath of my 2003 server and it compiles ok.
import com.sun.speech.freetts.Voice;
import com.sun.speech.freetts.VoiceManager;
import com.sun.speech.freetts.audio.JavaClipAudioPlayer;
When I go to run it with java it cant find a class in the package!! I dont get it?
When it gets to this part it throws Exeption in thread main java lang noclassfounddeferror com/sun/speech/freetts/VoiceManager
public void myVoice(){
VoiceManager voiceManager = VoiceManager.getInstance();
Voice helloVoice = voiceManager.getVoice("kevin16");
/* Allocates the resources for the voice.
helloVoice.allocate();
/* Synthesize speech.
helloVoice.speak("Thank you for giving me a voice. "
+ "I'm so glad to say hello to this world.");
It says that it cant find VoiceManager...I cant work it out, VoiceManager is in the package it imported ok at compilation.....why cant it see it when I run it?? This is driving me CRAZY...please help.
Phil.

Yes you were kinda right.. I went back and had another look at the 2003 environment variables. They have one set for the system and another for the current user. I have come to the conclusion that the system variable classpath just doesnt work. I looked at it over and over again and it looked ok to me. I just put the same thing in the users variables and low-and-behold it works!!!!
Go figure!
Thanks for that, I just needed a trigger.
Phil.

Similar Messages

  • Problems with third party package and file access

    I am using a third party package that allows me to decode
    multipart forms that I use to upload files to our server.
    I have been able to write my own code (JSP) that both reads and
    writes to our filesystem. However, when I try to upload a file
    using the third party package the method I am using fails with
    the following IO exception: The error message is "access is
    denied." But the files get written and are usable (even binary
    files). I have checked the directories and all the dirs I am
    writing to have read, write and execute permission.
    I have access to the code so when I duplicate the actual
    methods used for writing (FileOutputStream.write(foo)) in my
    JSP, it writes fine without exceptions. In fact, I use
    FileOutputStream.write() in other code and it works fine. My
    question is: why would FileOutputStream work in packages we have
    developed and not in a third-party package. I have added the
    codebase and filePermissions to <weblogic_home>\weblogic.policy
    without any changes.
    I am running WLS 5.1 and NT 4.0 with SP5.
    Does this problem sound familiar to anyone?
    thanks for any and all help,
    saulj

    HI Mike,
    If you have third party Document Management System, then you can post two different message, i.e. service order in transaction details of the third party tool with link to document which would be posted to third party Document management server.
    If you don't have third party document management system and what to use sap infrastructure, then you don't need to maintain attachment, maintain the link between the third party tool and SAP document repository, with some login utilities.
    Best Regards,
    Pratik Patel.
    Reward with points if it is of any help to you!

  • Compiling problem when importing third-party package

    Hi,
    I have a question about compiling a java application program. I tried to use a free package from third-party, say "abc.jar". I added it to my classpath by setting Win2000 CLASSPATH environmental variable.
    When I compile the program, it complained that it can not find the classes inside the abc.jar file.
    My program is located at: C:\test\Test.java. The abc.jar file is located at: C:\libraries\abc.jar. It is already set in classpath.
    Here is the structure of Test.java:
    import com.abc.def.ghi.PLOT;
    import com.abc.def.ghi.GRAPH;
    class Test {
    //main method using PLOT and GRAPH classes from abc.jar
    Suppose now I am in C:\test\ directory, this does not work.
    javac Test.java
    Then still in C:\test\ directory,I tried:
    javac -classpath ".;c:\libraries\abc.jar" Test.java
    Still it does not work, it complains that it can not resolve symbol "PLOT","GRAPH".
    How to solve this problem?
    Thanks.

    I'd put that JAR file in the same directory your Test.java file is in for now. You should keep it close to the Java files that use it in any case, IMO.
    Ditch that system CLASSPATH. (I don't have one.) You should always set the CLASSPATH as you need it when you compile and run.
    The statement you need to compile is:
    javac -classpath .;abc.jar Test.javaIf that works, you run by typing:
    java -classpath .;abc.jar TestThis assumes no package statement in Test.java.
    Are you sure that JAR contains two files named PLOT.class and GRAPH.class, both with paths com.abc.def.ghi? If not, the class loader won't find them in the JAR.
    It'd be better if you cut & pasted the message verbatim. If you've quoted it properly, the error you got sure is weird.
    That message means you've got a CLASSPATH problem. It's the stumbling block of every newbie. Don't rest until you figure out what you've done wrong. - MOD

  • Integration with Third party Help Desk

    Hello,
    We need to integrate SAp solution Manager 3.2 with third party Help Desk software Like REMEDY ....
    So that messages updated in Remedy are updated with Solution manager and vice versa.
    Can we have some soltuion on that ?
    Deepti

    look here:
    <a href="http://help.sap.com/saphelp_sm40/helpdata/en/65/e0a3a3040348ffa71f0908679a883e/frameset.htm">http://help.sap.com/saphelp_sm40/helpdata/en/65/e0a3a3040348ffa71f0908679a883e/frameset.htm</a>

  • Help With Third Party Wireless Cards

    Hello, I am needing some help with third party wireless cards. I have purchased and installed the Linksys WMP54G wireless PCI card into my G4. From what ive seen on the discussions page here, this card is known to work with the G4s in place of the more expensive Airport Extreme card. The only problem is that my G4 doesnt even recognize that the card is in the PCI slot. Ive tryed the other PCI slots and still nothing. Previously, i have tried using a belkin and a d-link card that have been known to work in the G4s as well, and had the same problem. I am 100% sure that the card is seated correctly, and cant think of any other reason why it shouldnt detect that something is in the slot. If anyone can inform me what im doing wrong, or has any info on how to get it working, that would be great. Thanks for your time,
    ~Jared
    Powermac G4   Mac OS X (10.3.8)   2 gb ram, 200 gb hd, dual display

    Yes, i run Digidesigns audio editing program called Protools on my Mac. It uses a PCI card to import mic/line audio signals into the program from the hardware interface. I tried moving the Digidesign card and putting the wireless card in the same slot, and still nothing, although the Digidesign card works fine in the other slots. Each time i moved the Digidesign card, it showed up in the different slots, although the ones that were open did not show up at all. Only the PCI slots that are in use show up in ASP on my machine. I have the FW-800 version of the G4, so im not sure if that makes any difference. I have never erased the PRAM before, would you be able to give me directions on how to do that? Thanks a ton for your help. =)
    Powermac G4   Mac OS X (10.3.8)  

  • *URGENT* importing third party package into Jdev project

    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina
    null

    Hello,
    I'm not sure about what you mean,
    but in order to use a given package within JDevelopper, you should:
    - select project/project properties,
    - find the libraries tab
    - click "add", then "new"
    - click "class path"
    - click "add ZIP/JAR" and add the various jar files you want to include
    Note: if the included libraries contain subpackages of packages like javax, and you want to deploy your project (as EJB for instance) you will have to edit the deployment profiles in order to add the 3rd party libraries, otherwise, these subpackages won't be deployed (by default, packages suvh as java.lang, javax etc.. are not excluded from the deployment).
    about the PROJECTFILES and CLASSFILES items, they refer to the directories in which your project's source code (PROJECTFILES) and compiled classes (CLASSFILES) are stored
    Hope this helps, Remi
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Augustina:
    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina <HR></BLOCKQUOTE>
    null

  • How to integrate iReceivables with third party payment system?

    Hi,
    My requirement is to integrate iReceivables with third party payment system.
    Can anyone guide me to achieve this.
    Thanks & Regards,
    Sunita

    Hello Prasad,
    <b>Connection with an External Payroll System</b>
    Payroll Outsourcing functionality allows you to compile master data or payroll data in the SAP system to submit to a third-party service provider in an electronic format. The Outsourcing solution available in the United States and Canada provides a generic interface which writes data into an IDoc (Intermediate Document) for transport to a third-party system. In order to transport data into and out of the SAP system, you must set up a logical system, partner definition, and outsourcing ports.
    If you have built your own payroll interface, using the Interface Toolbox, for example, you can use the Import section of this scenario. The Export section applies only to the transport of IDocs.
    For more information regarding outsourcing, refer to the SAP Library, Human Resources  -> PY Payroll  -> PY-US United States Payroll or PY-CA Canada Payroll  -> Outsourcing.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/af/f4ea3444e9c47fe10000009b38f83b/frameset.htm
    Import Payroll Results from a Third-Party System
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/0a/e62481feaf11d1a5500060087832f8/frameset.htm
    regards
    Prasad
    Message was edited by:
            prasad chintala

  • Using third party packages

    I'm using NetBeans with a Nokia S60 sdk installed to write an app for a phone.
    I need to use a third party math package in the app, but I am new to this, so I have no idea how to do it.
    I've downloaded and unzipped the files for the third party package, but where do I put them and how to I use them in my project?
    (I don't mean how do I use the new functions, but how to I access them in NetBeans ... how do I NetBeans to "see" them ... just wanted to be clear about what I was asking).
    Thanks.
    Message was edited by:
    AlJohnJeffJoe

    Okay, almost there. I added the folder and was then able to use the commands.
    However, when I went to compile I got a weird error:
    Error preverifying class wabaMathFP
    java/lang/NoClassDefFoundError: waba/ui/MainWindow
    I am not using the waba stuff as far as I know, but I did see some waba class files in the same folder. Could that be the problem? It is trying to verify ALL the class files in that folder?
    Any suggestions?

  • UTF8 DB using third party package

    I have an Oracle DB defined with the UTF8 characterset. I can use Oracle Forms to insert and retrieve multibyte characters from the DB however, I have not been able to retrieve multibyte characters using third party packages. These packages can retrieve multibyte characters from other DB's. Does anyone have any suggestions or other information about retrieving multibyte characters from Oracle DB's.
    Thanks
    Scott

    Hi,
    Unfortunately there was a regression bug around using the Generic JDBC connector to a Foreign Database in this Technology Preview (3). I'm not able to give you good news as I don't have a workaround for you either.
    You could use SQLDeveloper to connect to the database for live work, unfortunately that will not help if you wanted to create offline objects of some sort using JDeveloper.
    regards
    Susan
    http://www.susanduncan.blogspot.com

  • Really Apple? OSX 10.8.5 disables built-in camera functionality with third party apps such as Skype and Gmail video chat. I do not have time machine on my 2013 MB Air. How can I get back to 10.8.4?

    Really Apple?
    With the release OSX 10.8.5 Apple has once again showed its true colors, and continued its efforts to create a closed Apple system, which eliminates third party vendors, unless, one can only assume... they pay.
    Included in this OSX update is the disabling of the built-in camera to work with third party applications such as Skype and Gmail video chat. No surprise the camera works just fine with Apple apps such as Facetime and Photobooth.
    The answer I got on my call to AppleCare to ask for assistance in reinstalling 10.8.4, so that I may Skype again, was we can not do that. You can not go back unless you have a time machine bkup.
    Can anyone help me get back to to 10.8.4 on my 2013 MB Air?
    I do not have a time machine bkup as this computer is not used to store important documents.
    Thank you.

    Read this post: 10.8.5 Broke Camera Usage For 3rd Party Apps Like Skype
    Another: isight not recognized in Skype after 10.8.5 upgrade
    Don't panic. Skype simply needs to update its app.

  • How to integrate single sign on with third party system

    we are in the process of implementing istore application. we already have home grown isupport application to contact support personnal for any issues. Now we are wondering how do we integrate oracle applications single sign on with our third pary system. Is there any recommendation provided by oracle to achieve the same.

    We too are in the process of implementing iStore with SSO features.
    And if you believe me it seems to me as nightmare.
    In our scenerio we are intgrating this SSO with Third party access control too (AD and Siteminder). I would request you to please respond me on the following mail id , so we can share our experince which will help us in our implementation
    [email protected]
    regards and thanks in advance
    Vikas Deep

  • SharePoint 2013 on-premises integration with third party email account

    the Email sending issue from SharePoint is causing too much time waste 
    First let me explain how our SharePoint is deployed
    Sharepoint version : 2013
    Deployment type : on-premise
    Authentication : from Domain controller also hosted locally 
    domain name ; say domain.com this domain.com is same as our website address hosted on godaddy
    SharePoint computer name on local DNS :  sharepoint.domain.com
    OS and IIS : 2008 r2 , IIS 7.5 
    Network firewall : 25 26 ports  opened for sharepoint , both incoming and outgoing.
    Server firewall : turned off
    Email configuration Attempts by IIS 6.0 
    We tried following setting on IIS 6.0 SMTP local server properties
    In General tab
    qualified name was shown as : sharepoint.dts-solution.com
    IP assigned : sharepoint server IP  , advanced putted two entries of IP with ports as 25,26
    In Access tab
    Authentication : selected as Anonymous 
    Connection : All except below list : empty list
    Relay : only the list below , one entry as 127.0.0.1 and other is local static IP of SharePoint server
    in Delivery tab
    outbound security : Basic authentication : accessed user in AD and given the right password, also checked with annonymous -not working 
    outbound connection: all default values and port = 25
    Advance : fully qualified domain name = sharepoint.domain.com , DNS test showed success, rest every check box unchecked 
    On sharepoint central management settings
    Outbound email = sharepoint.domain.com
    from and reply to address = [email protected] 
    IIS 7.5 SMTP settings 
    In IIS 7.5 sharepoint application we added SMTP settings as smtp server = godaddy out going smtp , user name as [email protected] , password = godaddy password , port : godaddy outgoing port  .
    Godaddy account 
    Our website hosted on godaddy with same name as domain.com
    open relay not possible on emails.
    Results
    After setting alerts on SharePoint sites and assigning tasks with alerts we receive email in queue folder but they never get forwarded. We just wish to use any of our email *.domain.com to send outgoing emails from SharePoint . Its been a while we have no
    success. 
    Tech Learner

    Hi,
    As I understand, you are using SharePoint 2013 integrating with third party SMTP server which provides email function.
    From SharePoint side, I'd suggest you refer to the link below to configure email integration:
    http://technet.microsoft.com/en-us/library/ee956941(v=office.15).aspx
    If you have already confirm that message is sent from SharePoint, while stuck in queue on SMTP server, then the issue might be related to relay on SMTP server. Since the issue is related to third party product, we do not have enough resource here,
    I'd recommend you contact their support engineer for more assistance:
    https://support.godaddy.com/help/category/154/email
    https://support.godaddy.com/help/article/3552/managing-your-email-account-smtp-relays
    Thanks for the understanding.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Conflict with Third Party Apps?

    I am getting an occasional error saying there is a possible conflict with third party apps and that I need to check the drivers of my MIDI devices to see if they are up to date? Sorry but I did not record the exact wording. Does anyone know what this might mean, and how I need to go about checking drivers? I have a lot of interfaces and not sure how to see what's what. Thanks.

    Hi Midlake,
    Well, because they are known troublemakers. Search for 'takes' or 'take folder(s)' or 'comp' here on the forum and you'll find many a troubled soul crying out for help - including seasoned pro's, who thought they were beyond tears...
    O, they are fine for recording many takes - but thats' all. I'll select the best takes/phrases.
    regards, Erik.

  • How to use  third party package in java application

    hi, i am a student , new to java world can any of u tell me how to import third party package in our java application.
    i want to know how CLI is done in java.
    i am going thru this link http://www.codezoo.com/pub/component/5574
    not able to get anything.
    please please help me

    There are two steps -
    1. Import the classes you need from the package(s) using the Java import statement in your classes that need access to them.
    2. include the 3rd part code (one or more .jar files and/or root directories holding the code's package tree and .class files) to your javac and java class path and optionaly to the class path found in your .jar's manifest file.

  • SAP IDM  7.0 integration with third party system

    Hi Experts,
    I know SAP IDM  7.0 can integrate with third party systems and create user ids on most of the third party systems.
    But I need to know regarding If it is possible to integrate with following systems
    1) Microsoft Exchange 2007 (  I know till exchange 2003 SAP  IDM support )
    2)  Microsoft  Active directory 2008 ( I know till Actice directory 2003)
    3) EMC  Documentum 6.5
    4)  ARIS 7.1.0
    5)  BlackBoard, Release 9.0
    6) Oracle 10g  ( Is it possible to create users at oracle level ? or at what level ? )
    7)  Sun Solaris Sparc  ( Is it possible to create users at  OS level )
    If you have information how on this please share. I know that  provisioning framework will have templates for most of the target systems. I want to know if they are available for above systems on SAP IDM 7.0 or if not have we can connect to them?

    Hi Matthew
    Your expertise in SAP IDM is indeed a great help!!
    >Can't see why not, it's all done via SQL commands. I've done similar things with MSSQL
    You mean that there will be oracle 10g drivers/oledb connectors in SAP IDM and in through SQL commands like "create user alfredo identified by alfredos_secret; " we can create user  in oracle database ?. As you said this should be possible.  What about creating user( user management ) in oracle 10g application  like dba or scot  and assigning the privileges in oracle application?
    >might need to do via UNIX scripts, but it can be done
    You mean that Unix scripts will be defined in SAP IDM and SAP IDM will execute these scripts in the Sun Solaris Sparc ?. It should be possible as you said. By the way how we will be able connect to Sun Solaris sparc ?  Is it via  the option "file " under the "Repositories" with repositories wizard  and later executing the file from SAP IDM ?
    Thank you once again for your expert answers on third party systems.

Maybe you are looking for

  • Java + VB

    im trying to pass some data (string and ints) from java => vb and vb => java i know i can use jni but thatz too complicated... other than sockets and clipboard...are there any other ways those two apps to communicate?

  • Restriction of a mvt type

    hello gurus Can i get an idea of how do i restrict a particular t code for a certain mvt type. like issuing of goods for a process order by mb1a n mvt type 261 only. no other mvt type will be allowed.

  • Mail:  New Message Count Doesn't Show

    I'm using Lion. One of my account inboxes (but not all) does not show the new message count.  All of my accounts use Gmail IMAP.  The Badge shows up in the Dock, but inside of Mail, that account does not indicate that there is new mail. Suggestions?

  • MAK key asking to activate Office 2010 every 90 days?

    Here's a good brain dumper!  I have 40 HP laptops that our students use occaisionally with a volume-license.  So they are off network most of the time.  We set them up on MAK keys instead of our KMS.  We use a program called Deep Freeze so that the P

  • Connect to 2 different Xserves behind firewall

    I have 2 xserves that reside ofsite and I would like to be able to connect to both of them Via ARD 3.1. I have setup the firewall to point the ARD port 5900 to one server and 5901 to point to another server. When I try to connect to original server o