Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Java 'Bin' folder is emptied quite often

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java 'Bin' folder is emptied quite often

    Hi,

    I have observed a strange behavior in my system. whenever i installed jdk1.8.0_11, the issue is that, unknowingly the 'Bin' folder which is underneath 'C:\Program Files\Java\jdk1.8.0_11' is emptied. When and how it is emptied i wouldn't be knowing. I have to download the entire jdk every time in order to have Bin folder content every time.
    I am using my office laptop, Is that the problem? I mean office IT department have any control on this? If so , what can i do to over come this problem?

    Please help. Thanks.


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Java 'Bin' folder is emptied quite often

    We can only guess, since the behavior you describe is not typical, but I suggest that your corporate network policy is to remove "unauthorized" executables, emptying the /bin folder when connected to the company network. You can talk to the IT department, but I recommend you read the corporate policy first so you know what wriggle room there might be, if any.

  3. #3
    Junior Member
    Join Date
    Jul 2014
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java 'Bin' folder is emptied quite often

    I agree with you. I think we shouldnt be doing anything about this as it is a corporate policy.My another question is that, can we really install JDK as well as JRE into my D drive instead of C drive? Can we add a environment variable having D drive path. However i tried from my end, it really didnt work though. Any advise on how to install into D drive?

  4. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Java 'Bin' folder is emptied quite often

    However i tried from my end, it really didnt work though.
    Are you still talking about your work machine? We can't tell you what you can or can't do with that computer.

    In general, the JRE or SDK doesn't care where it has been placed. Programs that need to know where those files are often look to environment variables, and some OSes even allow the environment to be modified for each user when they log on.

  5. #5
    Junior Member
    Join Date
    Jul 2014
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java 'Bin' folder is emptied quite often

    Got it! Anyway i will try to install into D drive and try one more time and see how it goes. Thanks very much for your inputs.

Similar Threads

  1. Copy the folder with Java
    By teymoorei in forum Java Theory & Questions
    Replies: 3
    Last Post: June 17th, 2013, 10:03 AM
  2. Algo for number systems (bin,hex,oct)
    By danskieness in forum Algorithms & Recursion
    Replies: 2
    Last Post: April 7th, 2013, 09:27 PM
  3. [SOLVED] Bucket or Bin Sort
    By itispj in forum Java Theory & Questions
    Replies: 1
    Last Post: October 15th, 2011, 06:14 PM
  4. Placing files in jre bin...
    By sulaiman2043 in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: November 29th, 2010, 03:55 AM