Help for set classpath

Dear Sir \ Madam
I have download javamail-1.4.zip and jaf-1.1.zip from sun at c:\j2sdk1.4.1 directory
Then I extract these files in same directory with folders javamail-1.4 and jaf-1.1. These folders have mail.jar and activation.jar file
I am confused to set correct path
Please help me

You could have looked into installation instructions bro!
anyways classpath looks like this
C:\j2sdk1.4.1_03\jre\lib\rt.jar;.;%classpath%;C:\Tomcat 4.1\common\lib\servlet.jar;
Give your jar file location after lib. Set the PATH variable too, which would look similar to this:
C:\j2sdk1.4.1_03\bin;C:\Tomcat 4.1\common\lib\servlet.jar;.;
You can go to
http://java.sun.com/j2se/1.3/install-windows.html
or
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html
for detailed notes.
Hope it helps.
Rk.

Similar Messages

  • Already have wireless network, need help for set up of time capsule for wired backup only.

    Hello all -
    I have a time capsule that plugs into wall and used a wireless network to back up computer.  It would always mess up internet afterwards so I would unplug the time capsule and reset internet until the next back up.  my time capsule now will not link into my computer. It just flashes amber.  Spoke with apple and was told to come on here and ask for help for setting up time capsule for a wired backup only and to mention that I have a wireless network.
    Hope any of this makes sense.
    Thank You!!

    Spoke with apple and was told to come on here and ask for help
    Really?  The paid professionals at Apple told you to post on a forum where users.....just like you....are trying to answer questions?  We'll try to help, though.
    For starters, please tell us the make and model of the modem/router that you have now that is providing your wireless network.

  • Help with setting classpath

    Hi All,
    I am new to servlets and JSP. I have a question regarding setting Classpath. My development directory structure is like this c:\..\desktop\java\project1\src\com\eg\web\e1.java. Servlet.jar file is in C:\Program Files\Apache Group\Tomcat 4.1\common\lib. I tried setting Classpath in windows 2000 using control panel=>System utility by this command
    SET CLASSPATH=.;c:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar . I try to compile my program by going into the whole development directory structure C:\..\src\com\eg\web using javac e1.java. But I get the error "package javax.servlet does not exist". Can somebody help me resolve this?
    Thank You in advance
    Jaya

    Question 1: Are you using an IDE?
    [IDEs ignore the system classpath]
    Question 2: Did you try setting the classpath using the -cp option for javac, if you are not using an IDE?
    [you could also try to print the classpath on command line to check if it has taken effect]

  • Getting help for setting up a "good" network

    Hi all,
    I've been "managing" our network and doing the IT stuff even though I'm not a "true" IT guy, just a graphic artist dabbling in the stuff. I want to get some help on moving our multiple public IP address network to a more secure single Public IP address. I don't know where I can get that help so I'm taking my chances here even though this is not specific to Apple server.
    Here's the equipment we have:
    Apple Extreme dual band
    Apple Server 10.6.3 for file services, iCal, iChat, DNS, Open directory, Address book, Web.
    FTP server using CrushFTP on a Mac Pro running 10.6.3
    Two ADSL modem from same ISP, one 16 Mbps the other 10 Mbps
    a Peplink Balance 310 for load balancing the traffic (and it's not working as advertised as far as I could configure it.
    30 static IP addresses hooked to the 16Mbps modem/router
    a gigabit switch ASANTE Intracore IC36240
    a 100 mbs switch ASANTE intracore 3524
    I'd also like to be able to log into any machine remotely with ARD. Right now, it's a peace of cake with everyone having it's own public IP address, but how will I make this work with DHCP? I'd also like to be able to have VPN enabled.
    I have no idea how to make the best of this equipment so if you have any insight or know where I can get some help to set that up, that'd be great!

    There are as many 'good' networks as there are network requirements and hardware combinations.
    Get a server-grade firewall, if that peplink router can't provide that function.
    Figure out what's up with the peplink router.
    If the peplink isn't working and if it doesn't have firewall capabilities (I've not read the specs), I'd replace it with a firewall with dual uplinks.
    Once you get DHCP going, you'll have two IP subnets, and you'll have to set up subnet routing for your gear. Other than that (and with that external server-grade firewall), the remote connections are straightforward.
    The server-grade firewall should have VPN end-point servers for pptp and l2tp, and probably ssl, and probably a DMZ. RADIUS support, likely. For this case, dual uplinks and support for running both.
    Stay out of 192.168.0.0/16 for your private stuff.
    I'd likely set up the public static IP for the router, the DMZ, and key stuff that needs to be public facing. I might well run the rest of the stuff in a private IP block.
    None of which involves Mac OS X.

  • Plz help  for set focus in the table column

    hi
    I have aproblem like i want that when i click on submit button aftr filling tables column value if there is any error the error massage displaying after that click on masaage ok button get focus of my cursor on the same column where i was not fill any value .
    i am giving a piece of code also with this also
    thanks in advance
    else if(!checkResources())//check if all resource brackets are set
    JOptionPane.showMessageDialog(this, "Resource Brackets are not correct or complete." , "Error", JOptionPane.OK_OPTION);
                   //resourceTable.requestFocus(true);
              return;
    private boolean checkResources()
    try
                   float number = -999999999.0F;
              float[] lowerRange = new float[ resourceModel.getRowCount()];
              float[] upperRange = new float[ resourceModel.getRowCount()];
              allResource.setVisible(false);
              overlapRes.setVisible(false);
              for( int i =0; i< resourceModel.getRowCount(); i++)
                   if(((Boolean)resourceModel.getValueAt(i,4)).booleanValue())
                        lowerRange[i] = -999999999.0F;
                   else
                        lowerRange[i] = ((Float)resourceModel.getValueAt(i,2)).floatValue();
                   if(((Boolean)resourceModel.getValueAt(i,5)).booleanValue())
                        upperRange[i] = 999999999.0F;
                   else
                        upperRange[i] = ((Float)resourceModel.getValueAt(i,3)).floatValue();
              for(int i =0; i<lowerRange.length-1 ; i++)
              {     int temp =i;
                   for(int j= i+1; j<lowerRange.length; j++)
                   {     if(lowerRange[temp] > lowerRange[j])
                             temp = j;
                        else if(lowerRange[temp] == lowerRange[j])
                             if(upperRange[temp] > upperRange[j])
                                  temp = j;
                   if(temp != i)
                   {     float swapt = lowerRange[i];
                        lowerRange[i] =lowerRange[temp];
                        lowerRange[temp] = swapt;
                        swapt = upperRange;
                        upperRange[i] =upperRange[temp];
                        upperRange[temp] = swapt;
              for(int i=0; i<lowerRange.length; i++)
              {     if(lowerRange[i] != number )
                   {     if(lowerRange[i] < number)
                             overlapRes.setVisible(true);
                        else
                             allResource.setVisible(true);
                        return false;
                   number = upperRange[i];
    if(number != 999999999.0F)
              {     allResource.setVisible(true);
                   return false;
              return true;
    catch(Exception e)
    CAT.error("Error in checking wheather resource Bracket is complete or not",e);
    return false;
    this code belongs to action perform method....
    the function for chek rong value is ritten insisde checkresources() function
    plz help

    plz help ASAP

  • Need Step-By-Step for help for setting up accruals for online payslip.

    Thank you in advance for any help you are able to provide.
    I am attempting to setup accruals to show on the online payslip in 11.5.10.2. I have read through the documentation and followed the steps, however the vacation accruals continue not to show on the online payslip. Consultants implemented this system originally but did not setup vacation accruals to show on the online payslips. Online Payslips are working, but the accruals are not showing, they were never set up to.
    We have done the following:
    -US Super HRMS Manager-Work Structures- Organization- Description
    -Selected our Organization- Others- Payslip Information
    -Under Additional Organization Information- Setup the vacation accrual as:
    Type: Element
    Element Name: Vacation accrual
    Input Value: Hours
    Display Name: Vacation accrual
    -We have run a payroll in TEST and viewed the online payslip for an employee, but the vacation accrual portion does not show.
    Are there additional steps I am missing?
    Thank You!
    Keisha

    You don't say which router you use but I guess it is not a VLAN Router. The SRW is a L2 switch. It separates VLANs on ethernet level. If you want to make some sense out of that you'll need a VLAN router or L3 switch to which you trunk all those VLANs and which routers the traffic to the internet and between the VLANs. The SRW cannot do that. It separates the VLANs but it cannot join them or route traffic between them. Routing is a task of a router or L3 switch.

  • Any other place for setting classpath?

    Hi,
    I have deployed an .ear file. I have made changes in the go.bat file and added the .jar files I needed into the classpath here.
    Is there any other place to set the classpath other than the go.bat file?
    My environment : Windows 2003 server. EP6.0 sp2. HF4.0, WAS 6.20, MS SQL Server 2000.
    Thanks
    Bhanu

    Hi Dagfinn/ Filip
    Thanks for your responses. 
    Dagfinn -
    Including .jar files in the the .ear file and deploying them gave us some issues, when we tried this a few weeks ago. (Basically, it was classloader error).  I will check that out further before I know if it worked fine or if that has any issues.
    Also, we did try out adding the references as suggested in the link too, sometime ago.  But that gave us a deployment error. 
    So alternatives to my question are to include in the .ear file or add references. If a new one exists let me know
    Thanks
    Bhanu

  • Plz help me set classpath

    hi!
    i am trying to set the the path and classpath.on executing my autoexec.bat on win 98.it reads following error
    out of environment space.
    how can i increase environment space.is there any other way out.

    thnx ,it worked.but the exact way is this
    1. Click Start, and then click Run.      
    2.     In the Open box, type sysedit, and then click OK.      
    3.     Click the Config.sys window.      
    4.     At the beginning of the Shell= line, type REM, and then press the
    SPACEBAR.
    If the Shell= line does not exist, proceed to the next step.      
    5.     Press the HOME key.      
    6.     Type the following line to create a new Shell= line, and then press
    ENTER:
    SHELL=C:\COMMAND.COM /E:4096 /P
    7.     On the File menu, click Save.      
    8.     On the File menu, click Exit.      
    9.     Restart the computer.

  • Request help for setting Globalization Parameters

    Hi all,
    I have a test database(oracle9i) running on Redhat linux with the following Nls database settings.
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET US7ASCII
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 9.2.0.4.0
    I created a temporary table as
    Create table Temp1(str nvarchar2(1000));
    Now I inserted some japanese characters into Temp1 table through script(script saved with encoding UTF-8).
    When I am trying to access the data through Crystal Reports, The data from Temp1 table is displayed as "?????".
    Which parameters I need to set in the database to implement this.
    Any links/suggestions will be helpful
    Thanks in Advance,

    Have you tried the UNISTR() function?
    There are no parameters in Oracle9i that would allow you to insert Japanese data from SQL*Plus into NVARCHAR2 column using SQL text literals, if your database character set is US7ASCII. This is because literals are always converted first to the database character set.
    You could do this only in SQL*Plus 10.2 connecting to Oracle Database 10.2 by setting environment variable ORA_NCHAR_LITERAL_REPLACE=TRUE and using NCHAR literals: n'text' or nq'#text#'. In Oracle 9.2, you have to simulate this functionality yourself by using the UNISTR function.
    If you now run SELECT DUMP(<your column>,1016) FROM <your table>, you will see that the column contains only question marks ( 00, 3F ).
    -- Sergiusz

  • PLease I need "electric drum" help for set-up

    I am trying out an electric drum set. I tried going into my pre-amp then into GB, but it was just the "trigger" noise.
    I then was given a Yamaha PTX8 Percussion Tone Geneator box to create the sounds, however I know nothing about the box and it is not producing good "user-ability" for us.
    Is there not a way to just go from the "drum" into the pre-amp, (by passing the Yamaha box)?
    Can garage band not simulate what the box is doing, is there not a way to set a snare in GB for the "snare" electric drum?

    You seem to be talking about two completely different things.
    If you're going through a preamp, you're recording audio, but it sounds like you think you're triggering MIDI events.
    If you're going through a preamp, then you'd want to create a New Basic Track in GB to record the sound you're sending to GB.
    Also:
    http://www.thehangtime.com/gb/gbfaq2.html#recordlinein

  • Need urgent Help for setting up iCal Server

    I will move the iCal portion here, maybe I will get some help.
    Okay first my setup:
    Two XServe with the latest 10.5 (one is the backup)
    Six Mac Pros with Leopard
    Three Macbook Pros with Snow Leopard
    All Macs are on an Windows 2003 Active Directory network. Also we have our accounts locally (on each workstation and laptop).
    *So I have installed the advanced settings for the Server OS.
    *Created a account for every user on the server
    *The FTP, Web (for the local webpage), Open Directory and iCal services are on. (iCal would only activate with Open Directory service??)
    *The iCal server destination (for the calendars) are on a separate drive with +Ignore Permissions+
    Still can not link a account through iCal with the server!
    Could somebody give me a walkthrough how to setup the iCal server?
    Oh yeah another issue I had I can't get the calendaring checkbox in the user account to stick! Is this just a bug?

    Hi Umesh,
    I would not use the repository on a database that was cloned. In my experience this leads to problems.
    A better way is to clone the database and then create a new repository on the clone:
    1. export the repository on the windows server to an mdl file
    2. unregister all target users on solaris
    3. drop the repository on solarais
    4. create a new repository on solaris
    5. Import the data from the mdl file you exported in step 1
    6. register target users
    7. configure and register the locations
    This way requires some manual work, but I do not see another way.
    Regards,
    Carsten.

  • I am asking help for set up.

    I have a 2wire connecting to my internet. I bought a Linksys wireless-G ehternet bridge with the purpose of coonecting it to another computer downstairs wirelessly.
    I don't know how, no matter how I tried to figure everything out.
    Do I lack anything, or did I buy the right thing?
    Please help.
    Loven

    It will work with Printer .... but in that case you need to connect the Printer directly to the Ethernet Bridge using CAT5 cable ... not USB cable ..... If you want to use any device that works with printer ... i will suggest you to use wireless print server (WPS54G) ... It connects using either USB cable or Ethernet cable to the Printer ... & communicates wirelessly with router .....

  • I Need Help For Setting Up A New Account

    So, obviously in Mail, I have my .Mac Account. I would also like to add my MSN hotmail account. There are only a couple of issues. I can't figure out if the hotmail account is POP, IMAP, or Exchange. And on top of that, I don't know what to put after I've chosen one. There is a space where I'm supposed to put the "Incoming mail sever", except, I have no idea what that is. If it is relevant, my hotmail email is: [email protected]
    Thank You

    http://versiontracker.com/dyn/moreinfo/macosx/18189
    was the solution I used to use, back when I thought it was still a good idea to use msn/hotmail

  • Help on Setting up Web Cache.

    Hi,
    I need help for setting up OAS Web Cache, whether the following setup is correct. I’m new to this.
    When I login to http://server2.domain.com:8300/appname1/, the display URL is changed to http://server2.domain.com:7778/appname1/. However there is no activity in the Web Cache Statistics.
    We have OAS Web Cache standalone installed on one server using port 80 (e.g. server1.domain.com) and OAS Application Server (HTTP & J2EE) installed on another server using port 7777 (e.g. server2.domain.com).
    Currently, when our user login to the application, they use the following URLs:
    http://server2.domain.com:8300/appname1/
    http://server2.domain.com:19000/appname2/
    I have setup OAS Web Cache as follows:
    Listen Ports:
         Cache Name: server1.domain.com-WebCache
         IP Address: ANY
         Port: 7778
    Origin Servers:
         Host: server2.domain.com
         Port: 7778
         Routing: enabled
         Ping URL: /
         Protocol: HTTP
    Site definitions (two entries)
         Hostname: server1.domain.com
         Port: 80
         URL Path Prefix: (blank)
         Default: No
         Aliases (Host Name: None, Port: N/A, URL Path Prefix: N/A)
         Hostname: server2.domain.com
         Port: 7778
         URL Path Prefix: /
         Default: No
         Aliases (Host Name: None, Port: N/A, URL Path Prefix: N/A)
    Site to Server Mapping:
         Site                    Origin Server     
    Priority Host Name     Port URL Path Prefix ESI Content Policy Host Name     Port
    1 server2.domain.com 8300 /appname1/ Unrestricted      server2.domain.com     7778
    2 server2.domain.com 19000 /appname2/ Unrestricted      server2.domain.com     7778
    3 server2.domain.com 7777 Unrestricted      server2.domain.com     7778
    4     *      7777 Exclude Fragments server2.domain.com     7778
    5     *      *           Exclude Fragments server2.domain.com     7778
    And in server2.domain.com, the following has been set in httpd.conf
    ServerName server2.domain.com
    UseCanonicalName On
    Port 7777
    Listen 7777
    Listen 7778
    Listen 19000
    <VirtualHost server2.domain.com:8300>
         Port 7778
    </VirtualHost>
    Any advise is appreciated.
    Thanks,
    Lian

    as mentioned above, All that you need is a optical cable (a toslink) and that will provide you with the 5.1 sound output. BUT and this is important, the Game or Movie must support 5.1 for you to get 5.1 sound (not a lot of Mac games have 5.1 output) also you will need to ensure that you setup the right settings on your sound Preference panel. You dont need any additional boxes or cables as long as your 5.1 speaker system accepts 5.1 audio via digital toslink (eg optical cable). the z5500 is suitable and will give you 5.1 sound if used with a game or movie that has 5.1 sound output.
    Good luck and enjoy the sound

  • How to set Classpath for MySQL

    Hi
    I want to connect to my mySQL db with a java program , but I don't know how to install the mySQL connector driver. Can anyone help me? or indicate somewhere where I might find the answer?
    And how to set Classpath for MySQL.
    my program gives an exception ClassNotFound.
    Exception :com.mysql.jdbc.Driver
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at Files.main(Files.java:352)
    Plz help me
    Thanx
    Lalit

    to make your life easy i tried to connect..
    what you have to do is.. you mysql database server should be running
    next you have to download one of the version of mysql driver.. i downloaded mysql-connector-java-5.0.5
    go to my computer right click - >advance tab -> click on environment variable -> put you path e.g. C:\Program Files\Java\jarFiles\mysql-connector-java-5.0.5\mysql-connector-java-5.0.5-bin.jar
    into your classpath in a user variable section..
    Try this code
    import java.sql.*;
    public class MySqlConnect{
         public static void main(String [] args){
              try{
                   Class.forName("com.mysql.jdbc.Driver");
                   String url ="jdbc:mysql://localhost:3306/test";
                   Connection con =DriverManager.getConnection(url,"root", "password");
                   System.out.println("Connection: " + con);
              }catch(ClassNotFoundException cnfe){
                   cnfe.printStackTrace();
              }catch(SQLException se){
                   se.printStackTrace();
    }have fun
    Gurnah

Maybe you are looking for