Results 1 to 8 of 8
  1. #1
    crunchybear is offline Member
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default How to run java classes?

    Hello everyone How can i run .class file in java?.Is there a tool/utilities in java that can run .class file?. Please help.thanks

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default Run Java ...

    You like:
    java myClass
    ?
    Sounds like you are very new to Java. I suggest reading the Java tutorials:
    Tutorials:
    The Java™ Tutorials
    Specific to getting started
    "Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Yes seems you don't know anything about Java. So start from the Suns' tutorial. That's the best place to start work on with Java.

  4. #4
    crunchybear is offline Member
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default

    yup i am new to java...thanks for the reply. what i mean is that is there any tool class or utilities class in java class library that can run/view .class file?. for example if i click a jbutton i can view a .class file.. Please help. thanks.

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    what do you mean "view" a class file? Also please note that cross-posting can frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The least you could do would be to provide links in both cross-posts to each other.

  6. #6
    crunchybear is offline Member
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default

    what i mean is running .class files.
    viewing the the output of a .class file after compilation.
    noted fubarable;
    sorry for cross post this to find the answer for my question. i deeply need help. Please help.Thanks.

  7. #7
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default

    No, you'll never find the answer to your question, considering that it was handed to you on a silver plate in the first response and you ignored it.

    I wish you luck -- you'll need lots of it.

    db

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Ya, people can be really frustrating when you cross-posting your question. So try to be clever more.

    Regarding your question, are you trying to find the source code of a class file? I don't think it's a good idea too.

    You have to do a lot pal.

Similar Threads

  1. abt java classes
    By colbay in forum New To Java
    Replies: 1
    Last Post: 07-11-2008, 04:12 PM
  2. which are the final classes in the java APi
    By vagarwal_mca in forum New To Java
    Replies: 2
    Last Post: 01-10-2008, 02:47 AM
  3. Calling jar classes from java executable
    By SteM in forum Advanced Java
    Replies: 1
    Last Post: 11-27-2007, 08:21 AM
  4. Running java classes with XML
    By ai_2007 in forum Advanced Java
    Replies: 1
    Last Post: 06-29-2007, 03:20 PM

Posting Permissions

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