Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 3rd, 2008, 08:10 PM
gimp's Avatar
gimp gimp is offline
<?PHP user_title("gimp"); ?>
Click here for more information.
 
Join Date: Jan 2005
Location: Internet
Posts: 6,877 gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)  Folding Points: 1555 Folding Title: Novice Folder
Time spent in forums: 3 Months 1 h 9 m 24 sec
Reputation Power: 3628
Send a message via AIM to gimp
Java chat server - release 1

http://forums.devshed.com/showpost.php?p=2113904&postcount=34

Read it, play with it, have yourselves some fun.

I will for a while leave my server on. Don't expect me to actually be checking anything or being online to talk to you.

I'm posting this in the lounge because it's really easy to just run this yourselves for whatever reason you want. No need for java expertise.

Hmm, maybe I should have a license for the program or something. Don't really care because nothing is groundbreaking.

Edit:
Developers, look into
ServerController.processAuthRequest(Packet p, AccountHandler source) to find out how to make a real login instead of just username same as password.
Comments on this post
mikeyskona agrees: Nicely done .. could turn in to a very nice chat app. Maybe DevChat? hehehehe
__________________
Chat Server Project & Tutorial | WiFi-remote-control sailboat (planned) | Joke Thread
“Rational thinkers deplore the excesses of democracy; it abuses the individual and elevates the mob. The death of Socrates was its finest fruit.”

Last edited by gimp : September 3rd, 2008 at 10:09 PM.

Reply With Quote
  #2  
Old September 3rd, 2008, 08:13 PM
gimp's Avatar
gimp gimp is offline
<?PHP user_title("gimp"); ?>
Click here for more information.
 
Join Date: Jan 2005
Location: Internet
Posts: 6,877 gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)  Folding Points: 1555 Folding Title: Novice Folder
Time spent in forums: 3 Months 1 h 9 m 24 sec
Reputation Power: 3628
Send a message via AIM to gimp
Todo list:

Shut down server command needs a small pause to allow clients to exit gracefully, as well as some slight tweaks.

Enabling user-pass control - when a client sends a packet, make sure it has the user-pass right. I don't see any way that it would hurt if it wasn't, but I don't see everything. Currently once you login you can send a packet and the server automatically gives you the right username etc.

Spam filter. Yeah.

Patcher. That's already in the works. This way when you connect the server will send you any patches necessary; program closes and you connect again.

Oh, and possibly a logout function... don't really want to though, too much hassle to log out and back in, just close the bloody program.

Edit: Oh, and make username/roomname comparisons ignore case. Forgot about that.

Last edited by gimp : September 4th, 2008 at 06:25 PM.

Reply With Quote
  #3  
Old September 3rd, 2008, 08:22 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
Vista Ultimate - 32 Bit
running
java version "1.4.2_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_15-b02)
Java HotSpot(TM) Client VM (build 1.4.2_15-b02, mixed mode)

i get:
C:\Users\Mike>java c:\javaChat\Driver
Exception in thread "main" java.lang.NoClassDefFoundError: c:\javaChat\Driver


this me? or a bug? :| lol

Reply With Quote
  #4  
Old September 3rd, 2008, 08:36 PM
gimp's Avatar
gimp gimp is offline
<?PHP user_title("gimp"); ?>
Click here for more information.
 
Join Date: Jan 2005
Location: Internet
Posts: 6,877 gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)  Folding Points: 1555 Folding Title: Novice Folder
Time spent in forums: 3 Months 1 h 9 m 24 sec
Reputation Power: 3628
Send a message via AIM to gimp
Why in the blazing hell do you have 1.4? I use generics, I don't think 1.4 can even support my program. Upgrade your slow *** to 1.6

Reply With Quote
  #5  
Old September 3rd, 2008, 08:44 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
Quote:
Originally Posted by gimp
Why in the blazing hell do you have 1.4? I use generics, I don't think 1.4 can even support my program. Upgrade your slow *** to 1.6


ROFL.. Okay okay.. I dont use Java much <G>

doing it now :P

Reply With Quote
  #6  
Old September 3rd, 2008, 08:50 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
hmph. Think i should give up :| lol

Code:
C:\Users\Mike>java c:\javaChat\Driver
Exception in thread "main" java.lang.NoClassDefFoundError: c:\javaChat\Driver
Caused by: java.lang.ClassNotFoundException: c:\javaChat\Driver
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

C:\Users\Mike>java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

Reply With Quote
  #7  
Old September 3rd, 2008, 09:06 PM
gimp's Avatar
gimp gimp is offline
<?PHP user_title("gimp"); ?>
Click here for more information.
 
Join Date: Jan 2005
Location: Internet
Posts: 6,877 gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)gimp User rank is General 40th Grade (Above 100000 Reputation Level)  Folding Points: 1555 Folding Title: Novice Folder
Time spent in forums: 3 Months 1 h 9 m 24 sec
Reputation Power: 3628
Send a message via AIM to gimp
Seriously, it tells you what's wrong. dir to view files, find out what the hell you're doing wrong...

Last edited by gimp : September 3rd, 2008 at 09:09 PM.

Reply With Quote
  #8  
Old September 3rd, 2008, 09:22 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
Quote:
Originally Posted by gimp
Seriously, it tells you what's wrong. dir to view files, find out what the hell you're doing wrong...


LOL * smacks self in the head *

Ok, for some reason it wouldn't let me access it from my documents driver. Copied to C:\javaChat\ didn't wanna know. Eventually i cd'd to the directory, then just did java Driver and it worked

Nicely done

Reply With Quote
  #9  
Old September 3rd, 2008, 09:23 PM
misterdanny's Avatar
misterdanny misterdanny is offline
Null Pointer Exception
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Mar 2006
Location: america
Posts: 3,331 misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 326 Folding Title: Novice Folder
Time spent in forums: 4 Weeks 23 h 47 m 41 sec
Reputation Power: 1519
Quote:
c:\Program Files (x86)\Java\jre1.6.0_05\bin>java.exe C:\Users\Danny\things\chat\
Driver
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Users\Danny\things
\chat\Driver
Caused by: java.lang.ClassNotFoundException: C:\Users\Danny\things\chat\Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

I get the same issue, care to enlighten us?

Reply With Quote
  #10  
Old September 3rd, 2008, 09:25 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
Quote:
Originally Posted by misterdanny
I get the same issue, care to enlighten us?


see above danny

cd c:\path\to\the\folder


then just

java Driver

sorted it for me

Reply With Quote
  #11  
Old September 3rd, 2008, 09:28 PM
misterdanny's Avatar
misterdanny misterdanny is offline
Null Pointer Exception
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Mar 2006
Location: america
Posts: 3,331 misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 326 Folding Title: Novice Folder
Time spent in forums: 4 Weeks 23 h 47 m 41 sec
Reputation Power: 1519
I think gimp ought to alter the code so you don't have to run this from the same directory. I don't have the "java" enviroment variable set (I just set it and I have to reboot my machine for it to be active) so I have to run from the java bin directory. When I get an open chance I might reboot so I can check it out though.

(btw vista doesn't let you have spaces when typing in the full path to a program, it thinks your trying to send it arguments)

Reply With Quote
  #12  
Old September 3rd, 2008, 09:30 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
Quote:
Originally Posted by misterdanny
I think gimp ought to alter the code so you don't have to run this from the same directory. I don't have the "java" enviroment variable set (I just set it and I have to reboot my machine for it to be active) so I have to run from the java bin directory. When I get an open chance I might reboot so I can check it out though.

(btw vista doesn't let you have spaces when typing in the full path to a program, it thinks your trying to send it arguments)


in your case, as long as yu are in the chat apps folder you should be fine calling the absolute path to java. ie:

cd c:\path\to\folder
c:\path\to\java Driver

Should work

also cd "c:\path to a folder\with spaces in it\ whatever" should work tho

Reply With Quote
  #13  
Old September 3rd, 2008, 09:35 PM
misterdanny's Avatar
misterdanny misterdanny is offline
Null Pointer Exception
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Mar 2006
Location: america
Posts: 3,331 misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)misterdanny User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 326 Folding Title: Novice Folder
Time spent in forums: 4 Weeks 23 h 47 m 41 sec
Reputation Power: 1519
I just tried it with the quotes (didn't know I could do that!), but now i just get this

C:\Users\Danny\things\chat>cd "C:\Program Files (x86)\Java\jre1.6.0_05\bin\java.
exe" Driver
The system cannot find the path specified.

I think I may just have to reboot, I might go do that soon

Reply With Quote
  #14  
Old September 3rd, 2008, 09:40 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
Quote:
Originally Posted by misterdanny
I just tried it with the quotes (didn't know I could do that!), but now i just get this

C:\Users\Danny\things\chat>cd "C:\Program Files (x86)\Java\jre1.6.0_05\bin\java.
exe" Driver
The system cannot find the path specified.

I think I may just have to reboot, I might go do that soon


cd "C:\Program Files (x86)\Java\jre1.6.0_05\bin\"
<hit enter>
java.exe Driver

should do it :|

Reply With Quote
  #15  
Old September 3rd, 2008, 09:42 PM
mikeyskona mikeyskona is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2008
Location: Plymouth UK
Posts: 964 mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)mikeyskona User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner FolderFolding Points: 41071 Folding Title: Beginner Folder
Time spent in forums: 1 Week 9 h 22 m 45 sec
Reputation Power: 151
oops scrap that... i wasn't paying attention.

cd c:\path\to\gimps\app
then
"C:\Program Files (x86)\Java\jre1.6.0_05\bin\java.
exe" Driver


that should do it lol

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > Java chat server - release 1


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
Stay green...Green IT