Results 1 to 3 of 3

Thread: Eclipse help

  1. #1
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Default Eclipse help

    Hello everyone,
    well i have done some basic java programming using notepad.while using eclipse
    when i set my jdk1.4 to the project i realise that there is no javac in my bin folder,but it is getting compiled and executed quite well although theres javavm in the bin folder.Iam not able to know how my file is getting compiled.Thank you in advance

  2. #2
    maverick is offline Member
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Default

    can you please help me on this...
    i can't start it

    CHAT SERVER

    Create a program that will serve as o Chat Server where multiple clients
    (user) can access. The server should do the following:

    - Has a login module where a user name and password will be required (on
    the server side, a file/database tablecontaining the user name and password
    should be created)
    - In case the user is a new one, there should be a way to create/register
    a new user
    - Upon logging in, chat rooms should be available and are saved on a
    different file/database table.
    - All commands must be sent through a chat prompt (similar to the cmd
    prompt of windows)
    - Set of commands
    - /help ~ shows all of the available commands
    - /enter <room> ~ to enter a room
    - /list ~ list the available rooms
    - /msg <user name> <message> ~ private message
    - /bc <message> ~ broadcast a message to all users in all rooms
    - /users ~ lists the users and their locations
    - /bye ~ quit chat
    - /exit ~ exit room (transfer to the root)
    - all texts without a leading slash (/) or is not listed above will be
    sent as message to all users within the same chat room
    - you can add more user commands as you deem necessary

    ================================================== ==============================

    *sample run*

    *Client Side*
    ------------------------------

    c:\> java MyChatClient

    Welcome to the the Chat Server! To register, type "new" in the login name
    prompt. If you already have an account, type your login name and password on
    the following prompts.

    Login Name: *test*

    Password: ****

    Hi! You are inside the Root Room. Here are the available commands.

    - /help ~ shows all of the available commands
    - /enter <room> ~ to enter a room
    - /list ~ list the available rooms
    - /msg <user name> <message> ~ private message
    - /bc <message> ~ broadcast a message to all users in all rooms
    - /bye ~ quit chat
    - /users ~ lists the users and their location
    - /exit ~ exit room (transfer to the root)
    - all texts without a leading slash (/) or is not listed above will be
    sent as message to all users within the same chat room

    Type all commands on the CHAT prompt.

    CHAT -> /LIST

    - LIVING
    - DINING
    - BEDROOM
    - CR
    - KITCHEN

    CHAT -> /ENTER LIVING

    Welcome to the Living Room. The users inside this room are the following:

    - Mama
    - Papa
    - Derick
    - Benjie
    - Bev

    CHAT -> Hello

    test: Hello

    bev: hello test

    derick: test, asl please.

    CHAT -> /MSG DERICK 18/F/S326 seat no 31 :) asl please

    test to derick: 18/F/S326 seat no 31 :)

    derick to test: 21/m/s326 seat no 32 :(

    CHAT -> /bc pogi si derick, katabi ko!!!

    BROADCAST FROM TEST: pogi si derick, katabi ko!!!

    CHAT -> /QUIT

    BYE!!!

    C:\>

  3. #3
    icesnow is offline Member
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Default

    CHAT SERVER

    Create a program that will serve as o Chat Server where multiple clients
    (user) can access. The server should do the following:

    - Has a login module where a user name and password will be required (on
    the server side, a file/database tablecontaining the user name and password
    should be created)
    - In case the user is a new one, there should be a way to create/register
    a new user
    - Upon logging in, chat rooms should be available and are saved on a
    different file/database table.
    - All commands must be sent through a chat prompt (similar to the cmd
    prompt of windows)
    - Set of commands
    - /help ~ shows all of the available commands
    - /enter <room> ~ to enter a room
    - /list ~ list the available rooms
    - /msg <user name> <message> ~ private message
    - /bc <message> ~ broadcast a message to all users in all rooms
    - /users ~ lists the users and their locations
    - /bye ~ quit chat
    - /exit ~ exit room (transfer to the root)
    - all texts without a leading slash (/) or is not listed above will be
    sent as message to all users within the same chat room
    - you can add more user commands as you deem necessary

    ================================================== ==============================

    *sample run*

    *Client Side*
    ------------------------------

    c:\> java MyChatClient

    Welcome to the the Chat Server! To register, type "new" in the login name
    prompt. If you already have an account, type your login name and password on
    the following prompts.

    Login Name: *test*

    Password: ****

    Hi! You are inside the Root Room. Here are the available commands.

    - /help ~ shows all of the available commands
    - /enter <room> ~ to enter a room
    - /list ~ list the available rooms
    - /msg <user name> <message> ~ private message
    - /bc <message> ~ broadcast a message to all users in all rooms
    - /bye ~ quit chat
    - /users ~ lists the users and their location
    - /exit ~ exit room (transfer to the root)
    - all texts without a leading slash (/) or is not listed above will be
    sent as message to all users within the same chat room

    Type all commands on the CHAT prompt.

    CHAT -> /LIST

    - LIVING
    - DINING
    - BEDROOM
    - CR
    - KITCHEN

    CHAT -> /ENTER LIVING

    Welcome to the Living Room. The users inside this room are the following:

    - Mama
    - Papa
    - Derick
    - Benjie
    - Bev

    CHAT -> Hello

    test: Hello

    bev: hello test

    derick: test, asl please.

    CHAT -> /MSG DERICK 18/F/S326 seat no 31 :) asl please

    test to derick: 18/F/S326 seat no 31 :)

    derick to test: 21/m/s326 seat no 32 :(

    CHAT -> /bc pogi si derick, katabi ko!!!

    BROADCAST FROM TEST: pogi si derick, katabi ko!!!

    CHAT -> /QUIT

    BYE!!!

    C:\>

Posting Permissions

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