Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8200483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:27:49+00:00 2026-06-07T06:27:49+00:00

Im having some trouble determining how to write files using a Java Web Start

  • 0

Im having some trouble determining how to write files using a Java Web Start program, I want to write files to the server describing files that have been uploaded to a cloud server. I also want to be sent data such as file names and paths from the client so that I can create a connection between the user and the cloud storage facility and send their files to it.

Currently when i try to run my Web Start Application it works fine and gives no errors, but simply will not write Files and Folders to the Server it resides on. For example, the following code does not work:

new File ("ArFile Clients\\File Data\\" 
        + user.getCompany().getName() + "\\" + user.getUsername()).mkdirs();

This directory is located on the server and it created to store data on users of the app. But during runtime it is simply ignored or not executed.

I am not using sockets or FTP or anything like that, the cloud server has its own custom library which I am using, I know for a fact that the issue must lie with how Java Web Start works, I just cant find any good examples involving creating files on the server machine and extracting data from a clients machine (just filesystem data like directories and files)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:27:51+00:00Added an answer on June 7, 2026 at 6:27 am

    I think some explanations of what webstart really is will be relevant here 🙂

    First of all, web start is something that runs on the client JVM.
    Yes, it uses jnlp file where you should specify urls of the dependent jars/other resources.
    All that web start does is reads this jnlp file (again on client side), parses, figures out the list of urls where the resources exist and donwloads them onto the client machine.
    Physically this is achieved by using javaws utility that one can find in

    %JDK_HOME%\bin
    folder.
    Just like ”java” gets as an input a series of class-files/jars and spawns a jvm, javaws gets a jnlp, reads it, brings resources and spawns a jvm 🙂
    There is some additional stuff, the web start can do (like auto updates) but this is a ‘core functionality’.

    Bottom line, if you do want to write some files on server, web start is a wrong way to go.

    Conceptually once your application gets loaded and you want to store files on server – create some kind of connection to the server machine from client and upload your files there. One way or another it can’t be done with Web Start 🙂

    I hope it helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im having some trouble reading xml files using jquery that containts swedish chars (åäö)
I'm having some trouble determining what's going on with simplexml_load_string() I'm using the below
I am having some trouble with Xcode not updating files that I have updated
I am having some trouble determining if two line segments are collinear because of
Basically having some trouble with using Hover to hide or show an item. The
I´m having some trouble retrieving a collection of strings in a projection: say that
I'm having trouble determining the best way to read some input in for a
Having some trouble using basic authentication with a simple test Wcf service. I am
having some trouble with my razor syntax gives a Parsor error saying that The
having some trouble with a Thread (CanvasThread) that is intermittently pausing at random points

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.