Forums Register Login

Cannot create stub

+Pie Number of slices to send: Send
G'day,

I'm having trouble creating my stubs. I don't have a problem creating them at home, but it doesn't seem to create them on my terminal at work.

The error message simply says that it could not find the class.
Any help will be good.


I'm using Java 1.5

Cheers, Don
+Pie Number of slices to send: Send
Can you give us more information about your directory structure, current working directory, and classpath setting, etc.?

Are you using the -classpath option to rmic?

Sorry, can only give vague suggestions to a vague question.
+Pie Number of slices to send: Send
Also, do you need to create stubs anymore? with the introduction of dynamic proxies, Java 5 will create them automatically if you don't do it, in the same way that it does with skeletons. The only issue being would letting it do so fall foul of the "no dynamic code downloading" rule?
+Pie Number of slices to send: Send
Hi Daniel,

Originally posted by Daniel Dalton:
Also, do you need to create stubs anymore? with the introduction of dynamic proxies, Java 5 will create them automatically if you don't do it, in the same way that it does with skeletons. The only issue being would letting it do so fall foul of the "no dynamic code downloading" rule?



I have had confirmation from Monica Green of Sun Education that you cannot require the use of dynamic generation of proxies. So you must still create the stubs.

Regards, Andrew
+Pie Number of slices to send: Send
Hey,

Sorry bout that, but I've got working now

Thanks anyway
Don
+Pie Number of slices to send: Send
Thanks Andrew - that's very useful to know and may save lots of heartache! It's a little surprising since it's a standard feature now in the same way as automatic generation of skeletons, but hey - who am I to question!

Thanks again,

Daniel.
Yup, yup, yup. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 841 times.
Similar Threads
How to draw Fan Graphs in Excel File using a ResultSet
ImageIcon performance
Huge JSF Froms
How Can I Create a Runnable JAR File in Eclipse, Including Java Source Code?
ObjectInputStream creating OutOfMemoryError
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:10:43.