Java Java program to communicate with a USB port

  • Thread starter Thread starter AshyB00
  • Start date Start date
  • Tags Tags
    Java Program Usb
Click For Summary
To write a Java program that interacts with a USB communications port, the javax-usb-r1 package needs to be properly placed in your project. The discussion emphasizes the importance of correctly installing jar files for Java applications. A suggested resource for guidance on file and directory management in Java is provided, which can help clarify where to place the downloaded package for successful integration into the program.
AshyB00
Messages
1
Reaction score
0
Hi,

I want to write a java program to get information from a USB communications port. I have downloaded the javax-usb-r1 package but I don't know where I should place this folder / package.

Can anyone give some advice?

Thanks
 
Technology news on Phys.org
AshyB00 said:
Hi,

I want to write a java program to get information from a USB communications port. I have downloaded the javax-usb-r1 package but I don't know where I should place this folder / package.

Can anyone give some advice?

Thanks

Hey AshyB00 and welcome to the forums.

Google is your friend ;)

For jar files:

http://leepoint.net/notes-java/background/13files_and_directories/86packages-installing.html
 
Last edited by a moderator:
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K