JavaRush /Java Blog /Random EN /Issues with starting servlets
timurnav
Level 21

Issues with starting servlets

Published in the Random EN group
Hello, dear friends, At the suggestion of one very good person, I decided to master servlets, for this I was advised to install a tomcat and lift the server from it. for those who are interested, here are links to good articles on tomcat: an article by one of our fellow soldiers, I highly recommend it is also not bad , and so, if something is not clear from the first two) set up tomcat, started writing a trial program "hello world!" (from the second link), I wrote everything, compiled the servlet, sorted it into the necessary folders in the tomcat directory, sent the request as indicated in the description, everything worked - a new tab opened with the text "Hello, World!"... BUT then they explained to me that such things need to be launched directly from the idea, but here I started having problems : Problems running servlets - 1 gist:
java.lang.UnsatisfiedLinkError: E:\TomCat\apache-tomcat-8.0.18\bin\tcnative-1.dll: Can't load IA 64-bit .dll on a AMD 64-bit platform
I have a 64-bit Win7 system, everything is also downloaded to a 64-bit system: idea, jdk, tomcat (it seems there is also a difference, I don’t remember something), in a word, I downloaded everything as it should .. googled about the processor and didn’t I understood what kind of architecture core 2 duo has, and judging by what is written in the error text, I have
AMD 64-bit platform
being completely bewildered, I googled a couple more times, here on this site they said that the processor is 32-bit .. I tried to write systeminfo through cmd, but I see the hands are crooked, they say the systeminfo command is not internal or external (and blah blah blah), here I sit and I think what the hell is this? I would be very grateful if someone could tell me what to do with this
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION