Photoshop CC OSX 10.9 - saving over network

Hi, I've done a couple of searches for this problem but havent found any similair situations.
I am having a problem with files which are 'dissapearing' when canceling a file from saving. For example - I am working on a large file and press 'save and close' but realise I don't need to save as the only change I have made since the previous save is something like turning a layer visibility on/off, so I press cancel. Then what I would of done is just close without saving, as I havent made any changes. However now the file has dissapeared.
System info:
Mac os X 10.9
Photoshop CC - latest update ( as of 19_3_14)
Saving to - HDD on a duplicate system over ethernet network.
I few tests I have done are-
Saving to desktop/internal HDD of workstation - File doesn't dissapear when cancelling a save.
Another computer in the same network on OS X 10.8 (PS CC) - File doesn't dissapear when cancelling a save.
(This makes me think it is a Photoshop CC/Mavericks issue.)
I've read that adobe does not support saving over a network, but I thought I would ask if anyone else has had/resolved this issue.
We have multiple workstations working in the same network folders, so saving files to desktop then copying over isn't a time effective option unfortunately.

Photoshop CC (internal version 14.2.1) does have a number of fixes that are better than Photoshop CS6 in regard to network saving.  Be sure to choose Help -> Updates to get the latest version of Photoshop CC. If you are on Mac OS X, please be sure to at least be running 10.8.5 as there were also network save fixes at the OS level that will help customers.

