How can this jar file open pdf ??


 
Thread Tools Search this Thread
Top Forums Programming How can this jar file open pdf ??
# 8  
Old 12-05-2011
Well, I have the file, but I have no idea what to do with it. I see SEVERAL jars in there, as well as one executable file, and aren't about to run any of them since I have no idea what they are or what they're supposed to do.

So you're going to have to explain anyway.
# 9  
Old 12-05-2011
Well what happen when I open it is that there will be a PDF file open up and a java program open up and in te jar thers no PDF in there how did it or where did the PDF came from ?
# 10  
Old 12-06-2011
It could create a pdf file in a temporary folder and tell windows to open it, perhaps. It wouldn't have to generate the PDF, it could have it in an archive somewhere.
# 11  
Old 12-06-2011
NO i extracted the jar file out, and search for the pdf, and it won't find anything I tried that already.
# 12  
Old 12-07-2011
Quote:
Originally Posted by tonyduong15
Well what happen when I open it is that there will be a PDF file open up and a java program open up and in te jar thers no PDF in there how did it or where did the PDF came from ?
When you double-click on the executable jar file, it creates a subdirectory called "CS170-PQ" in your current directory. This subdirectory has, amongst other files, a pdf file called "instructions.pdf". This is the pdf file that is launched initially.

As to where this subdirectory and pdf file are coming from, it appears that they are created, on the fly, by one or more of the Java class files.

tyler_durden
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Getting the version from jar file

Hi, I am trying to retrieve the "Implementation version" from one of the .jar file The command which tried is as below. find /usr/local/platform -name "platform.jar" -exec zipgrep "Implementation-Version:" '{}' \;|awk -F ': ' '{print $2}'I am able to get the version as below 2.9.0-29But... (2 Replies)
Discussion started by: nextStep
2 Replies

2. Programming

Altering a jar file

I have a script I am trying to test and run but it runs against a jar file. I wrote an external property file so it would redirect with my script, but it keeps going in search of the previous property file. Is there any way to externally over write the jar file and if not how do you go about... (7 Replies)
Discussion started by: risarose87
7 Replies

3. Shell Programming and Scripting

Want to write all the jar name in single with delimiter ":" in beween the jar name

Hi All, I am having 7 jar files in a dir. abc like listed below bash-3.00$ cd abc bash-3.00$ ls 123.jar 23wdawd.jar dfsa23.jar dsa.jar wew234.jar adsd234234.jar dfsda423.jarNow i want to assign all this jar files to a variable in the below format ... (6 Replies)
Discussion started by: natraj005
6 Replies

4. Programming

Linux C - how to open a pdf file with default reader

sorry if i repost this... hi.. i want to ask how to open pdf files using C in Linux in Windows, i just use this code: ShellExecute(GetDesktopWindow(), "open", "D:\\Folder\\File.pdf", NULL, NULL, SW_SHOWNORMAL); thanks for advance... (3 Replies)
Discussion started by: sunardo
3 Replies

5. Shell Programming and Scripting

How to open a pdf file from terminal?

how to open a .pdf file from terminal not using gpdf I work on fedora 12 and default application assigned for viewing the pdf files is document-viewer (3 Replies)
Discussion started by: rrd1986
3 Replies

6. Shell Programming and Scripting

calling jar file from ksh

Hi, I have a below command in ksh .... $JAVA_HOME/bin/java -cp "/usr/orabase/product/10.2.0/lib:/usr/java/javajar/common/sched.jar:/usr/orabase/product/10.2.0/jdbc/lib/ojdbc14_g.jar:/usr/orabase/product/10.2.0/jdbc/lib/classes12.jar" com.abrt.smart.Smart I want to know where the... (1 Reply)
Discussion started by: PRKS
1 Replies

7. UNIX for Dummies Questions & Answers

down in JAR file

Hello sir, I have created a jar file having some code in java.What it does is that it calls a shell code (a.sh) which is in the same directory. Now my requirement is that I want to jar the a.sh also along with the other files and want to call the a.sh which is now inside the jar file and not... (1 Reply)
Discussion started by: nsharath
1 Replies

8. Shell Programming and Scripting

Jar File Search!

Hi vgersh99, Iam sorry for that. In future, I will start new threads for different topics. Assuming that we don't know what the name of the jar file, we are searching for is, do we have any way, of finding a string or a file in it. Is there any Unix command for it? thanks. (2 Replies)
Discussion started by: pjanakir
2 Replies
Login or Register to Ask a Question