• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what wrong with my package decration ?

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi when i compile its fine , but gives error at runtime
code i use is
javac test5.java
java d.test5
please correct me if i m wrong ?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15205
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
naved momin wrote:but gives error at runtime

What is the error?
 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jesper de Jong wrote:
naved momin wrote:but gives error at runtime

What is the error?

problem solved !
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
naved momin wrote:problem solved !

how? please can you tell me?
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naved,

can you kindly post the resolutions too once you find one and not just say "Problem Solved!"?

http://www.coderanch.com/t/544817/java/java/java-code
 
Ove Lindström
Ranch Hand
Posts: 326
Android Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
He most likely found out that the directory structure must match the package structure...

Anyone that wants to place a bet against that? Vacation is coming up and I need the money. ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic