We are aware of a JR issue with inner classes, and understanding how does your JRXML work might help in finding the best solution for the issue. Regards, Lucian. Joined: Jul 17 - am. Last seen: 5 days 17 hours ago.
Sure I can do that. The jrxml works without a problem, it is only when I compile from a jasperDesign that should create the jrxml file that I have a problem. Are you explicitly using the Enum class? Normally you would not. You just us the enum keyword. Do you have the target set to Sometimes it complains that it cannot find java. Thank you! Comment by Eitam January 23, am Reply. RSS feed for comments on this post. TrackBack URI. Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in:.
Email required Address never made public. Name required. Create a free website or blog at WordPress. So I think checking that will solve your problem. It's not the java file that is being ran but rather the. You will either need to specify the absolute path like user says or a relative path to your System. This should be the working directory or the directory you ran the java command from.
When you run a jar, your Main class itself becomes args[0] and your filename comes immediately after. I had the same issue: I could locate my file when provided the absolute path from eclipse because I was referring to the file as args[0]. Yet when I run the same from jar, it was trying to locate my main class - which is when I got the idea that I should be reading my file from args[1]. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. The system cannot find the file specified in java Ask Question.
0コメント