• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JRE problem

 
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ?
 
Marshal
Posts: 79177
377
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What have you set up as the path in NetBeans?
 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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


resolved
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it is better to tell how it is solved, so it will help others in the future.
 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Likes 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
     
    Greenhorn
    Posts: 10
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    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 ;)
     
    reply
      Bookmark Topic Watch Topic
    • New Topic