×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    48

    JavaPhone API and Emulator

    I'm having trouble using the JavaPhone API with the Java Emulator. Is there anything special I was supposed to do to set up the Emulator??

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    41

    RE: JavaPhone API and Emulator

    The location of JavaPhone.jar should be added to the classpath variable for running Java applications which use JavaPhone APIs.This can be done by editing the classpath variable in the autoexec.bat (Windows 98) or in Control Panel -> System -> Environment (Windows NT).

    For example in Windows 98 the classpath variable could be as follows:

    classpath=.;c:\jdk1.1.8\lib\classes.zip;c:\jdk1.1.8\lib\classes\classes.zip; c:\jdk1.1.8\lib\classes\cawt.jar;c:\jdk1.1.8\lib\classes\javaphone.jar;
    where the c:\jdk1.1.8\lib\classes\ folder contains Symbian classes and JavaPhone classes.

    More information about classpath issues with the emulator and the device can be found in the SDK documentation:
    Crystal V6 Edition for Java -> Java Developer's Guide for Crystal -> Java Development -> The default classpath.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×