Similar Messages

  • Photoshop & InDesign CS3 Crashing when Saving to Network

    Hi,
    Photoshop & InDesign CS3 crashes whenever I try to save a file over the network to a shared computer we are using as a server.
    SPECIFICS
    I'm running Leopard 10.5.2
    - I have tried reinstalling the entire Creative Suite
    - I did not reinstall Version Cue
    - Tried deleting the com.adobe.mediabrowser.p.ist and Photoshop.plist preferences.
    ALSO:
    - If I create a new file on my computer and then immediately save it, it usually does not crash on the first save. But after I do a few things to the file and then try to save again, it hangs up.
    -I am unable to force quit Photoshop; I have to do a hard reboot.
    Adobe tech support believes it is a network problem. If so, what needs to be done to fix the network?
    Thanks in advance for your help.

    I've heard rumors of the "don't work from the server" thing from our IT department a few times but now I'm seeing it for myself. They are now using this thread as the reason our machines are experiencing so many crashes and errors again. Basically chalking it up to us working off the network is the culprit since they can't find anything else wrong. and since it's not supported by Adobe then were doing it wrong. But none of the workflow solutions we've looked seem faster than just saving to a network. So I'm a bit at a loss...
    How are people dealing with the time it takes to copy files from the server to local and back again. How are people integrating this into workflow's where multiple people need to see and work in the same document multiple times a day?
    A large part of our workload is sometimes thousand page catalogs, mostly our files are 15-25 meg InDesign files and might get up around 50 megs or so and be linked to as much as 5 gigs of image data in the extreme. I can't imagine how much time that would take to copy and work and then copy back, then if someone else were to copy and work and copy back, etc... It's almost like we'd have to copy each section to one computer and make everyone play musical chairs to come and work on the file when they needed too so we only had to copy it from the server once!
    I've done a few catalog covers where the working files sometimes got up over 4 gigs, (and yes with something like this I was working local), but there were days where saving my work back to the server was like 45 minutes, a few times I had issues with the save and I'd be there screwing around for an hour and a half to make sure my work was backed up on the server. I can't imagine having to go through that every time I needed to work on a large Indesgn file that had 4-5 gigs of linked images.
    Does everybody really work this way...? Or is there a magic network setup that allows a sane server side workflow? I know my IT people are compotent profesionals, but perhaps they just haven't heard the latest and greatest for Network CS Suite set up???
    Personally, every time we get new boxes on our desks everything runs great for 6-8? months and then slowly but surely things get buggy and the next thing you know there's smoke coming out of your Dell. They say they fixed it and replaced the damage but the errors continue...
    Anyway, I'm really shocked that working over the server is a no no. Unless you had a very small work group I think this must be a nightmare!!!

  • Corrupted files being saved over network

    I have a Macbook Pro 17" 2008 model and I am having some interesting issues that i can't seem to find the answer for. I switched offices recently and am now plugged in directly via Ethernet cable to our main Cisco router instead of a small under the desk hub shared by 3 computers, that iu used to use with no issues. Since i moved i am having trouble with files getting corrupted when i save to the XP server (peer to peer).
    For example in InDesign CS3 i save a file and it will crash InDesign then corrupt the file. If i work on my hard drive, there are no issues. This week it started happening to Excel CSV files. I save them and open them no problem, but when they are used in any of our software on other computers that imports CSV files, they do not recognize the files as CSV.
    Yesterday I downloaded some CSV files from an offsite FTP and saved to the server. I did not open them, but they had some weird additional characters in them, that showed up in our other software. I went on a PC downloaded them again and the CSV were fine. So i am starting to think it is some sort of network connection glitch.
    Just wondering if any one has any ideas? It is getting to be a bigger and bigger problem each day.
    Thanks in advance.

    These days programs have safe guards in them to stop loading a file that they cannot. Adobe products in particular I know should give you a message that they cannot read this file. How are you downloading these files from the server? What service or protocol?

  • Help! Saving an image to stream and recreating it on client over network

    Hi,
    I have an application that uses JDK 1.1.8. I am trying to capture the UI screens of this application over network to a client (another Java app running on a PC). The client uses JDK 1.3.0. As AWT image is not serializable, I got code that converts UI screens to int[] and persist to client socket as objectoutputstream.writeObject and read the data on client side using ObjectInputStream.readObject() api. Then I am converting the int[] to an Image. Then saving the image as JPEG file using JPEG encoder codec of JDK 1.3.0.
    I found the image in black and white even though the UI screens are in color. I have the code below. I am sure JPEG encoder part is not doing that. I am missing something when recreating an image. Could be colormodel or the way I create an image on the client side. I am testing this code on a Win XP box with both server and client running on the same machine. In real scenario, the UI runs on an embedded system with pSOS with pretty limited flash space. I am giving below my code.
    I appreciate any help or pointers.
    Thanks
    Puri
         public static String getImageDataHeader(Image img, String sImageName)
             final String HEADER = "{0} {1}x{2} {3}";
             String params[] = {sImageName,
                                String.valueOf(img.getWidth(null)),
                                String.valueOf(img.getHeight(null)),
                                System.getProperty("os.name")
             return MessageFormat.format(HEADER, params);
         public static int[] convertImageToIntArray(Image img)
             if (img == null)
                 return null;
            int imgResult[] = null;
            try
                int nImgWidth = img.getWidth(null);
                int nImgHeight = img.getHeight(null);
                if (nImgWidth < 0 || nImgHeight < 0)
                    Trace.traceError("Image is not ready");
                    return null;
                Trace.traceInfo("Image size: " + nImgWidth + "x" + nImgHeight);
                imgResult = new int[nImgWidth*nImgHeight];
                PixelGrabber grabber = new PixelGrabber(img, 0, 0, nImgWidth, nImgHeight, imgResult, 0, nImgWidth);
                grabber.grabPixels();
                ColorModel model = grabber.getColorModel();
                if (null != model)
                    Trace.traceInfo("Color model is " + model);
                    int nRMask, nGMask, nBMask, nAMask;
                    nRMask = model.getRed(0xFFFFFFFF);
                    nGMask = model.getRed(0xFFFFFFFF);
                    nBMask = model.getRed(0xFFFFFFFF);
                    nAMask = model.getRed(0xFFFFFFFF);
                    Trace.traceInfo("The Red mask: " + Integer.toHexString(nRMask) + ", Green mask: " +
                                    Integer.toHexString(nGMask) + ", Blue mask: " +
                                    Integer.toHexString(nBMask) + ", Alpha mask: " +
                                    Integer.toHexString(nAMask));
                if ((grabber.getStatus() & ImageObserver.ABORT) != 0)
                    Trace.traceError("Unable to grab pixels from the image");
                    imgResult = null;
            catch(Throwable error)
                error.printStackTrace();
            return imgResult;
         public static Image convertIntArrayToImage(Component comp, int imgData[], int nWidth, int nHeight)
             if (imgData == null || imgData.length <= 0 || nWidth <= 0 || nHeight <= 0)
                 return null;
            //ColorModel cm = new DirectColorModel(32, 0xFF0000, 0xFF00, 0xFF, 0xFF000000);
            ColorModel cm = ColorModel.getRGBdefault();
            MemoryImageSource imgSource = new MemoryImageSource(nWidth, nHeight, cm, imgData, 0, nWidth);
            //MemoryImageSource imgSource = new MemoryImageSource(nWidth, nHeight, imgData, 0, nWidth);
            Image imgDummy = Toolkit.getDefaultToolkit().createImage(imgSource);
            Image imgResult = comp.createImage(nWidth, nHeight);
            Graphics gc = imgResult.getGraphics();
            if (null != gc)
                gc.drawImage(imgDummy, 0, 0, nWidth, nHeight, null);       
                gc.dispose();
                gc = null;       
             return imgResult;
         public static boolean saveImageToStream(OutputStream out, Image img, String sImageName)
             boolean bResult = true;
             try
                 ObjectOutputStream objOut = new ObjectOutputStream(out);
                int imageData[] = convertImageToIntArray(img);
                if (null != imageData)
                    // Now that our image is ready, write it to server
                    String sHeader = getImageDataHeader(img, sImageName);
                    objOut.writeObject(sHeader);
                    objOut.writeObject(imageData);
                    imageData = null;
                 else
                     bResult = false;
                objOut.flush();                
             catch(IOException error)
                 error.printStackTrace();
                 bResult = false;
             return bResult;
         public static Image readImageFromStream(InputStream in, Component comp, StringBuffer sbImageName)
             Image imgResult = null;
             try
                 ObjectInputStream objIn = new ObjectInputStream(in);
                 Object objData;
                 objData = objIn.readObject();
                 String sImageName, sSource;
                 int nWidth, nHeight;
                 if (objData instanceof String)
                     String sData = (String) objData;
                     int nIndex = sData.indexOf(' ');
                     sImageName = sData.substring(0, nIndex);
                     sData = sData.substring(nIndex+1);
                     nIndex = sData.indexOf('x');
                     nWidth = Math.atoi(sData.substring(0, nIndex));
                     sData = sData.substring(nIndex+1);
                     nIndex = sData.indexOf(' ');
                     nHeight = Math.atoi(sData.substring(0, nIndex));
                     sSource = sData.substring(nIndex+1);
                     Trace.traceInfo("Name: " + sImageName + ", Width: " + nWidth + ", Height: " + nHeight + ", Source: " + sSource);
                     objData = objIn.readObject();
                     if (objData instanceof int[])
                         int imgData[] = (int[]) objData;
                         imgResult = convertIntArrayToImage(comp, imgData, nWidth, nHeight);
                         sbImageName.setLength(0);
                         sbImageName.append(sImageName);
            catch(Exception error)
                error.printStackTrace();
             return imgResult;
         }   

    While testing more, I found that the client side is generating color UI screens if I use JDK 1.3 JVM for running the server (i.e the side that generates the img) without changing single line of code. But if I use JDK 1.1.8 JVM for the server, the client side is generating black and white versions (aka gray toned) of UI screens. So I added code to save int array that I got from PixelGrabber to a text file with 8 ints for each line in hex format. Generated these files on server side with JVM 1.1.8 and JVM 1.3. What I found is that the 1.1.8 pixel grabber is setting R,G,B components to same value where as 1.3 version is setting them to different values thus resulting in colored UI screens. I don't know why.

  • Photoshop Elements 12 saving over files without asking

    Open a picture in Elements 12, on Mac, do a Save As, give it a name without an extension, and save.  It will save the file and add a .jpg at the end.  Then open a different file, do a Save As, give it the same name as you just saved the other file with, without an extension, and save.  It will overwrite the existing file you saved first, without asking, and add .jpg to the name again.  I have lost all kinds of files, and I dont know which ones, by PS Elements 12 saving over them without warning me!  BUG!

    Oh, and while you're in there delete:
    com.adobe.PhotoshopElements.plist
    Adobe Photoshop Elements 12 paths
    Adobe Photoshop Elements 12 settings
    There's a saved application states folder at the same level as the Preferences folder. Delete anything in there for PSE.

  • Share Aperture photos over network

    Hallo every body,
    iam searching for a solution, how to share photo over network for a long time, in our company we have 40 macs(imac, mac bookpro) and 3 xserve, vtrak and 30pc. and we have round about 30000 pic they are saved in iphoto library on one of the xserve.
    My Boss wants from me to find a solution to share these photos over network. the mac users must use iphoto to access these photos.
    which program shall i install on the server so that the client users can access the photos from there macs through iphoto.
    at the beginning i used the share library option in iphoto, until iphoto 9.1.1. By iphoto 9.1.1 on the client when i click on the shared library my searching field disappears and i cant search in the shared photos.
    I thought Aperture is the solution, so i shared the aperture library over the network (with afp protocoll) but in order to access the network aperture library, first i need to install aperture on the client and then i open iphoto and from iphoto option i can choose the option access aperture library.
    how can i solve it without to install aperture on the client, is there any iphoto plugin so that i can access aperture library without installing aperture
    or is there somebody uses another solution???
    please help
    best regards
    Tony

    Neither iPhoto nor Aperture is the solution for this.
    The idea of using iphoto on the client machines is wrong, it's just not designed for that use. Iphoto is designed for a family with a point and shoot camera, or even a phone. Aperture is a pro level photomanager. Installing Aperture on all the mchines means you will have to purchase the app for all the machine, you need a site licence.
    Also, it won't work anyway. You can't share an Aperture Library like an iPhoto one an only one user can access the Library at a time. So, one of the users acesses the Library and all the others are locked out.
    Neither are what you need: you need a media server application. A pro level media server. Tell your boss he's fooling himself if he thinks anything else will work reliably.
    Regards
    TD

  • Files saved to network server sometimes get deleted

    Hello,
    I work as a graphic designer using a year old iMac and latest version of Photoshop CS5.
    Every now and then when saving a .psd file with photoshop it will get deleted instead. As an example, lets say I'm working on a brochure cover image. I open photoshop, open the file and work couple of hours on it. Then I save it. File gets deleted and is now no where to be found. Assuming no backups it's lost for good.
    Naturally I use backups so this usually only means I've at most lost a days worth of work, but it's still highly irritating as you can get quite a bit done during one day.
    What I've figured out so far:
    1) Only .psd files get deleted and only by photoshop. Illustrator, Premiere, Indesign are unaffected.
    2) Only files that are being saved on network (Buffalo) drive get deleted. Files saved on my macs hard disk have not gone lost so far.
    3) It seems that when I use "Save As" the files save correctly. Only when using "Save" do they get deleted.
    4) File getting deleted does not happen every time. But it does happen around 20-30% of the time when saving.
    My current solution is to keep file browser open at all times. And every time I save file with Photoshop I check it's still there. If it's been deleted I will save it again with new name. As long as it's still open in Photoshop I can still save it.
    Due to my work place, saving on the Buffalo is currently the only realistic solution. I realise this is not a Photoshop only problem. It has a lot to do with the network drive as well. How ever as Photoshop is the only program affected it seemed like a good idea to post it here as well. We've been in contact with Buffalo and they deny any knowledge about this problem, so we've hit a brickwall there anyway.
    Has anyone else run into this or similar problem? Any suggestions besides taking more backups?

    2) Only files that are being saved on network (Buffalo) drive get deleted.
    There you have it – Adobe’s position with regard to Photoshop is: »Adobe Systems does not provide support for networks and removable media.«
    http://kb2.adobe.com/cps/406/kb406793.html
    http://kb2.adobe.com/cps/902/cpsid_90279.html
    In case you are interested there are threads on this, for example
    http://forums.adobe.com/message/4016082#4016082
    One workaround might be to always do Save As’ as you claim those work; this could be automated with a Script for example.

  • 10.5.3 Update causes problems saving to networked servers

    From the first paragraphs of an article in ComputerWorld
    Users of Adobe Systems Inc.'s popular design software, including Photoshop and InDesign, have reported that after updating their Macs to the latest version of Leopard, files get corrupted when saved to network servers.
    Apple Inc. had no immediate explanation, but a spokesman pointed to a year-old Adobe warning of potential problems when saving files to network drives.
    On Wednesday, Apple released Mac OS X 10.5.3, an update that fixed more than 100 security vulnerabilities and other problems.
    By the next morning, users were complaining on both Adobe's and Apple's support forums that files created by its CS3 suite applications -- Photoshop is the best known in the bundle -- were being corrupted.
    "Essentially, Photoshop doesn't recognize the files after saving edits on an existing X server, thus ruining your file," said a user named Kevin Moran in a message posted to an Adobe support forum Thursday.
    The complete article is at:
    http://tinyurl.com/52hn8d

    MacWorld reports the same:
    http://www.macworld.com/article/133691/2008/05/adobe.html

  • When round tripping with photoshop cc, i get a saved psd file with my original raw,the problem is these are high file sizes and taking a lot of space,can i stop this?

    when round tripping with photoshop cc, i get a saved psd file with my original raw,the problem is these are high file sizes and taking a lot of space,can i stop this?

    That's not the workflow that I use. I have my Lightroom preferences set to create TIF images when going to Photoshop. I keep the original raw file and the TIF image (usually reduced to an 8-bit image) and only export JPEG's when they are needed to send to a lab or to send to someone over the Internet. JPEG files are highly compressed. I only create them when they are needed, and they are discarded as soon as they have been used for their intended purpose. I keep the raw file and the Photoshop-created TIF in my library. This requires extra disk space. But I always have the highest quality files available.

  • S L O W  Saves from Flash 8 over network??

    This is a Flash 8 vs. Flash MX 2004 issue...
    Anyone else noticing a difference saving files over a network from Flash 8. I have never had a problem with Flash MX 2004 saving over a network, but now saving a 14 MB flash file to a Mac OS X Server (Sawtooth G4 running Jaguar Server 10.2.8) is taking up to 2 minutes over AFP!!
    An odd thing about this is that my first save will take 15 seconds, my second about 2 minutes, the third around 15 seconds, the fourth around 2 minutes and so on... A "Save as" will take about 40 seconds consistently.
    Again that is using AFP, but even using SMB I notice this alternate short/long save time. Using SMB a "Save as" takes 16 seconds on the same 14 MB file. Then the first save will take 3 seconds and the second about 13 seconds, the third save will take 3 seconds the fourth save will take 14 seconds etc...
    Now this looks like a good case for using SMB over AFP (but that is a topic for another forum). However, it is clearly a Flash 8 vs. Flash MX 2004 issue. When I go back to using Flash MX 2004 saves pretty consistently take about 2-3 seconds and "Save As" takes about 10 seconds. This is using AFP or SMB (SMB is a bit faster).
    I called Macromedia (Adobe) support for help and their only answer is that "saving over a network is not reccommended or supported" (neither is this documented, even though some of their tutorial examples use network workflows). I told them that Flash MX 2004 (and previous) NEVER gave me this problem which has apparently been introduced with Flash 8 Professional.
    Anyone else have this issue?
    Thanks
    J.E. Flynn
    Dual G5 2Gig AND a Dual G4 867   Mac OS X (10.4.4)  

    Evidently, I am asking for trouble here...
    Viewing the responses on other forums, opening & saving files over the network is being strongly discouraged.
    I've never heard of this being an issue and in fact it is something that we have been doing without problem for ten years here. It's only until Flash 8 that I have even questioned it.
    Any other opinions out there?
    J.E. Flynn
    Dual G5 2Gig AND a Dual G4 867   Mac OS X (10.4.4)  

  • Files deleted over network

    Hi, some of users over the network accidentally deleted a folder from XServe, and he asked if it can be recovered, when someone deletes a file/folder over network OSX reports that "the item will be deleted immediately", is this true? it wont going to be stored in some "Network Trash Folder"? or ".Trashes"? or "Temporary Items"??
    And if it really wont be recovered, is there a way to prevent this in the future? like to tell OSX Server to put all the files/folders deleted over network to be stored in a special folder for a certain time to prevent loosing important files accidentally or by other users??
    Thanks

    Bertrand> This seems a nice idea, but its not exactly what i need, people still need to delete files from the server, but sometimes they delete important things and im looking for a way that the OSX Server keeps the remotely deleted file for a certain amount of time so it can be restored if needed. many times users accidentally delete files from the server and hit the "OK" button without noticing they just delete an important file from the server and not from there HD, for example, in Apple Share IP on OS9 if you delete a file over the network it would keep it in the user Trash and he empties it, and if he for example restarted his computer, the file on the ASIP would be stored in "Network Trash Folder".. why the mighty OSX Server doest have this great ability?!
    Steve> Tapes is great for backup and archiving, but its not what i am really looking for, it has the same problem i have with Time Machine, time machine wont backup a file copied to the server and accidentally deleted within an hour, so Tapes, wont backup a file copied and deleted within a day..
    WelshDog2> just a question: if i dont have any partition on my XRAID, how can i make it backup its self on its own HD's?! is this possible?! it wont solve my problem but its good to know if this can be done..
    Thank you all guys for your replies, i really appreciate it..

  • Files wrongfully 'saving over' other files

    Hi there,
    I was hoping someone could help me with a problem I am having that only seems to be happening more often now.
    Occasionally when I save a photoshop document as a pdf, if will save over another file.
    For example, I made a photoshop document and saved it titled "anzacdaypoppies.psd" and then I made a .pdf version of this and saved it to my desktop.
    A few days later I made another document and saved it titled "Travellogcover.psd". This I did not make into a .pdf.
    But I have now noticed that the "travellogcover.psd" is not able to be found on my computer, but when I open the "anzacdaypoppies.pdf" it is now a .pdf of my "travellogcover". This is the first time I seem to have completely lost a .psd file and it has 'saved over' ?? a .pdf.
    Usually, my issue is a .pdf saving over another .pdf. As an example I had one .pdf saved and titled "adventcards" and then I created a new photoshop document, saved it as a .psd, and then printed to .pdf and saved as "menuplan". When opening "adventcards" I get the "meuplan" but not vice versa, so "adventcards.pdf" has been completely 'saved over' and it's lucky I still have the .psd so I don't have to re-do all the work.
    However yesterday after noticing the 'saving over' of the anzacdaypoppies.pdf with a photoshop document and now that photoshop document is now gone I am worried I won't always be able to rely on the photoshop document being safe.
    I am really sorry - I know I'm not explaining it very well but I have no idea what is happening here. I've looked for answers online but I'm not finding anything.
    Anyone understand what I'm talking about? Is there something simple I'm missing to stop this from happening?
    Any advice would be greatly appreciated.
    Thank you!

    I repeat that under 10.7.x, cmd + S upon a document which was already stored on disk isn't dedicated to save something in the file.
    It save datas in the hidden folder dedicated to Versions, the feature allowing us to navigate in different states of our documents.
    Yvan KOENIG (VALLAURIS, France) samedi 7 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2

  • All saved Wifi networks from iPhone showing up in Mac Pro Network Preferences

    Network Preferences > Wi-Fi > Advanced > Preferred Networks  (Remember networks this computer has joined is checked)
    However, this is a Mac Pro that I've only owned a few months and recently updated to Yosemite... it's never connected to any of those networks except for my one office Wi-Fi.  This list is showing every single Wi-Fi network I've ever used from my iPhone and iPod going back to 2009!
    Why is my Mac Pro showing all networks that only my iPhone has joined?
    How did old Wi-Fi networks from my iPhone get into the "Preferred Networks" list of my desktop Mac?  Bluetooth, iTunes sync, iCloud, Keychain, etc?
    Is this a feature or a bug?  If it's a bug, I'll use my Apple Developer account to report it.  If it's a feature, please explain the mechanism that saved the networks from the iPhone over to my Mac Pro in the first place and how do I use/control it?   i.e., if I delete these "remembered" networks from Network Preferences on the Mac Pro, will the same saved networks also be removed from my iPhone?  Ironically, these "remembered" networks cannot even be viewed from the iPhone Settings.

    Because both are signed into iCloud Keychain with the same Apple ID.
    Yes, thank-you for confirming my suspicions.   However...
    - Can you tell me exactly where this feature is documented with detail?
    - How it can be controlled or disabled for this device?  I don't see this in my iCloud or Keychain options, and since my Mac Pro will not be traveling, it's really pointless to have all these various remote Wi-Fi networks listed (pointless for me, although I can see it as a handy tool for multiple iOS devices and/or a MacBook).
    - Most importantly, if I delete them from my Mac Pro, will they also get removed from iCloud?  I want them to remain in iCloud and on my iPhone.

  • Running a java program over network

    Hi,
    How a java program on a machine can be run without having JRE on the same machine, rather interpreting bytecode over network having JRE on another machine?

    Rahul.Kumar wrote:
    well, so my java program is running on x. Initialy X had JRE and on invoking java program from command prompt, it had looked for JRE at path, set in environmental settings. Now I moved JRE to another machine Y and connected these two machines (X and Y). You have two machines X and Y.
    "Connected" or not has nothing to do with this discussion.
    In X path is set to the JRE on Y. The path on X has absolutely nothing to do with anything on Y.
    Now execute java program on X, theoretically it should work or what is wrong with this?This makes no sense. Presuming you meant Y in the above then the following must be true.
    1. You must have a JRE on Y.
    2. You must have a java application on Y (or one accessible via the file system on Y.)
    3. You must be on Y and start the JRE passing the java application that is on Y to it.
    Notice in the above there is no mention of X. There can be no mention of X.

  • Accessing shared files over network

    I am having some problems with a couple of database files that I access with a Java program over network. Different computers running this program all need access to these files, and my question is if anyone know of a good way to make sure that only one user have access to these files at the time. There is no server software running were the files are stored, they are simply reached through file sharing. Currently I am creating a lock file indicating that someone is editing the files, however if I am unlucky 2 users create that lockfile at the same time and then both get access to the file corrupting it. Anyone experienced this and know of a nice solution to avoid it?

    I am having some problems with a couple of database
    files that I access with a Java program over network.
    Different computers running this program all need
    access to these files, and my question is if anyone
    know of a good way to make sure that only one user
    have access to these files at the time.Use a database server instead.

Maybe you are looking for