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

what wrong with my package decration ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

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 ?


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

naved momin wrote:but gives error at runtime

What is the error?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

Jesper de Jong wrote:
naved momin wrote:but gives error at runtime

What is the error?

problem solved !
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

naved momin wrote:problem solved !

how? please can you tell me?
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
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

Joined: Mar 10, 2008
Posts: 326

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. ;)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what wrong with my package decration ?
 
Similar Threads
overloaded methods with boxing strange behaviour
Let us start our discussion now On Langauge Fundamentals
cannot find symbol
assignment of final member variables
SOS: i have some questions about Thread