Closed

simple java task

load pdf from jar file

the program is pdf reader ,,,

i want the pdf reader and the pdf file i want to read are in one file ,,, (jar) file ,,, i don't want the pdf alone and the jar file of the reader alone ,, so i want when i open the jar file ,,, it opens the reader file and the pdf file is loaded automatically ...the problem is it runs perfect when it is in netbeans ,, but when i create jar file ,,, it runs only the reader (without automatic loading ) the pdf ,,,, the whole project is here ...

there is something to be modified in this method

//================================================== ========================

public void doOpen(String name) {

URL url=getClass().getResource(name);

try {

URI uri=null;

uri=[url removed, login to view]();

File file =new File(uri);

openFile(file);}

catch (Exception ex) {}}

//================================================== ========================

Skills: Java

See more: string problem, simple java task, VOID, simple java project, problem in java, netbeans, java simple project, java problem, java netbeans, jar, automatic java, reader java, simple program netbeans java, simple java project netbeans, create java project, java create pdf, task open, netbeans java simple program, pdf java create, pdf netbeans project, java file read, create pdf url, Java string, openfile, simple method java

About the Employer:
( 0 reviews ) alex, India

Project ID: #1147542

29 freelancers are bidding on average $36 for this job

IMSeriousBidder

Hello, Please view your PM Thanks

$31 USD in 1 day
(104 Reviews)
7.3
procoder898

Hi, please check your inbox

$30 USD in 0 days
(89 Reviews)
6.2
ihsoftAFaisal

******* Hey I can fix this right away. Plz check PM. Thanks. ********

$30 USD in 0 days
(8 Reviews)
5.8
barundebnath

Yes I definitely can help you on that.

$30 USD in 1 day
(37 Reviews)
5.3
justj2ee

I am interested!

$30 USD in 0 days
(21 Reviews)
4.9
pbq

pls send the details.

$33 USD in 1 day
(9 Reviews)
4.6
javaguru75

let me do it. over 10 years of experience in java. with regards

$30 USD in 2 days
(10 Reviews)
4.4
xristos678

Hello [url removed, login to view] check PM for details.

$30 USD in 0 days
(5 Reviews)
3.4
elsa3ed

Please check PM

$30 USD in 0 days
(2 Reviews)
3.1
prologus

I'll be happy to help you with that

$30 USD in 0 days
(5 Reviews)
3.0
anuragmeet2day

Hello Already solved such problem Please check pm for more details

$30 USD in 1 day
(1 Review)
3.0
topcoder9793

Hi I can help you. Please check inbox. Thanks

$30 USD in 1 day
(4 Reviews)
2.9
NomanSadiq

HI i am senior java Software Engineer and interested in your [url removed, login to view] check your PMB.

$30 USD in 3 days
(1 Review)
2.1
pavan45

Hi Please check my PMB I will help you. I can fix this. Regards, Pavan

$30 USD in 1 day
(2 Reviews)
1.6
AlexeiBo

Hi! I'm ready to create your project. With regards, Alexei

$50 USD in 2 days
(1 Review)
1.1
Click2Dev

Hello, Java expert here. I can fix your problem in under one day.

$30 USD in 0 days
(0 Reviews)
0.0
ShubhabrataKarma

Ready to [url removed, login to view] for your reply.

$30 USD in 2 days
(0 Reviews)
0.0
Harpreet1234

i have a experienced team and have a full knowledge about this project.

$174 USD in 9 days
(0 Reviews)
0.0
njbalajee

try to set the classpath while executing your jar file or else the resource should be in the same folder as it is. thats al there is no other development to made in that

$30 USD in 0 days
(0 Reviews)
0.0
shreyharia

Its easy..!!

$30 USD in 1 day
(0 Reviews)
0.0