Opening a .jar file

N

newguy

I'm new to using MA database and i'm using it for a class assignment and i
need to know if it's possible for access to open a .jar file by clicking on
one of the buttons of a switchboard, or if it's possible at all.
 
M

Maurice

First try explaining to me what a .jar file is (which app. does create .jar
files?).
Access has predefined settings to open files for importing. If you want to
start .jar files which are connected to some kind of app you'd have to start
the application yourself by using something like windows shell and type in
the startup line for the application followed by the switch to the .jar file

i think... ;-)
 
J

John W. Vinson

I'm new to using MA database and i'm using it for a class assignment and i
need to know if it's possible for access to open a .jar file by clicking on
one of the buttons of a switchboard, or if it's possible at all.

According to filext.com, .jar files are a nonstandard variant of the .arj file
compression program's compression algorithm. They disclaim any knowledge of a
program that can manipulate .jar files. Certainly Access cannot.
 
G

Guest

No.

And it sounds like you are going about it the wrong way :~) Access
can't use or understand Java at all. Maybe the idea was for a Java
program to use an Access database, rather than have Access use a Java
program?

(david)
 
N

newguy

thank you maurice your advice was helpful. I was able to successfully run the
JAR.exe, now my problem is getting Access to run the specific .jar file that
I have. Any ideas? Thanks again for the help
 
N

newguy

No I know what I'm trying to do but i don't know if its actually possible.
What the database is, is a database holding some historical information and
my partner has a history game he made using JAVA, so what we did was compress
those files into a .jar file and now I'm trying to get access to run the
..jar. Any suggestions? Thanks for your help.
 
J

John W. Vinson

thank you maurice your advice was helpful. I was able to successfully run the
JAR.exe, now my problem is getting Access to run the specific .jar file that
I have. Any ideas? Thanks again for the help

You can use the Dir() function - see the online help with the VBA editor open
- to find the file, and then the Shell() function to execute it.
 
L

Larry Linson

newguy said:
No I know what I'm trying to do but i don't know if its actually possible.
What the database is, is a database holding some historical information
and
my partner has a history game he made using JAVA, so what we did was
compress
those files into a .jar file and now I'm trying to get access to run the
.jar. Any suggestions? Thanks for your help.

It should be clear from previous posts that Access can't "run", can't even
"make sense of" a .jar file. On the other hand, it can't "run", can't even
"make sense of" a .zip file, either.

You need to use whatever software handles ".jar" to decompress, and put the
contents back into their original form, and find some intermediate file type
to which you can convert them and which Access can make some sense of.
You'll find that list if you go into an Access database (earlier than 2007),
File | GetExternalDate and look at the list of filetypes in the file dialog
that opens.

Larry Linson
Microsoft Office Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top