Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Java程序分享区
打印话题 寄给朋友 订阅主题 |
作者 | Chat You And Me - A Very Simple 1 to 1 Chat Tool |
justin_here
良葛格 发贴: 72 |
于 2005-01-03 23:10
From: http://www.caterpillar.onlyfun.net/phpBB2/ Usage: 1. Type the following command to launch the server program. java -jar ChatYouAndMeServer.jar Type the following command to launch the client program. java -jar ChatYouAndMeClient.jar 2. If you are running the server program, provide your nickname and "Lucky Number". But what is the "Lucky Number"? Ha, it's just the necessary TCP port number. If you are running the client program, provide your nickname, your target address and "Lucky Number". Of course, both of your "Lucky Number" must be the same You could just double-click on the jar file to launch the program if you are using Windows. This program is written just for fun..... What? Could not find the main class.Program will exit? Although I only use the syntax of J2SE 1.4.2 to write all the application here, all the jar files are made up under J2SE 5.0 SDK (using eclipse). If you get a message such as “could not find the main class.Program will exit”, your sdk's version may be under J2SE 5.0. You could just update your sdk to J2SE 5.0 or recompile the sources and make up the jar file under your current environment http://caterpillar.onlyfun.net/ |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |