I wanted to import these packages from the internet though. I will be making my own site, and redirecting the imports to read: import http://www.site.com/java.util.*; etc.
Will this be possible?
Where do i download these packages seperately so i can host them on my website.
why? Lets say i have a program that compiles java. I do not want the user to have to download the class file, or i would like to implement a modded class file to better fit the dimensions of my program specifications.
This is what i'm looking at right now. i am running a modded java compiler that many other people use. For my code though i would like to implement a class file that i do not wan to be physically on the HD and using up valuable space.
For my code though i would like to implement a class file that i do not wan to be physically on the HD and using up valuable space.
Are you sure you mean HD? I was guessing this is some sort of mobile device with limited memory, but surely any HD will be able to store the required class files without any significant space implications? How small is this HD?
There is nothing so useless as doing efficiently that which should not be done at all...
P. Drucker
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
why? Lets say i have a program that compiles java. I do not want the user to have to download the class file, or i would like to implement a modded class file to better fit the dimensions of my program specifications.
This is what i'm looking at right now. i am running a modded java compiler that many other people use. For my code though i would like to implement a class file that i do not wan to be physically on the HD and using up valuable space.
This still doesn't make sense to me. Your final executable bytecode will have to have this class, so what you are saving is very minimal. maybe it was the example, but importing java.util.Something versus java.util.* will save you a lot more than by trying to reference an externally located class.
Bookmarks