Search:

Type: Posts; User: Java Programmer

Search: Search took 0.09 seconds.

  1. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    everthing was correct i did it 5 times and changes cd
  2. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    #6
    "Unable to access jarfile MessageBoxCreator.jar "
    Was My Error..
  3. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    No In Post #11


    Microsoft Windows XP [Version 5.1.2600]

    D:\JavaDevelopment\Testing\ForumQuestions7>java -jar asdfasdf.jar
    Unable to access jarfile asdfasdf.jar
    ...
  4. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    i no longer have the error?
    not to disrespect you but i did already just without everything, like the same exact example you posted
  5. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Ive Check My Spelling and nothing is misspelled.
    I Do Not Understand What this means, ive made the jar file 5 times and i kept getting the same thing!! D:
  6. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    This happend a month before when i exported it from eclipse?
  7. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Yes:

    Manifest-Version: 1.0
    Created-By: 1.7.0_02 (Oracle Corporation)
    Main-Class: MessageBoxCreator
  8. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Manifest:
    mainClass.txt
    Main-Class: MessageBoxCreator


    Command Line:
    jar cfmv MessageBoxCreator.jar mainClass.txt MessageBoxCreator.class MainClass.class MainClass$1.class
  9. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    ?

    So they need the classpath or they do not need the classpath
  10. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    im using jdk?

    My first Path:
    PATH
    C:\Program Files\Java\jdk1.7.0_02\bin
  11. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    So Confused: I have
    JDK
    Jre6
    Jre7
  12. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Only thing ive personal added was java api in my jdk.
  13. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    So Users need the path and not the classpath?
  14. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    User:
    PATH - C:\Program Files\Java\jdk1.7.0_02\bin

    System:
    CLASSPATH - C:\Program Files\Java\jdk1.7.0_02\bin

    I want to release programs but i dont think people will be to happy if they have...
  15. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    I changed the Environmental variables on my other computer and it worked.
    while downloading jdk i did the same on my laptop and then it worked.
  16. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    I got the program to work, but when i got it to work i download jdk then it worked?
  17. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Do you need jdk to run jar files in general?
  18. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Yes. That is where the code came from, From CMD
    java -jar MessageBoxCreator.jar
  19. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Yes 90% when i do i google search there are 10+ pages with no one able to answer the question.
  20. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    Unable to access jarfile MessageBoxCreator.jar
  21. Replies
    42
    Views
    8,777

    [SOLVED] Re: Jar file only Works on my computer?

    That didnt help, im doing it correctly, ive looked it up and 90% of people that are making java applications into jar files get the same error when transfecting the application throughout other users.
  22. Replies
    42
    Views
    8,777

    [SOLVED] Jar file only Works on my computer?

    i made a jar file using only notepad, a compiler and jdk to make it into a jar
    it runs on my computer but it dosent run on my laptop? says it cannot find main class?
Results 1 to 22 of 22