Results 1 to 3 of 3
  1. #1
    Glenn1990 is offline Member
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Default Cant run my programs anymore

    This is just a general java questions rather than a programming question so i'm hoping to get a quick answer. :).

    I used to run a few small programs that ran in java that helped me pack files such as textures and sounds into maps for counter strike source.

    However since I got windows 7 the file i would use to launch the packing tool shows up as a 'windows batch file'. When i load this file a dos screen flashes up and goes away and the program wont load.

    I've tried updating my java but it wont seem to load with java.

    Anyone know what i'm doing wrong?

    Thank you.

  2. #2
    Shoss's Avatar
    Shoss is offline Member
    Join Date
    Feb 2011
    Posts
    94
    Rep Power
    0

    Default

    I'd try running the batch file from the command line so it doesn't close when it crashes. Then if there are any errors reported you'd be able to read them and figure out whats going wrong.

  3. #3
    NRitH is offline Senior Member
    Join Date
    Feb 2011
    Posts
    118
    Rep Power
    0

    Default

    Open the batch file in a text editor, change the word 'java' to 'javaw,' and save it. This will cause Java to be launched in windowed mode.

    At least, that's what I think it does. I haven't tried it for years.

Similar Threads

  1. Writing a programs
    By smray7 in forum New To Java
    Replies: 7
    Last Post: 04-28-2011, 07:49 AM
  2. packaging programs for installation
    By buston01 in forum NetBeans
    Replies: 0
    Last Post: 01-25-2010, 12:07 PM
  3. repaint class doesnt work anymore... dunno why..
    By Addez in forum New To Java
    Replies: 9
    Last Post: 11-07-2009, 09:10 PM
  4. I need a simple programs
    By mikau in forum New To Java
    Replies: 2
    Last Post: 02-11-2008, 03:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •