win32com.dll in Eclipse incompatible with 64 bit version. RXTX? - eclipse

I have a 64 Windows 7 computer, and I need to run win32com in order to create a connection between my computer and a microcontroller. However, I ran into the same problem as seen here:
Error with win32com.dll in Eclipse
My post on the thread above was deleted, so I'm asking the question here.
I tried downloading RXTX as tmwoods said, but I'm still having some issues. I think I misunderstand how to go installing RXTX.
I downloaded and placed the files tmwoods mentionned into my program file / java / lib (etc...) appropriately, but my Java program still needs to be referenced to the win32com.dll file, or else it won't compile. And that win32com.dll file is still in 32 bits, so Java still can't process it. (Another question I've been wondering: I also have a program File (x86) file in my Windows folder, and I noticed some RXTX downloads on the web offer a x86 version. Should I download that then?)
How can I get around this issue? Could someone please explain in more detail how to solve this problem? Thanks a bunch!
Samonac

In the end, I found the solution: I used jSSC instead of RXTX, and it worked fine.
Just google java-simple-serial-connector - jSSC - java serial port communication.
Hope this will come in handy if anyone in the future has the same problem I did.

Related

libsqlite3-0.dll was not found error when launching shp2pgsql-gui on Windows (PostGIS)

I recently installed PostgreSQL 13 on windows 10 and the PostGIS extension via the stack builder. However, when trying to launch the shp2pgsql-gui application to import a shapefile, I get a "libsqlite3-0.dll was not found" error. I can see the file under the bin folder, so I'm not sure where the problem is and googling did not help very much. I wonder what the problem may be because the installation seemed pretty straightforward to have done something wrong.
Copying the "libsqlite3-0.dll" file from \PostgreSQL\13\bin to PostgreSQL\13\bin\postgisgui and then running the shp2pgsql-gui application seemed to fix this issue for me.
This problem can occur for different reasons, but I recommend that you download that .dll from the following link (https://es.dll-files.com/libsqlite3-0.dll.html). Then replace the file in the installation folder.

Netbeans won't install on Windows 10

I'm trying to install Netbeans 8.2 Java EE, but whenever I start the installer it quits after configuring it. I am trying to install it on Windows 10 64-bit.
This is not going to make sense at all, but do you happen to have the "God Mode" item on your desktop? Take it off the desktop (delete it, move it somewhere else, whatever). I have no idea why, but it worked for me: I found the solution in this bug report - https://netbeans.org/bugzilla/show_bug.cgi?id=269988
I do hope this helps you, too.
This is an Java issue, which was came up due to recent windows 10 update, that started treated differently for GodMode folder/shortcut.
This has been already fixed - https://bugs.openjdk.java.net/browse/JDK-8179014
You can verify the fix in early access build of JDK8 update 152, which is available here
We have verified the issue only with GodMode, do let us k now if there are any other scenarios that can cause such similar issues.
I'm adding this because: I had a different issue which I was unable to find addressed anywhere, this question appears near the top of a web search for "NetBeans 8.2 ee won't install on Windows 10", and someone else may have the problem I had.
My NetBeans install was almost immediately crashing with the following error:
An unexpected exception happened in thread main
Exception: javax.xml.parsers.FactoryConfigurationError: Provider for
class javax.xml.parsers.DocumentBuilderFactory cannot be created
In my Windows 10 System Properties -> Environment Variables -> System Variables, I had a previously created _JAVA_OPTIONS variable values using -Xbootclasspath/a to append some jar files to the end of the bootstrap class path. These files are used with some work I'm doing with the Oracle BI Publisher plug-in for Microsoft Word.
As soon as I renamed the _JAVA_OPTIONS variable to something else, my NetBeans installation started normally and completed with no issues.
After NetBeans installation, I reset the name of this variable back to _JAVA_OPTIONS, and discovered that the values I have for this System Variable cause NetBeans launch to crash. (Which does not completely make sense to me since I am only appending these files/classes to the class path, and not overwriting.)
Regardless, I'll have to go back to the drawing board for my work with the BI Publisher plug-in; but at least I can use NetBeans now!
Uninstall any Java installations along with NetBeans, and install Java with NetBeans (bundle) from the Oracle website.
I had the same issue, and then installed the bundle, works perfectly.

Error popping up while running Eclipse

i have downloaded scala-SDK-4.4.1-vfinal-2.11-win32.win32.x86_64 , also installed JDK 7 on my windows 8 64 bit laptop ,but i have a issue while running the eclipse as shown below, some one please help to resolve my issue, it would be really appreciated. I have browsed internet to get resolution for this ,none helped to resolve the issue, please help what i am missing here
There is lots of misinformation about this out there, including SO answers. The right way to specify to Eclipse what JVM you want it to run in is via eclipse.ini. Other options are less than ideal and/or susceptible to system changes breaking them.
Pay careful attention to the format of the ini file and the exact path it requires; it is very picky.

error while trying to run MapReduce job using eclipse Indigo

I am trying to run MapReduce jobs using hadoop-eclipse plugin with Eclipse Indigo, but I am getting the following error:
Error: failure to login
While looking for some help, I found there is a problem with Hadoop-0.20.203.0, so I tried Hadoop-0.20.205.0 as the issues are fixed in this version.
I am still facing the same problem. Am I missing something or making a mistake?
Sorry for my poor English, as your question has no more detail, I guess that you meet the same problme as me, if so, the following link resolved my problem, pls. pay attention to step "4".
http://hi.baidu.com/wangyucao1989/blog/item/279cef87c4b37c34c75cc315.html
Sorry for that is a page in Chinese. It said the problem is because the file hadoop-eclipse-plugin-0.20.203.0.jar lost 5 files "commons-configuration-1.6.jar , commons-httpclient-3.0.1.jar , commons-lang-2.4.jar , jackson-core-asl-1.0.1.jar 和 jackson-mapper-asl-1.0.1.jar ". You should:
Extract the "hadoop-eclipse-plugin-0.20.203.0.jar",
Add the 5 files into "hadoop-eclipse-plugin-0.20.203.0\lib" ,
Modify "hadoop-eclipse-plugin-0.20.203.0\META-INF\MANIFEST.MF" (modify the Bundle-ClassPath).
Re 'jar' the package and replace the old "hadoop-eclipse-plugin-0.20.203.0.jar".
The os the page referred is linux, my os is Win7.
good luck!
Instead of going for adding plugin u can just add the required libraries in eclipse and do your programming.
here is the list of library u will need. These files exists with the Apache hadoop distribution in lib folder.
hadoop-core-1.1.2.jar
log4j-1.2.15.jar
jackson-mapper-asl-1.8.8.jar
jackson-core-asl-1.8.8.jar
commons-logging-api-1.0.4.jar
commons-logging-1.1.1.jar
commons-lang-2.4.jar
commons-httpclient-3.0.1.jar
commons-configuration-1.6.jar

Netbeans 7: JVM Creation Failed, which settting to change in netbeans.conf (windows)?

I was having an issue with JVM Creation Failed when executing Netbeans in Windows, and after looking around i found 2 parameters that can fix the issue.
But i am unsure which to use, both fix the problem...
Can anyone tell me the difference and advise which i should be changing..
-J-Xmx512m
or
-J-XX:MaxPermSize=128m
Thanks in advance.
Not exactly answer to your question, but might help too:
If you are running for example Win 7 64bit and 32bit Java JDK, try to install 64bit JDK, it helps many people.
Another one solution, is to delete created temporary folders, which contain the file splash.PNG (in NB folder in Doc and Settings folder).
And maybe this can help too, close any opened PDFs in Adobe Reader (version 9 probably). I get this error more often while running the built app from NB IDE and running some PDF triggers this problem.