Jump to content

Java voice chat server

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
--VIP--

--VIP--

    Learning Programmer

  • Members
  • PipPipPip
  • 40 posts
Hiyaa all thanks for having me here :)


Ok im trying to make a new chat server , just a little project for me to learn and have fun at the same time ..
At the moment im trying to find a program that will compile java files ..
im really starting from nothing here so ill show you the info read me i got with the java aplet files .

This is what it said

If you dont know java and still want to use this code..
-------------
Java files are not script and need to be compiled.
for example To compile java files you use: javac org.multichat.ChatClient.java
To run java files you use: java org.multichat.ChatClient



How to create and sign jar's with certificates
----------------------------------------------
keytool -genkey -alias signFiles -keypass kpi135 -keystore susanstore -storepass ab987c
jarsigner -keystore susanstore -signedjar svoicechat.jar voicechat.jar signFiles
You will be prompted for the store password (ab987c) and the private key password (kpi135).
keytool -export -keystore susanstore -alias signFiles -file SusanJones.cer


To run it on your web page
---------------------------
0) compile all the files, You need javas development kit for that.
1) generate and sign a jar file you need javas development kit for that
2) change the voicechat.html host field to your java servers ip address or name
3) run org.multichat.server.ChatServer.java <--- this is the server for the chat


If you could point me in the right place or infact any info will help lol

#2
TALucas

TALucas

    Learning Programmer

  • Members
  • PipPipPip
  • 91 posts
If your just starting out....the chat/client project could be a bit overwhelming. You may want to start with some simple hello world programs first, but that's just a suggestion.

But if you're really ambitious, he's a bit to get you going:

1. First you'll need to download and install the Java Development Kit (JDK) from the sun website. Java SE Downloads - Sun Developer Network (SDN) There are a few different packages available, some include editors and other tools, but for the bare minimum you'll need (JDK 6 Update 13).

2. You'll need a text editor. Note pad will work. One of the JDK packages above has NetBeans, which can be a bit complicated if your not familiar with that type of work environment. My personal favorite is JCreator, and I think you can still download the LE version for free. JCreator — Java IDE The Jcreator editor will also allow you to compile your code.

3. If you don't use some type of editor that has a built in compiler, you can compile from the command line. You can compile using the javac command. Example:javac helloWorld.java ...and you can run by using the java command. Example: java helloWorld. The client/server project will be a bit more complicated because you are compiling applets instead of stand alone executables. You'll need to either run them in an applet viewer or put them on a web server to view them.
Your thoughts are the architects of your destiny.
[SIGPIC][/SIGPIC]

#3
--VIP--

--VIP--

    Learning Programmer

  • Members
  • PipPipPip
  • 40 posts
TALucas !!!! you are a Dimond my friend !!! :)

Im so greatful for your help .
You are right it is a big idea and alot to take on but ill give it my best and see if ive got it in me lol
If it is to much for me then i will go back and start smaller but ya never know i might even learn somthing doing this lol

I shall get on your info there and set up and see how i go :)


Many thanks for your time :)

#4
--VIP--

--VIP--

    Learning Programmer

  • Members
  • PipPipPip
  • 40 posts
For some reason i have lost my Java voice chat server aplet ???

i think i lost it when my pc was formatted lol only god knows !!!

REQ
Does any one have any good java aplets i can use to make a good Java voice chat server .
Maybe i might be able to find better ones then i did have from people who know :)