File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes JRE problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JRE problem" Watch "JRE problem" New topic
Author

JRE problem

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

i have build my application using netbeans 7 and the final line says use
to start the app from command line
i did the same

what went wrong please explain ?


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
What have you set up as the path in NetBeans?
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

Campbell Ritchie wrote:What have you set up as the path in NetBeans?

resolved
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

I think it is better to tell how it is solved, so it will help others in the future.
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

Hussein Baghdadi wrote:I think it is better to tell how it is solved, so it will help others in the future.

actually the problem was the laptop was of my friend and he has 2 account one admin and one non admin
he told me to work on non admin area
but the java was available in admin area fine you can compile code and see a long list when You type javac but
you will notice the strange message of JVM.cfg or whatever when you run
java -version
so i guess it is always better to check
  • java -version
  • javac
  • classpath
  • before approaching any forums for help
    because problem like this will be 95% solved just looking at this 3 things
    hope this helps
    Serghei Mazurean
    Greenhorn

    Joined: Jul 14, 2009
    Posts: 10
    I had the same problem: I have a 64 bit Windows and when I typed "java -version" in CMD-Console i received the same Error message.
    Try to start a 64bit-cmd(C:\Windows\SysWOW64\cmd.exe) and you will see, it works there ;)


    With respect,
    Serghei Mazurean.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: JRE problem