Suljettu

send email through Java on desktop machine and loop

I need some adjustments to my code. I am currently running the code from the command line. I am not using an IDE and I don't want to have to use an IDE or think about how to change code that you generate in an IDE to my environment so please only work in the command line.

[For example, this is how I am compiling:

cd C:\Users\Alex\Desktop\holder

C:\Users\Alex\Desktop\holder>javac -d ./bin -cp ./lib/[url removed, login to view] src/finance/google/[url removed, login to view]

C:\Users\Alex\Desktop\holder>

javac -d ./bin src/finance/google/[url removed, login to view]

javac -d ./bin -cp ./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./bin src/finance/google/[url removed, login to view]

javac -d ./bin -cp ./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./bin src/[url removed, login to view]

Execute:

java -cp ./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./lib/[url removed, login to view];./bin softWithLoop5

*/

]

I am trying to write a loop that will perform this code multiple times each time by obtaining a new keyword from the database table called tbl_locale. I cannot seem to get the loop to work myself. I am getting errors. Basically all I think needs to be done is query the db and get the ResultSet (I only need one field from the db) and create a List and then loop on that list. But since I am stupid I cannot get it to run.

It works if I set the array manually like this

String[] test = new String[]{"k1","k2"}

but not if I try to read into test from the db.

Here is what I tried and I am sure it is a small error:

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

String query = "SELECT keywordPhrase FROM tbl_locale";

ResultSet rs = [url removed, login to view](query);

while ([url removed, login to view]()) {

String str = [url removed, login to view]("keywordPhrase");

[url removed, login to view](str);

}

In the code there are three processes; train, test, and write to results to a db. These will all be in the same single loop.

Then I need to generate an email with a report on which processes worked and which did not. The email should be informative and helpful about the process and not just a terse email. It should provide details. The format of the email should be

Keyword1

Train results

Test results

Result page

Keyword2

Train results

Test results

Result page

Keyword3

Train results

Test results

Result page

etc.

Also I want for each keyword to write to 2 tables in the results step (the third of the process I mentioned above), one specifically for that keyword and one table for all the keywords together.

This is being run from my home machine so the email generation has to work from there.

I don't want to work with someone who is impatient and just wants to get paid quickly and disappear

Also, I get a notice that I would like to correct:

Note: src\[url removed, login to view] uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

To prove that you have read my entire project description please answer the following question when you bid, "Do you find that Freelancer's website is incredibly slow? I do and I was wondering if it is just me or not".

Taidot: Java, MySQL

Näytä lisää: java desktop send email, mysql send email java, send email mysql java, java loop email, freelancer java email project, java email loop, email java mysql, send mysql email java, java send email loop, google collect rc1 jar, write together get paid, write three wants, work home line, work home java, needs freelancer java, train work home, test answer freelancer, report someone freelancer, read find write, prove example test, project description freelancer, perform line, or desktop, line freelancer, need freelancer java project

About the Employer:
( 7 reviews ) nine, Japan

Projektin tunnus: #1727380

19 freelanceria on tarjonnut keskimäärin 41 $ tähän työhön

dobreiiita

No I don't find it slow, sometimes while loading profile it takes some time.

69 $ NZD 2 päivässä
(190 arvostelua)
6.5
olantran

let me help you.

50 $ NZD 0 päivässä
(48 arvostelua)
6.2
AshwinSen

Hello, Please view PMB. Ashwin

50 $ NZD 1 päivässä
(41 arvostelua)
5.7
csanuragjain

hi no i dont think its slow i can do this contact if interested

50 $ NZD 3 päivässä
(23 arvostelua)
5.2
Nzay

Good Day sir, I do not want to post the rest of the "Do you find that Freelancer's website is incredibly slow?..." because I love freelacer :) Please check PM Thank you

50 $ NZD 1 päivässä
(16 arvostelua)
4.6
diamond1027

Hi, I can do it perfectly. Best regards.

50 $ NZD 1 päivässä
(31 arvostelua)
4.6
wqassar

Hello, I can help you with finishing the codes.

30 $ NZD 2 päivässä
(6 arvostelua)
3.3
Specialists786

Freelancer is not slow at all. It's very good.

40 $ NZD 1 päivässä
(8 arvostelua)
2.9
BSHRSOFT

Yes, now a days freelancer site performance is slow. Please see PMB.

35 $ NZD 1 päivässä
(3 arvostelua)
2.6
larryellison

You will be glad to see ur pmb.

45 $ NZD 5 päivässä
(1 arvostelu)
1.0
Deroude

About the project: it should be a half hour thing. It will likely be a two hour thing if you want to work on it further and develop it. Are you into AI / neural networks? PS. Freelancer is slow. Very slow. Just anot Lisää

40 $ NZD 1 päivässä
(0 arvostelua)
0.0
SouravNandy

Hi, 'Do you find that Freelancer's website is incredibly slow? I do and I was wondering if it is just me or not'.... I am a java expert and will be able to solve your problem. Please check your private mailbox.

30 $ NZD 1 päivässä
(0 arvostelua)
0.0
pravinrasal

Hi , We are ' GROWING-FLOWERS ' - group of developers.... WE ARE A GROUP OF DEVELOPERS , WORKING ON DIFFERENT TECHNOLOGIES LIKE JAVA,JSP,SERVLETS,SPRING,STRUTS,PHP,.NET,ETC. ALSO USED DIFFERENT DATABASE TECHNOLOGIE Lisää

35 $ NZD 7 päivässä
(0 arvostelua)
0.0
ruelrule

I've been using java in developing desktop applications for three years. We can discuss more on the details to make sure that we have the same problem that is to be solved.

35 $ NZD 15 päivässä
(0 arvostelua)
0.0
joemie92

I've been developing for about 5 years. I've done plenty of Java and can Integrate with databases using SQL. I will be able to work on this tonight and tomorrow depending on what you want.

45 $ NZD 2 päivässä
(0 arvostelua)
0.0
TariqueHabib

I can do it for you. Which email smtp server you want to use for Notification? Do you find that Freelancer's website is incredibly slow? I do and I was wondering if it is just me or not.

30 $ NZD 2 päivässä
(0 arvostelua)
0.0
DS93h6uVK

Custom software development - <b><i>Removed by Admin</i></b>

50 $ NZD 1 päivässä
(0 arvostelua)
0.0
ETNASoftware

Hello, I have couple of guys who would be perfect fit with significant experience in development of financial software. Some examples of our work: etnasoft.com/showcase We would be glad to help you with this Lisää

30 $ NZD 1 päivässä
(0 arvostelua)
0.0
venukalla

we are experts in Java,MySQL and we are ready to take up this project.

30 $ NZD 7 päivässä
(0 arvostelua)
0.0
freelancers20

Hi, Java experts here. Please check you pm for details. Thanks Freelancers20

40 $ NZD 2 päivässä
(0 arvostelua)
0.0