Results 1 to 2 of 2
  1. #1
    1101 is offline Member
    Join Date
    Feb 2013
    Posts
    1
    Rep Power
    0

    Angry j Type files can't compile. Please Help.

    So this only happens on my main PC at home. When ever I compile something that's .java it creates a .class file as it should. The problem is, for some reason my Windows (7) sets the "type" to "j". Because of that, when I try to run the
    java blahblah.class regardless if I put the .class or not, it says file cannot be found. Meanwhile the same files will run on my laptop without any modification and the "type" on my laptop is "CLASS" or something like that. Any ideas? Thanks.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,817
    Rep Power
    19

    Default Re: j Type files can't compile. Please Help.

    Can you show us the directory listing before compiling, then show the compilation command, and then the directory listing after compiling?

    Windows can't magically change the extension.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Compile Java API into transparent files
    By freesia09 in forum New To Java
    Replies: 2
    Last Post: 08-17-2012, 06:38 PM
  2. Replies: 1
    Last Post: 05-08-2012, 06:46 PM
  3. Compile two files together through NetBeans
    By atiprashant in forum New To Java
    Replies: 5
    Last Post: 05-21-2011, 08:48 AM
  4. How to compile multiple files in terminal / dos
    By DavidG24 in forum New To Java
    Replies: 8
    Last Post: 03-18-2011, 04:37 AM
  5. compile classes with no main type
    By jan2321 in forum Eclipse
    Replies: 2
    Last Post: 07-20-2009, 08:01 PM

Tags for this Thread

Posting Permissions

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