This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am creating a client-server java rmi application, which copies a particular file from Server to Client.
Server is running on windows 7 and client on Linux.
I have sorted most of the things by myself and I am able to connect to the server through the client but there is a class files in my client machine which the server needs to load.
Now when I am starting the client with -Djava.rmi.server.codebase=file:/home/gogol/MyProjects/FileClient/ (which is where one of my client class file is loacted) the server(Which is in Windows) seems to look for that class in C:/home/gogol/MyProjects/FileClient/ (mixing up the windows directory structure with linux) and obviously the class is not found.
This is how I start My Client
sudo java -cp /home/gogol/MyProjects/FileClient/compute.jar:/home/gogol/MyProjects/FileClient/clientengine.java -Djava.rmi.server.codebase=file:/home/gogol/MyProjects/FileClient/ -Djava.security.policy=Gatekeeper.policy client.Client 192.168.1.3 C:\Users\GOGOL\Desktop\gogoljava\Objects.txt /home/gogol/MyProjects/output.txt